org.apache.commons.jexl.parser
public class ASTMethod extends SimpleNode
Constructor Summary | |
---|---|
ASTMethod(int id)
Create the node given an id.
| |
ASTMethod(Parser p, int id)
Create a node with the given parser and id.
|
Method Summary | |
---|---|
Object | execute(Object obj, JexlContext jc)
evaluate a method invocation upon a base object.
foo.bar(2)
|
Object | jjtAccept(ParserVisitor visitor, Object data) |
Parameters: id node id.
Parameters: p a parser. id node id.
Parameters: jc the JexlContext to evaluate against. obj The object to have the method invoked.
Returns: the value of the method invocation.
Throws: Exception on any error