public class ListUIResourceHandler extends ArrayUIResourceHandler
ARRAY_END, ARRAY_START, ELEMENT_SEPARATOR, elementHandler, MARKER, MARKER_STRING
Constructor and Description |
---|
ListUIResourceHandler(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.
|
protected java.lang.Object |
toValue(java.lang.String text)
Convert a textual representation of a value to a value.
|
getHandledClass, split
getID, getValue, setValue
public ListUIResourceHandler(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 ArrayUIResourceHandler
text
- textual representationnull
if the text cannot be convertedUIResourceHandler.fromValue(Object)
protected java.lang.String fromValue(java.lang.Object value)
fromValue
in class ArrayUIResourceHandler
value
- the UI valuetoValue(String)