Class MapEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.mina.integration.beans.AbstractPropertyEditor
org.apache.mina.integration.beans.MapEditor
- All Implemented Interfaces:
PropertyEditor
- Direct Known Subclasses:
PropertiesEditor
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate PropertyEditorprivate PropertyEditornewMap()protected final StringReturns a String representation of the given valueprotected final ObjectReturns an instance from a String representation of an objectMethods inherited from class org.apache.mina.integration.beans.AbstractPropertyEditor
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValueMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
-
Field Details
-
ELEMENT
-
keyType
-
valueType
-
NO_VALUE
- See Also:
-
NO_KEY
- See Also:
-
-
Constructor Details
-
MapEditor
Creates a new DateEditor instance- Parameters:
keyType- The key typevalueType- The value type
-
-
Method Details
-
getKeyEditor
-
getValueEditor
-
toText
Description copied from class:AbstractPropertyEditorReturns a String representation of the given value- Specified by:
toTextin classAbstractPropertyEditor- Parameters:
value- The value- Returns:
- A String representation of the value
-
toValue
Description copied from class:AbstractPropertyEditorReturns an instance from a String representation of an object- Specified by:
toValuein classAbstractPropertyEditor- Parameters:
text- The String representation to convert- Returns:
- A instance of an object
-
newMap
-