org.apache.commons.jexl.parser
Class ASTReference
java.lang.Object
org.apache.commons.jexl.parser.SimpleNode
org.apache.commons.jexl.parser.ASTReference
- All Implemented Interfaces:
- Node
- public class ASTReference
- extends SimpleNode
reference - any variable expression
- Version:
- $Id: ASTReference.java,v 1.3 2004/02/28 13:45:20 yoavs Exp $
Methods inherited from class org.apache.commons.jexl.parser.SimpleNode |
childrenAccept, dump, interpret, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString, toString |
ASTReference
public ASTReference(int id)
ASTReference
public ASTReference(Parser p,
int id)
jjtAccept
public Object jjtAccept(ParserVisitor visitor,
Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
value
public Object value(JexlContext jc)
throws Exception
- Description copied from class:
SimpleNode
- Returns the value of the node.
- Overrides:
value
in class SimpleNode
- Throws:
Exception
jjtClose
public void jjtClose()
- Description copied from interface:
Node
- This method is called after all the child nodes have been
added.
- Specified by:
jjtClose
in interface Node
- Overrides:
jjtClose
in class SimpleNode
execute
public Object execute(Object obj,
JexlContext jc)
throws Exception
- Description copied from class:
SimpleNode
- Used to let a node calcuate it's value..
- Overrides:
execute
in class SimpleNode
- Throws:
Exception
getRootString
public String getRootString()
throws Exception
- Throws:
Exception
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.