|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl.parser.SimpleNode
org.apache.commons.jexl.parser.ASTMethod
public class ASTMethod
Method execution.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.jexl.parser.SimpleNode |
|---|
children, id, parent, parser |
| Constructor Summary | |
|---|---|
ASTMethod(int id)
Create the node given an id. |
|
ASTMethod(org.apache.commons.jexl.parser.Parser p,
int id)
Create a node with the given parser and id. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(java.lang.Object obj,
JexlContext jc)
evaluate a method invocation upon a base object. |
java.lang.Object |
jjtAccept(org.apache.commons.jexl.parser.ParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
| Methods inherited from class org.apache.commons.jexl.parser.SimpleNode |
|---|
childrenAccept, dump, getUberspect, interpret, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString, toString, value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTMethod(int id)
id - node id.
public ASTMethod(org.apache.commons.jexl.parser.Parser p,
int id)
p - a parser.id - node id.| Method Detail |
|---|
public java.lang.Object jjtAccept(org.apache.commons.jexl.parser.ParserVisitor visitor,
java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodevisitor - a ParserVisitor.data - data to be passed along to the visitor.
ParserVisitor.visit(org.apache.commons.jexl.parser.SimpleNode, java.lang.Object)
public java.lang.Object execute(java.lang.Object obj,
JexlContext jc)
throws java.lang.Exception
execute in class SimpleNodejc - the JexlContext to evaluate against.obj - The object to have the method invoked.
java.lang.Exception - on any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||