public class CollectionEditor extends AbstractPropertyEditor
PropertyEditor
which converts a String
into
a Collection
and vice versa.Constructor and Description |
---|
CollectionEditor(java.lang.Class<?> elementType) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
defaultElement() |
protected java.util.Collection<java.lang.Object> |
newCollection() |
protected java.lang.String |
toText(java.lang.Object value) |
protected java.lang.Object |
toValue(java.lang.String text) |
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValue
protected final java.lang.String toText(java.lang.Object value)
toText
in class AbstractPropertyEditor
protected final java.lang.Object toValue(java.lang.String text) throws java.lang.IllegalArgumentException
toValue
in class AbstractPropertyEditor
java.lang.IllegalArgumentException
protected java.util.Collection<java.lang.Object> newCollection()
protected java.lang.Object defaultElement()
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.