org.apache.xbean.propertyeditor
Class URLEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.xbean.propertyeditor.AbstractConverter
org.apache.xbean.propertyeditor.URLEditor
- All Implemented Interfaces:
- PropertyEditor, Converter
public class URLEditor
- extends AbstractConverter
A property editor for URL typed properties.
- Version:
- $Rev: 6680 $
Method Summary |
protected Object |
toObjectImpl(String text)
Convert the text value of the property into a URL object instance. |
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 |
URLEditor
public URLEditor()
toObjectImpl
protected Object toObjectImpl(String text)
- Convert the text value of the property into a URL object instance.
- Specified by:
toObjectImpl
in class AbstractConverter
- Parameters:
text
- the text to convert
- Returns:
- a URL object constructed from the property text value.
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.