Package | Description |
---|---|
org.apache.commons.ognl |
OGNL stands for Object-Graph Navigation Language; it is an expression language
for getting and setting properties of Java objects.
|
Modifier and Type | Field and Description |
---|---|
private Evaluation |
OgnlContext._currentEvaluation |
private Evaluation |
OgnlException._evaluation
The root evaluation of the expression when the exception was thrown
|
private Evaluation |
OgnlContext._lastEvaluation |
private Evaluation |
OgnlContext._rootEvaluation |
private Evaluation |
Evaluation.firstChild |
private Evaluation |
Evaluation.lastChild |
private Evaluation |
Evaluation.next |
private Evaluation |
Evaluation.parent |
private Evaluation |
Evaluation.previous |
Modifier and Type | Method and Description |
---|---|
Evaluation |
EvaluationPool.create(SimpleNode node,
java.lang.Object source)
Returns an Evaluation that contains the node, source and whether it
is a set operation.
|
Evaluation |
EvaluationPool.create(SimpleNode node,
java.lang.Object source,
boolean setOperation)
Returns an Evaluation that contains the node, source and whether it
is a set operation.
|
Evaluation |
OgnlContext.getCurrentEvaluation()
Gets the current Evaluation from the top of the stack.
|
Evaluation |
OgnlException.getEvaluation()
Returns the Evaluation that was the root evaluation when the exception was
thrown.
|
Evaluation |
OgnlContext.getEvaluation(int relativeIndex)
Returns the Evaluation at the relative index given.
|
Evaluation |
Evaluation.getFirstChild()
Returns the first child of this evaluation.
|
Evaluation |
Evaluation.getFirstDescendant()
Gets the first descendent.
|
Evaluation |
Evaluation.getLastChild()
Returns the last child of this evaluation.
|
Evaluation |
Evaluation.getLastDescendant()
Gets the last descendent.
|
Evaluation |
OgnlContext.getLastEvaluation() |
static Evaluation |
Ognl.getLastEvaluation(java.util.Map context)
Gets the last
Evaluation executed on the given context. |
Evaluation |
Evaluation.getNext()
Returns the next sibling of this evaluation.
|
Evaluation |
Evaluation.getParent()
Returns the parent evaluation of this evaluation.
|
Evaluation |
Evaluation.getPrevious()
Returns the previous sibling of this evaluation.
|
Evaluation |
OgnlContext.getRootEvaluation()
Gets the root of the evaluation stack.
|
Evaluation |
OgnlContext.popEvaluation()
Pops the current Evaluation off of the top of the stack.
|
Modifier and Type | Method and Description |
---|---|
void |
Evaluation.addChild(Evaluation child)
Adds a child to the list of children of this evaluation.
|
void |
OgnlContext.pushEvaluation(Evaluation value)
Pushes a new Evaluation onto the stack.
|
void |
EvaluationPool.recycle(Evaluation value)
Recycles an Evaluation
|
void |
EvaluationPool.recycleAll(Evaluation value)
Recycles an of Evaluation and all of it's siblings
and children.
|
void |
OgnlContext.setCurrentEvaluation(Evaluation value) |
void |
OgnlException.setEvaluation(Evaluation value)
Sets the Evaluation that was current when this exception was thrown.
|
void |
OgnlContext.setLastEvaluation(Evaluation value) |
void |
OgnlContext.setRootEvaluation(Evaluation value) |