Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ognl
Class ASTChain  view ASTChain download ASTChain.java

java.lang.Object
  extended byognl.SimpleNode
      extended byognl.ASTChain
All Implemented Interfaces:
Node, java.io.Serializable

class ASTChain
extends SimpleNode


Field Summary
 
Fields inherited from class ognl.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTChain(int id)
           
ASTChain(OgnlParser p, int id)
           
 
Method Summary
protected  java.lang.Object getValueBody(OgnlContext context, java.lang.Object source)
          Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.
 boolean isSimpleNavigationChain(OgnlContext context)
           
 void jjtClose()
          This method is called after all the child nodes have been added.
protected  void setValueBody(OgnlContext context, java.lang.Object target, java.lang.Object value)
          Subclasses implement this method to do the actual work of setting the appropriate value in the target object.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class ognl.SimpleNode
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getIndexInParent, getNextSibling, getValue, isConstant, isNodeConstant, isNodeSimpleProperty, isSimpleProperty, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTChain

public ASTChain(int id)

ASTChain

public ASTChain(OgnlParser p,
                int id)
Method Detail

jjtClose

public void jjtClose()
Description copied from interface: Node
This method is called after all the child nodes have been added.

Specified by:
jjtClose in interface Node
Overrides:
jjtClose in class SimpleNode

getValueBody

protected java.lang.Object getValueBody(OgnlContext context,
                                        java.lang.Object source)
                                 throws OgnlException
Description copied from class: SimpleNode
Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.

Specified by:
getValueBody in class SimpleNode

setValueBody

protected void setValueBody(OgnlContext context,
                            java.lang.Object target,
                            java.lang.Object value)
                     throws OgnlException
Description copied from class: SimpleNode
Subclasses implement this method to do the actual work of setting the appropriate value in the target object. The default implementation throws an InappropriateExpressionException, meaning that it cannot be a set expression.

Overrides:
setValueBody in class SimpleNode

isSimpleNavigationChain

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

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).

Overrides:
toString in class SimpleNode