public class Node
extends java.lang.Object
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 and Description |
|---|
Node(java.lang.String value,
java.lang.Object typedValue)
Constructs a new node with the String value and typed value provided.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.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.
|
java.lang.String |
getStringValue()
Returns the original String value of this expression node.
|
java.lang.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.
|
java.lang.String |
toString()
Simple toString that returns the text that constructed this node.
|
public Node(java.lang.String value,
java.lang.Object typedValue)
public java.lang.Class<? extends java.lang.Object> getExpresssionNodeType()
public java.lang.String getStringValue()
public java.lang.Object getTypedValue()
public Node getNext()
protected void setNext(Node next)
public Node getPrevious()
protected void setPrevious(Node previous)
public java.lang.String toString()
toString in class java.lang.Object? Copyright 2005-2006, Stripes Development Team.