public class NodeEvaluation extends Object
Node, what
PropertyExpressionEvaluation is to PropertyExpression.| Constructor and Description |
|---|
NodeEvaluation(PropertyExpressionEvaluation expressionEvaluation,
Node node)
Constructs a new NodeEvaluation for the specified part of an expression evaluation.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyExpressionEvaluation |
getExpressionEvaluation()
Gets the PropertyExpressionEvaluation that this NodeEvaluation is a part of.
|
Class<?> |
getKeyType()
Gets the class object which represents the key type determined during evaluation
of the expression against the provided bean.
|
NodeEvaluation |
getNext()
Gets the next NodeEvaluation in the chain, or null if this is the terminal node.
|
Node |
getNode()
Gets the Node that is represented in the evaluation by this NodeEvaluation.
|
NodeEvaluation |
getPrevious()
Gets the previous NodeEvaluation in the chain, or null if this is the first node.
|
NodeType |
getType()
Gets the type of the node (bean property, list item etc.).
|
Type |
getValueType()
Gets the Type object which represents the type returned by evaluating up to this node.
|
void |
setExpressionEvaluation(PropertyExpressionEvaluation expressionEvaluation)
Sets the PropertyExpressionEvaluation that this NodeEvaluation is a part of.
|
void |
setKeyType(Class<?> keyType)
Gets the class object which represents the key type for this node if applicable.
|
void |
setNext(NodeEvaluation next)
Sets the next NodeEvaluation in the chain.
|
void |
setNode(Node node)
Sets the Node that is represented in the evaluation by this NodeEvaluation.
|
void |
setPrevious(NodeEvaluation previous)
Sets the previous NodeEvaluation in the chain.
|
void |
setType(NodeType type)
Gets the type of the node (bean property, list item etc.).
|
void |
setValueType(Type valueType)
Sets the Type object which represents the type returned by evaluating up to this node.
|
public NodeEvaluation(PropertyExpressionEvaluation expressionEvaluation, Node node)
expressionEvaluation - the parent expression evaluationnode - the node that this evaluation is a mirror forpublic PropertyExpressionEvaluation getExpressionEvaluation()
public void setExpressionEvaluation(PropertyExpressionEvaluation expressionEvaluation)
public Node getNode()
public void setNode(Node node)
public NodeType getType()
public void setType(NodeType type)
public Type getValueType()
public void setValueType(Type valueType)
public Class<?> getKeyType()
public void setKeyType(Class<?> keyType)
public NodeEvaluation getNext()
public void setNext(NodeEvaluation next)
public NodeEvaluation getPrevious()
public void setPrevious(NodeEvaluation previous)
© Copyright 2005-2006, Stripes Development Team.