ognl
Class ASTChain

java.lang.Object
ognl.SimpleNode
ognl.ASTChain
- All Implemented Interfaces:
- Node, java.io.Serializable
- class ASTChain
- extends SimpleNode
| Methods inherited from class ognl.SimpleNode |
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getIndexInParent, getNextSibling, getValue, isConstant, isNodeConstant, isNodeSimpleProperty, isSimpleProperty, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString |
ASTChain
public ASTChain(int id)
ASTChain
public ASTChain(OgnlParser p,
int id)
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
getValueBody
protected java.lang.Object getValueBody(OgnlContext context,
java.lang.Object source)
throws OgnlException
- Description copied from class:
SimpleNode
- Subclasses implement this method to do the actual work of extracting the
appropriate value from the source object.
- Specified by:
getValueBody in class SimpleNode
setValueBody
protected void setValueBody(OgnlContext context,
java.lang.Object target,
java.lang.Object value)
throws OgnlException
- Description copied from class:
SimpleNode
- Subclasses implement this method to do the actual work of setting the
appropriate value in the target object. The default implementation
throws an
InappropriateExpressionException, meaning that it
cannot be a set expression.
- Overrides:
setValueBody in class SimpleNode
isSimpleNavigationChain
public boolean isSimpleNavigationChain(OgnlContext context)
throws OgnlException
- Overrides:
isSimpleNavigationChain in class SimpleNode
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
- Overrides:
toString in class SimpleNode