|
|||||||||||
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.ASTReference
reference - any variable expression
Field Summary | |
(package private) SimpleNode |
root
|
Fields inherited from class org.apache.commons.jexl.parser.SimpleNode |
children, id, parent, parser |
Constructor Summary | |
ASTReference(int id)
|
|
ASTReference(Parser p,
int id)
|
Method Summary | |
java.lang.Object |
execute(java.lang.Object obj,
JexlContext jc)
Used to let a node calcuate it's value.. |
private java.lang.String |
getIdentifierToDepth(int i)
This method returns a variable from this identifier and it's children. |
java.lang.String |
getRootString()
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
void |
jjtClose()
This method is called after all the child nodes have been added. |
java.lang.Object |
value(JexlContext jc)
Returns the value of the node. |
Methods inherited from class org.apache.commons.jexl.parser.SimpleNode |
childrenAccept, dump, interpret, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
SimpleNode root
Constructor Detail |
public ASTReference(int id)
public ASTReference(Parser p, int id)
Method Detail |
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public java.lang.Object value(JexlContext jc) throws java.lang.Exception
SimpleNode
value
in class SimpleNode
java.lang.Exception
public void jjtClose()
Node
jjtClose
in interface Node
jjtClose
in class SimpleNode
public java.lang.Object execute(java.lang.Object obj, JexlContext jc) throws java.lang.Exception
SimpleNode
execute
in class SimpleNode
java.lang.Exception
private java.lang.String getIdentifierToDepth(int i)
i
- the depth of the child nodes to go to
public java.lang.String getRootString() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |