Uses of Interface
org.apache.commons.ognl.Node
-
Packages that use Node Package Description 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 Modifier and Type Class Description classASTAnd$Id$classASTChain$Id$classASTConst$Id$classASTCtor$Id$classASTInstanceof$Id$classASTList$Id$classASTMethod$Id$classASTOr$Id$classASTProperty$Id$classASTRootVarRef$Id$classASTSequence$Id$classASTStaticField$Id$classASTStaticMethod$Id$classASTThisVarRef$Id$classASTVarRef$Id$classBooleanExpressionBase class for boolean expressions.classComparisonExpressionBase class for types that compare values.classExpressionNodeclassNumericExpressionBase class for numeric expressions.classSimpleNodeFields in org.apache.commons.ognl declared as Node Modifier and Type Field Description protected Node[]SimpleNode. childrenprotected NodeSimpleNode. parentMethods in org.apache.commons.ognl that return Node Modifier and Type Method Description static NodeOgnl. compileExpression(OgnlContext context, Object root, String expression)Parses and compiles the given expression using theOgnlExpressionCompilerreturned fromOgnlRuntime.getCompiler(OgnlContext).NodeOgnlContext. getCurrentNode()NodeSimpleNode. getNextSibling()NodeNode. jjtGetChild(int i)This method returns a child node.NodeSimpleNode. jjtGetChild(int i)NodeNode. jjtGetParent()NodeSimpleNode. jjtGetParent()NodeJJTOgnlParserState. peekNode()NodeJJTOgnlParserState. popNode()NodeJJTOgnlParserState. rootNode()NodeOgnlParser. topLevelExpression()This is the top-level construct of OGNL.Methods in org.apache.commons.ognl with parameters of type Node Modifier and Type Method Description voidJJTOgnlParserState. clearNodeScope(Node unused)voidJJTOgnlParserState. closeNodeScope(Node node, boolean condition)voidJJTOgnlParserState. closeNodeScope(Node node, int num)StringNumericExpression. coerceToNumeric(String source, OgnlContext context, Node child)static voidOgnlRuntime. compileExpression(OgnlContext context, Node expression, Object root)static StringOgnlRuntime. getChildSource(OgnlContext context, Object target, Node child)Attempts to get the java source string represented by the specific child expression via theJavaSource.toGetSourceString(OgnlContext, Object)interface method.static StringOgnlRuntime. getChildSource(OgnlContext context, Object target, Node child, boolean forceConversion)Attempts to get the java source string represented by the specific child expression via theJavaSource.toGetSourceString(OgnlContext, Object)interface method.static MethodOgnlRuntime. getMethod(OgnlContext context, Class<?> target, String name, Node[] children, boolean includeStatic)voidNode. jjtAddChild(Node n, int i)This method tells the node to add its argument to the node's list of children.voidSimpleNode. jjtAddChild(Node n, int i)voidNode. jjtSetParent(Node n)This pair of methods are used to inform the node of its parent.voidSimpleNode. jjtSetParent(Node n)voidJJTOgnlParserState. openNodeScope(Node node)voidJJTOgnlParserState. pushNode(Node node)voidOgnlContext. setCurrentNode(Node value)Constructors in org.apache.commons.ognl with parameters of type Node Constructor Description InappropriateExpressionException(Node tree) -
Uses of Node in org.apache.commons.ognl.enhance
Methods in org.apache.commons.ognl.enhance with parameters of type Node Modifier and Type Method Description StringExpressionCompiler. castExpression(OgnlContext context, Node expression, String body)Used primarily by AST types likeASTChainwherefoo.bar.idtype references may need to be cast multiple times in order to properly resolve the members in a compiled statement.StringOgnlExpressionCompiler. castExpression(OgnlContext context, Node expression, String body)Used primarily by AST types likeASTChainwherefoo.bar.idtype references may need to be cast multiple times in order to properly resolve the members in a compiled statement.voidExpressionCompiler. compileExpression(OgnlContext context, Node expression, Object root)The core method executed to compile a specific expression.voidOgnlExpressionCompiler. compileExpression(OgnlContext context, Node expression, Object root)The core method executed to compile a specific expression.protected StringExpressionCompiler. generateGetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueGetter, Node expression, Object root)protected StringExpressionCompiler. generateSetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueSetter, Node expression, Object root)static StringExpressionCompiler. 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<?>ExpressionCompiler. getRootExpressionClass(Node rootNode, OgnlContext context)For a given root object type returns the base class type to be used in root referenced expressions.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.voidExpressionAccessor. 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 booleanExpressionCompiler. shouldCast(Node expression)Used byExpressionCompiler.getRootExpression(org.apache.commons.ognl.Node, Object, org.apache.commons.ognl.OgnlContext)to determine if the expression needs to be cast at all.
-