org.apache.ibatis.ognl
Class ExpressionNode

java.lang.Object
  extended by org.apache.ibatis.ognl.SimpleNode
      extended by org.apache.ibatis.ognl.ExpressionNode
All Implemented Interfaces:
java.io.Serializable, Node

public abstract class ExpressionNode
extends SimpleNode

Author:
Luke Blanshard ([email protected]), Drew Davidson ([email protected])
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ibatis.ognl.SimpleNode
children, id, parent, parser
 
Constructor Summary
ExpressionNode(int i)
           
ExpressionNode(OgnlParser p, int i)
           
 
Method Summary
 java.lang.String getExpressionOperator(int index)
           
 boolean isConstant(OgnlContext context)
           
 boolean isNodeConstant(OgnlContext context)
          Returns true iff this node is constant without respect to the children.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.ibatis.ognl.SimpleNode
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getIndexInParent, getNextSibling, getValue, getValueBody, isNodeSimpleProperty, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, setValueBody, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionNode

public ExpressionNode(int i)

ExpressionNode

public ExpressionNode(OgnlParser p,
                      int i)
Method Detail

isNodeConstant

public boolean isNodeConstant(OgnlContext context)
                       throws OgnlException
Returns true iff this node is constant without respect to the children.

Overrides:
isNodeConstant in class SimpleNode
Throws:
OgnlException

isConstant

public boolean isConstant(OgnlContext context)
                   throws OgnlException
Overrides:
isConstant in class SimpleNode
Throws:
OgnlException

getExpressionOperator

public java.lang.String getExpressionOperator(int index)

toString

public java.lang.String toString()
Overrides:
toString in class SimpleNode


Copyright © 2010. All Rights Reserved.