public interface Node extends JavaSource
| Modifier and Type | Method and Description |
|---|---|
ExpressionAccessor |
getAccessor()
Gets the compiled bytecode enhanced expression accessor for getting/setting values.
|
Object |
getValue(OgnlContext context,
Object source)
Extracts the value from the given source object that is appropriate for this node
within the given context.
|
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's
list of children.
|
void |
jjtClose()
This method is called after all the child nodes have been
added.
|
Node |
jjtGetChild(int i)
This method returns a child node.
|
int |
jjtGetNumChildren()
Return the number of children the node has.
|
Node |
jjtGetParent() |
void |
jjtOpen()
This method is called after the node has been made the current
node.
|
void |
jjtSetParent(Node n)
This pair of methods are used to inform the node of its
parent.
|
void |
setAccessor(ExpressionAccessor accessor)
Sets a new compiled accessor for this node expression.
|
void |
setValue(OgnlContext context,
Object target,
Object value)
Sets the given value in the given target as appropriate for this node within the
given context.
|
toGetSourceString, toSetSourceStringvoid jjtOpen()
void jjtClose()
void jjtSetParent(Node n)
Node jjtGetParent()
void jjtAddChild(Node n, int i)
Node jjtGetChild(int i)
int jjtGetNumChildren()
Object getValue(OgnlContext context, Object source) throws OgnlException
OgnlExceptionvoid setValue(OgnlContext context, Object target, Object value) throws OgnlException
OgnlExceptionExpressionAccessor getAccessor()
void setAccessor(ExpressionAccessor accessor)
accessor - The compiled representation of this node.Copyright © 1997–2018 OpenSymphony. All rights reserved.