public class StringUIResourceHandler extends UIResourceHandler
Constructor and Description |
---|
StringUIResourceHandler(java.lang.String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getHandledClass()
Get the class handled by this resource handler.
|
protected java.lang.Object |
toValue(java.lang.String text)
Convert a textual representation of a value to a value.
|
fromValue, getID, getValue, setValue
public StringUIResourceHandler(java.lang.String id)
id
- ID of resourceprotected java.lang.Object toValue(java.lang.String text)
toValue
in class UIResourceHandler
text
- textual representationnull
if the text cannot be convertedUIResourceHandler.fromValue(Object)
public java.lang.Class<?> getHandledClass()
getHandledClass
in class UIResourceHandler