Uses of Interface
org.apache.commons.ognl.Node

Packages that use Node
org.apache.commons.ognl   
org.apache.commons.ognl.enhance   
 

Uses of Node in org.apache.commons.ognl
 

Classes in org.apache.commons.ognl that implement Node
 class ASTAnd
          $Id: ASTAnd.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTChain
          $Id: ASTChain.java 1197011 2011-11-03 09:19:44Z mcucchiara $
 class ASTConst
          $Id: ASTConst.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTCtor
          $Id: ASTCtor.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTInstanceof
          $Id: ASTInstanceof.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTList
          $Id: ASTList.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTMethod
          $Id: ASTMethod.java 1198659 2011-11-07 09:12:44Z mcucchiara $
 class ASTOr
          $Id: ASTOr.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTProperty
          $Id: ASTProperty.java 1197445 2011-11-04 09:13:17Z mcucchiara $
 class ASTRootVarRef
          $Id: ASTRootVarRef.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTSequence
          $Id: ASTSequence.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTStaticField
          $Id: ASTStaticField.java 1198661 2011-11-07 09:14:07Z mcucchiara $
 class ASTStaticMethod
          $Id: ASTStaticMethod.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 class ASTThisVarRef
          $Id: ASTThisVarRef.java 1184964 2011-10-17 00:26:34Z mcucchiara $
 class ASTVarRef
          $Id: ASTVarRef.java 1194869 2011-10-29 11:10:16Z mcucchiara $
 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 org.apache.commons.ognl declared as Node
protected  Node[] SimpleNode.children
           
protected  Node SimpleNode.parent
           
 

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

Methods in org.apache.commons.ognl with parameters of type Node
 void JJTOgnlParserState.clearNodeScope(Node unused)
           
 void JJTOgnlParserState.closeNodeScope(Node node, boolean condition)
           
 void JJTOgnlParserState.closeNodeScope(Node node, int num)
           
 String NumericExpression.coerceToNumeric(String source, OgnlContext context, Node child)
           
static void OgnlRuntime.compileExpression(OgnlContext context, Node expression, Object root)
           
static String OgnlRuntime.getChildSource(OgnlContext context, 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 String OgnlRuntime.getChildSource(OgnlContext context, 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 Method OgnlRuntime.getMethod(OgnlContext context, Class<?> target, String name, Node[] children, boolean includeStatic)
           
 void SimpleNode.jjtAddChild(Node n, int i)
           
 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.jjtSetParent(Node n)
           
 void Node.jjtSetParent(Node n)
          This pair of methods are used to inform the node of its parent.
 void JJTOgnlParserState.openNodeScope(Node node)
           
 void JJTOgnlParserState.pushNode(Node node)
           
 void OgnlContext.setCurrentNode(Node value)
           
 

Constructors in org.apache.commons.ognl with parameters of type Node
InappropriateExpressionException(Node tree)
           
 

Uses of Node in org.apache.commons.ognl.enhance
 

Methods in org.apache.commons.ognl.enhance with parameters of type Node
 String OgnlExpressionCompiler.castExpression(OgnlContext context, Node expression, 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.
 String ExpressionCompiler.castExpression(OgnlContext context, Node expression, 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.
 void OgnlExpressionCompiler.compileExpression(OgnlContext context, Node expression, Object root)
          The core method executed to compile a specific expression.
 void ExpressionCompiler.compileExpression(OgnlContext context, Node expression, Object root)
          The core method executed to compile a specific expression.
protected  String ExpressionCompiler.generateGetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueGetter, Node expression, Object root)
           
protected  String ExpressionCompiler.generateSetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueSetter, Node expression, Object root)
           
static String ExpressionCompiler.getRootExpression(Node expression, 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.
 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.
 Class<?> ExpressionCompiler.getRootExpressionClass(Node rootNode, OgnlContext context)
          For a given root object type returns the base class type to be used in root referenced expressions.
 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(org.apache.commons.ognl.Node, Object, org.apache.commons.ognl.OgnlContext) to determine if the expression needs to be cast at all.
 



Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.