|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.stripes.util.bean.Node
public class Node
Represents a single node in a PropertyExpression. Note that Nodes are static
and are tied to an expression, not an expression evaluation. Each node stores
the original String value of the node as well as a typed value which can also be a String
or one of the built in types such as Integer, Long, Boolean.
| Constructor Summary | |
|---|---|
Node(String value,
Object typedValue)
Constructs a new node with the String value and typed value provided. |
|
| Method Summary | |
|---|---|
Class<? extends Object> |
getExpresssionNodeType()
Returns the Java type of this node in the expression. |
Node |
getNext()
Gets the next node in the expression. |
Node |
getPrevious()
Gets the previous node in the expression. |
String |
getStringValue()
Returns the original String value of this expression node. |
Object |
getTypedValue()
Returns the typed value for this node as determined when parsing the expression |
protected void |
setNext(Node next)
Sets the next node in the expression. |
protected void |
setPrevious(Node previous)
Sets the previous node in the expression. |
String |
toString()
Simple toString that returns the text that constructed this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Node(String value,
Object typedValue)
| Method Detail |
|---|
public Class<? extends Object> getExpresssionNodeType()
public String getStringValue()
public Object getTypedValue()
public Node getNext()
protected void setNext(Node next)
public Node getPrevious()
protected void setPrevious(Node previous)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||