Uses of Interface
ognl.Node

Packages that use Node
ognl OGNL stands for Object-Graph Navigation Language; it is an expression language for getting and setting properties of Java objects. 
ognl.enhance   
 

Uses of Node in ognl
 

Classes in ognl that implement Node
 class ASTAnd
           
 class ASTChain
           
 class ASTConst
           
 class ASTCtor
           
 class ASTInstanceof
           
 class ASTList
           
 class ASTMethod
           
 class ASTOr
           
 class ASTProperty
           
 class ASTRootVarRef
           
 class ASTSequence
           
 class ASTStaticField
           
 class ASTStaticMethod
           
 class ASTThisVarRef
           
 class ASTVarRef
           
 class BooleanExpression
          Base class for boolean expressions.
 class ComparisonExpression
          Base class for types that compare values.
 class ExpressionNode
           
 class NumericExpression
          Base class for numeric expressions.
 class SimpleNode
           
 

Fields in ognl declared as Node
protected  Node[] SimpleNode._children
           
protected  Node SimpleNode._parent
           
 

Methods in ognl that return Node
static Node Ognl.compileExpression(OgnlContext context, java.lang.Object root, java.lang.String expression)
          Parses and compiles the given expression using the OgnlExpressionCompiler returned from OgnlRuntime.getCompiler().
 Node OgnlContext.getCurrentNode()
           
 Node SimpleNode.getNextSibling()
           
 Node Node.jjtGetChild(int i)
          This method returns a child node.
 Node SimpleNode.jjtGetChild(int i)
           
 Node Node.jjtGetParent()
           
 Node SimpleNode.jjtGetParent()
           
 Node JJTOgnlParserState.peekNode()
           
 Node JJTOgnlParserState.popNode()
           
 Node JJTOgnlParserState.rootNode()
           
 Node OgnlParser.topLevelExpression()
          This is the top-level construct of OGNL.
 

Methods in ognl with parameters of type Node
 void JJTOgnlParserState.clearNodeScope(Node n)
           
 void JJTOgnlParserState.closeNodeScope(Node n, boolean condition)
           
 void JJTOgnlParserState.closeNodeScope(Node n, int num)
           
 java.lang.String NumericExpression.coerceToNumeric(java.lang.String source, OgnlContext context, Node child)
           
static void OgnlRuntime.compileExpression(OgnlContext context, Node expression, java.lang.Object root)
           
static java.lang.String OgnlRuntime.getChildSource(OgnlContext context, java.lang.Object target, Node child)
          Attempts to get the java source string represented by the specific child expression via the JavaSource.toGetSourceString(OgnlContext,Object) interface method.
static java.lang.String OgnlRuntime.getChildSource(OgnlContext context, java.lang.Object target, Node child, boolean forceConversion)
          Attempts to get the java source string represented by the specific child expression via the JavaSource.toGetSourceString(OgnlContext,Object) interface method.
static java.lang.reflect.Method OgnlRuntime.getMethod(OgnlContext context, java.lang.Class target, java.lang.String name, Node[] children, boolean includeStatic)
           
 void Node.jjtAddChild(Node n, int i)
          This method tells the node to add its argument to the node's list of children.
 void SimpleNode.jjtAddChild(Node n, int i)
           
 void Node.jjtSetParent(Node n)
          This pair of methods are used to inform the node of its parent.
 void SimpleNode.jjtSetParent(Node n)
           
 void JJTOgnlParserState.openNodeScope(Node n)
           
 void JJTOgnlParserState.pushNode(Node n)
           
 void OgnlContext.setCurrentNode(Node value)
           
 

Constructors in ognl with parameters of type Node
InappropriateExpressionException(Node tree)
           
 

Uses of Node in ognl.enhance
 

Methods in ognl.enhance with parameters of type Node
 java.lang.String OgnlExpressionCompiler.castExpression(OgnlContext context, Node expression, java.lang.String body)
          Used primarily by AST types like ASTChain where foo.bar.id type references may need to be cast multiple times in order to properly resolve the members in a compiled statement.
 java.lang.String ExpressionCompiler.castExpression(OgnlContext context, Node expression, java.lang.String body)
           
 void OgnlExpressionCompiler.compileExpression(OgnlContext context, Node expression, java.lang.Object root)
          The core method executed to compile a specific expression.
 void ExpressionCompiler.compileExpression(OgnlContext context, Node expression, java.lang.Object root)
           
protected  java.lang.String ExpressionCompiler.generateGetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool pool, javassist.CtMethod valueGetter, Node expression, java.lang.Object root)
           
protected  java.lang.String ExpressionCompiler.generateSetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool pool, javassist.CtMethod valueSetter, Node expression, java.lang.Object root)
           
static java.lang.String ExpressionCompiler.getRootExpression(Node expression, java.lang.Object root, OgnlContext context)
          Convenience method called by many different property/method resolving AST types to get a root expression resolving string for the given node.
 java.lang.Class OgnlExpressionCompiler.getRootExpressionClass(Node rootNode, OgnlContext context)
          For a given root object type returns the base class type to be used in root referenced expressions.
 java.lang.Class ExpressionCompiler.getRootExpressionClass(Node rootNode, OgnlContext context)
           
 void ExpressionAccessor.setExpression(Node expression)
          Used to set the original root expression node on instances where the compiled version has to fall back to interpreted syntax because of compilation failures.
static boolean ExpressionCompiler.shouldCast(Node expression)
          Used by ExpressionCompiler.getRootExpression(ognl.Node, Object, ognl.OgnlContext) to determine if the expression needs to be cast at all.
 


OGNL Project Page