|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
org.apache.xbean.propertyeditor.AbstractConverter
org.apache.xbean.propertyeditor.AbstractCollectionConverter
public abstract class AbstractCollectionConverter
Constructor Summary | |
---|---|
AbstractCollectionConverter(java.lang.Class type)
|
|
AbstractCollectionConverter(java.lang.Class type,
java.beans.PropertyEditor editor)
|
Method Summary | |
---|---|
protected abstract java.lang.Object |
createCollection(java.util.List list)
|
protected java.lang.Object |
toObjectImpl(java.lang.String text)
Converts the supplied text in to an instance of the editor type. |
protected java.lang.String |
toStringImpl(java.lang.Object value)
Converts the supplied object to text. |
Methods inherited from class org.apache.xbean.propertyeditor.AbstractConverter |
---|
getAsText, getType, getValue, setAsText, setValue, toObject, toString |
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 |
---|
public AbstractCollectionConverter(java.lang.Class type)
public AbstractCollectionConverter(java.lang.Class type, java.beans.PropertyEditor editor)
Method Detail |
---|
protected final java.lang.Object toObjectImpl(java.lang.String text)
AbstractConverter
toObjectImpl
in class AbstractConverter
text
- the text to convert
protected abstract java.lang.Object createCollection(java.util.List list)
protected final java.lang.String toStringImpl(java.lang.Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |