| java.lang.Object org.apache.beehive.netui.script.el.tokens.ExpressionToken org.apache.beehive.netui.script.el.tokens.IdentifierToken
IdentifierToken | public class IdentifierToken extends ExpressionToken (Code) | | General representation of an identifier in an expression. For example, in the expression
actionForm.foo.bar , both foo and bar are tokens of this
type.
|
Method Summary | |
public String | getTokenString() Get the String representation of this token. | public Object | read(Object object) Read the object represetned by this token from the given object. | public String | toString() | public void | write(Object object, Object value) Update the value represented by this token on the given object object with
the value value . |
IdentifierToken | public IdentifierToken(String identifier)(Code) | | |
getTokenString | public String getTokenString()(Code) | | Get the String representation of this token. Note, this assumes that the token was
preceeded with a ".".
the String representing this token |
read | public Object read(Object object)(Code) | | Read the object represetned by this token from the given object.
Parameters: object - the object from which to read the read object |
write | public void write(Object object, Object value)(Code) | | Update the value represented by this token on the given object object with
the value value .
Parameters: object - the object to update Parameters: value - the new value |
Methods inherited from org.apache.beehive.netui.script.el.tokens.ExpressionToken | final protected Object arrayLookup(Object array, int index)(Code)(Java Doc) final protected void arrayUpdate(Object array, int index, Object value)(Code)(Java Doc) final protected Object beanLookup(Object value, Object propertyName)(Code)(Java Doc) final protected void beanUpdate(Object bean, Object identifier, Object value)(Code)(Java Doc) abstract public String getTokenString()(Code)(Java Doc) final protected Object listLookup(List list, int index)(Code)(Java Doc) final protected void listUpdate(List list, int index, Object value)(Code)(Java Doc) final protected Object mapLookup(Map map, Object key)(Code)(Java Doc) final protected void mapUpdate(Map map, Object key, Object value)(Code)(Java Doc) final protected int parseIndex(String indexString)(Code)(Java Doc) abstract public Object read(Object object)(Code)(Java Doc) abstract public void write(Object object, Object value)(Code)(Java Doc)
|
|
|