| java.lang.Object org.apache.beehive.netui.script.el.tokens.ExpressionToken
All known Subclasses: org.apache.beehive.netui.script.el.tokens.IdentifierToken, org.apache.beehive.netui.script.el.tokens.ArrayIndexToken, org.apache.beehive.netui.script.el.tokens.MapKeyToken, org.apache.beehive.netui.script.el.tokens.ContextToken,
ExpressionToken | abstract public class ExpressionToken (Code) | | |
Method Summary | |
final protected Object | arrayLookup(Object array, int index) | final protected void | arrayUpdate(Object array, int index, Object value) | final protected Object | beanLookup(Object value, Object propertyName) | final protected void | beanUpdate(Object bean, Object identifier, Object value) Update a JavaBean property named identifier with the given value . | abstract public String | getTokenString() | final protected Object | listLookup(List list, int index) Get the value in a
List at index . | final protected void | listUpdate(List list, int index, Object value) Update a
List with the Object value at index . | final protected Object | mapLookup(Map map, Object key) Lookup the key in the map . | final protected void | mapUpdate(Map map, Object key, Object value) | final protected int | parseIndex(String indexString) Attempt to convert a String indexString into an integer index. | abstract public Object | read(Object object) | abstract public void | write(Object object, Object value) |
arrayLookup | final protected Object arrayLookup(Object array, int index)(Code) | | Get the value from array at index
Parameters: array - the array Parameters: index - the index the value returned from Array.get(array, index) |
beanLookup | final protected Object beanLookup(Object value, Object propertyName)(Code) | | Get a JavaBean property from the given value
Parameters: value - the JavaBean Parameters: propertyName - the property name the value of the property from the object value |
beanUpdate | final protected void beanUpdate(Object bean, Object identifier, Object value)(Code) | | Update a JavaBean property named identifier with the given value .
Parameters: bean - the JavaBean Parameters: identifier - the property name Parameters: value - the new value |
listLookup | final protected Object listLookup(List list, int index)(Code) | | Get the value in a
List at index .
Parameters: list - the List Parameters: index - the index the value returned from list.get(index) |
listUpdate | final protected void listUpdate(List list, int index, Object value)(Code) | | Update a
List with the Object value at index .
Parameters: list - the List Parameters: index - the index Parameters: value - the new value |
mapLookup | final protected Object mapLookup(Map map, Object key)(Code) | | Lookup the key in the map .
Parameters: map - the map Parameters: key - the key the value found at map.get(key) or null if no value was found |
mapUpdate | final protected void mapUpdate(Map map, Object key, Object value)(Code) | | Update the value of key in map
Parameters: map - the map Parameters: key - the key Parameters: value - the value |
parseIndex | final protected int parseIndex(String indexString)(Code) | | Attempt to convert a String indexString into an integer index.
Parameters: indexString - the index string the converted integer |
|
|