org.apache.geronimo.common.propertyeditor
Class ObjectNameEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
org.apache.geronimo.common.propertyeditor.ObjectNameEditor
- All Implemented Interfaces:
- PropertyEditor
public class ObjectNameEditor
- extends TextPropertyEditorSupport
A property editor for ObjectName
.
Method Summary |
Object |
getValue()
Returns a ObjectName for the input object converted to a string. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectNameEditor
public ObjectNameEditor()
getValue
public Object getValue()
- Returns a ObjectName for the input object converted to a string.
- Specified by:
getValue
in interface PropertyEditor
- Overrides:
getValue
in class PropertyEditorSupport
- Returns:
- a ObjectName object
- Throws:
PropertyEditorException
- An MalformedObjectNameException occured.
Copyright © 2006 Apache Software Foundation. All Rights Reserved.