public abstract class AbstractMapConverter extends AbstractConverter
| Modifier | Constructor and Description |
|---|---|
|
AbstractMapConverter(Class type) |
protected |
AbstractMapConverter(Class type,
PropertyEditor keyEditor,
PropertyEditor valueEditor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map |
createMap(Map map) |
protected Object |
toObjectImpl(String text)
Treats the text value of this property as an input stream that
is converted into a Property bundle.
|
protected String |
toStringImpl(Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toStringaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditorpublic AbstractMapConverter(Class type)
protected AbstractMapConverter(Class type, PropertyEditor keyEditor, PropertyEditor valueEditor)
protected final Object toObjectImpl(String text)
toObjectImpl in class AbstractConvertertext - the text to convertPropertyEditorException - An error occurred creating the Properties object.protected final String toStringImpl(Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typeCopyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.