|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.util.bean.NodeEvaluation
public class NodeEvaluation
Represents a Node in an expression which has been evaluated against a specific bean in
order to determine additional type information etc. NodeEvaluation is to Node
, what
PropertyExpressionEvaluation
is to PropertyExpression
.
Constructor Summary | |
---|---|
NodeEvaluation(PropertyExpressionEvaluation expressionEvaluation,
Node node)
Constructs a new NodeEvaluation for the specified part of an expression evaluation. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeEvaluation(PropertyExpressionEvaluation expressionEvaluation, Node node)
expressionEvaluation
- the parent expression evaluationnode
- the node that this evaluation is a mirror forMethod Detail |
---|
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |