org.apache.xbean.propertyeditor
Class ObjectNameEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.xbean.propertyeditor.AbstractConverter
          extended by org.apache.xbean.propertyeditor.ObjectNameEditor
All Implemented Interfaces:
PropertyEditor, Converter

public class ObjectNameEditor
extends AbstractConverter

A property editor for ObjectName.

Version:
$Rev: 6680 $ $Date: 2005-12-24T04:38:27.427468Z $

Constructor Summary
ObjectNameEditor()
           
 
Method Summary
protected  Object toObjectImpl(String text)
          Returns a ObjectName for the input object converted to a string.
 
Methods inherited from class org.apache.xbean.propertyeditor.AbstractConverter
getAsText, getType, getValue, setAsText, setValue, toObject, toString, toStringImpl
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
 

Constructor Detail

ObjectNameEditor

public ObjectNameEditor()
Method Detail

toObjectImpl

protected Object toObjectImpl(String text)
Returns a ObjectName for the input object converted to a string.

Specified by:
toObjectImpl in class AbstractConverter
Parameters:
text - the text to convert
Returns:
a ObjectName object
Throws:
PropertyEditorException - An MalformedObjectNameException occured.


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.