JBoss Common Beans 1.1.0.Final-redhat-1

org.jboss.common.beans.property
Class ObjectNameEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.common.beans.property.PropertyEditorSupport<ObjectName>
          extended by org.jboss.common.beans.property.ObjectNameEditor
All Implemented Interfaces:
PropertyEditor

public class ObjectNameEditor
extends PropertyEditorSupport<ObjectName>

Author:
baranowb

Constructor Summary
ObjectNameEditor()
           
ObjectNameEditor(Object source)
           
 
Method Summary
 void setAsText(String text)
          Set the property value by parsing a given String.
 
Methods inherited from class org.jboss.common.beans.property.PropertyEditorSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getAsText, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValue
 
Methods inherited from class java.beans.PropertyEditorSupport
firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectNameEditor

public ObjectNameEditor()
Parameters:
type -

ObjectNameEditor

public ObjectNameEditor(Object source)
Parameters:
type -
source -
Method Detail

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Description copied from interface: PropertyEditor
Set the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.

Specified by:
setAsText in interface PropertyEditor
Specified by:
setAsText in class PropertyEditorSupport<ObjectName>
Parameters:
text - The string to be parsed.
Throws:
IllegalArgumentException

JBoss Common Beans 1.1.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.