java.beans.PropertyEditor, ConverterGenericMapConverter, HashMapEditor, HashtableEditor, IdentityHashMapEditor, LinkedHashMapEditor, MapEditor, PropertiesEditor, SortedMapEditor, TreeMapEditor, WeakHashMapEditorpublic abstract class AbstractMapConverter extends AbstractConverter
| Modifier | Constructor | Description |
|---|---|---|
|
AbstractMapConverter(java.lang.Class type) |
|
protected |
AbstractMapConverter(java.lang.Class type,
java.beans.PropertyEditor keyEditor,
java.beans.PropertyEditor valueEditor) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.util.Map |
createMap(java.util.Map map) |
|
protected java.lang.Object |
toObjectImpl(java.lang.String text) |
Treats the text value of this property as an input stream that
is converted into a Property bundle.
|
protected java.lang.String |
toStringImpl(java.lang.Object value) |
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AbstractMapConverter(java.lang.Class type)
protected AbstractMapConverter(java.lang.Class type,
java.beans.PropertyEditor keyEditor,
java.beans.PropertyEditor valueEditor)
protected final java.lang.Object toObjectImpl(java.lang.String text)
toObjectImpl in class AbstractConvertertext - the text to convertPropertyEditorException - An error occurred creating the Properties object.protected abstract java.util.Map createMap(java.util.Map map)
protected final java.lang.String toStringImpl(java.lang.Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typeCopyright © 2005–2018. All rights reserved.