| java.lang.Object org.apache.beehive.netui.script.Expression
All known Subclasses: org.apache.beehive.netui.script.el.ExpressionTerm,
Expression | abstract public class Expression (Code) | | This class implements support for an Expression object.
It provides access to metadata about the parsed expression
including the data binding context and tokens that constitute
the expression.
|
Method Summary | |
abstract public String | getContext() Get the expression's data binding context. | abstract public String | getExpression(int start) Return an expression that is created starting with the
token at the given index. | abstract public List | getTokens() Get the expression's token list. |
getContext | abstract public String getContext()(Code) | | Get the expression's data binding context.
the implicit object that this expression references |
getExpression | abstract public String getExpression(int start)(Code) | | Return an expression that is created starting with the
token at the given index.
Parameters: start - the token index at which to build the sub-expression a sub-expression starting with the token referenced by start throws: java.lang.IllegalStateException - if the provided start token is out of boundsgiven the number of tokens in the expression. |
getTokens | abstract public List getTokens()(Code) | | Get the expression's token list. For an expression that looks like
"actionForm.customer.name", this will include the tokens "actionForm",
"customer", and "name".
the list of tokens contained in the expression |
|
|