public class ArrayUIResourceHandler extends UIResourceHandler
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ARRAY_END |
protected static java.lang.String |
ARRAY_START |
protected static java.lang.String |
ELEMENT_SEPARATOR |
protected UIResourceHandler |
elementHandler |
protected static char |
MARKER |
protected static java.lang.String |
MARKER_STRING |
| Constructor and Description |
|---|
ArrayUIResourceHandler(java.lang.String id,
UIResourceHandler elementHandler)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
fromValue(java.lang.Object value)
Get the string representation of a value.
|
java.lang.Class<?> |
getHandledClass()
Get the class handled by this resource handler.
|
protected static java.util.List<java.lang.String> |
split(java.lang.String value) |
protected java.lang.Object |
toValue(java.lang.String text)
Convert a textual representation of a value to a value.
|
getID, getValue, setValueprotected static final char MARKER
protected static final java.lang.String MARKER_STRING
protected static final java.lang.String ARRAY_START
protected static final java.lang.String ARRAY_END
protected static final java.lang.String ELEMENT_SEPARATOR
protected final UIResourceHandler elementHandler
public ArrayUIResourceHandler(java.lang.String id,
UIResourceHandler elementHandler)
id - ID of resourceelementHandler - handler for the array elementsprotected java.lang.Object toValue(java.lang.String text)
toValue in class UIResourceHandlertext - textual representationnull if the text cannot be convertedUIResourceHandler.fromValue(Object)protected static java.util.List<java.lang.String> split(java.lang.String value)
protected java.lang.String fromValue(java.lang.Object value)
fromValue in class UIResourceHandlervalue - the UI valuetoValue(String)public java.lang.Class<?> getHandledClass()
getHandledClass in class UIResourceHandler