public class Node extends 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(String value,
Object typedValue,
boolean bracketed)
Constructs a new node with the String value and typed value provided.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
boolean |
isBracketed()
True if the expression that generated this node was inside square brackets.
|
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.
|
public Class<? extends Object> getExpresssionNodeType()
public String getStringValue()
public Object getTypedValue()
public boolean isBracketed()
public Node getNext()
protected void setNext(Node next)
public Node getPrevious()
protected void setPrevious(Node previous)
© Copyright 2005-2006, Stripes Development Team.