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 (package private) classASTAdd$Id$classASTAnd$Id$(package private) classASTAssign$Id$(package private) classASTBitAnd$Id$(package private) classASTBitNegate$Id$(package private) classASTBitOr$Id$classASTChain$Id$classASTConst$Id$classASTCtor$Id$(package private) classASTDivide$Id$(package private) classASTEq$Id$(package private) classASTEval$Id$(package private) classASTGreater$Id$(package private) classASTGreaterEq$Id$(package private) classASTIn$Id$classASTInstanceof$Id$(package private) classASTKeyValue$Id$(package private) classASTLess$Id$(package private) classASTLessEq$Id$classASTList$Id$(package private) classASTMap$Id$classASTMethod$Id$(package private) classASTMultiply$Id$(package private) classASTNegate$Id$(package private) classASTNot$Id$(package private) classASTNotEq$Id$(package private) classASTNotIn$Id$classASTOr$Id$(package private) classASTProject$Id$classASTProperty$Id$(package private) classASTRemainder$Id$classASTRootVarRef$Id$(package private) classASTSelect$Id$(package private) classASTSelectFirst$Id$(package private) classASTSelectLast$Id$classASTSequence$Id$(package private) classASTShiftLeft$Id$(package private) classASTShiftRight$Id$classASTStaticField$Id$classASTStaticMethod$Id$(package private) classASTSubtract$Id$(package private) classASTTest$Id$classASTThisVarRef$Id$(package private) classASTUnsignedShiftRight$Id$classASTVarRef$Id$(package private) classASTXor$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. childrenprivate NodeOgnlContext. currentNodeprotected NodeSimpleNode. parentFields in org.apache.commons.ognl with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>JJTOgnlParserState. nodesMethods in org.apache.commons.ognl that return Node Modifier and Type Method Description static NodeOgnl. compileExpression(OgnlContext context, java.lang.Object root, java.lang.String expression)Parses and compiles the given expression using theOgnlExpressionCompilerreturned fromOgnlRuntime.getCompiler(OgnlContext).NodeOgnlContext. getCurrentNode()protected NodeASTKeyValue. getKey()NodeSimpleNode. getNextSibling()protected NodeASTKeyValue. getValue()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)java.lang.StringASTBitAnd. coerceToNumeric(java.lang.String source, OgnlContext context, Node child)java.lang.StringNumericExpression. coerceToNumeric(java.lang.String source, OgnlContext context, Node child)static voidOgnlRuntime. compileExpression(OgnlContext context, Node expression, java.lang.Object root)private java.lang.StringBuilderToStringVisitor. concatInfix(Node left, java.lang.String infix, Node right, java.lang.StringBuilder data)static java.lang.StringOgnlRuntime. getChildSource(OgnlContext context, java.lang.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 java.lang.StringOgnlRuntime. 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 theJavaSource.toGetSourceString(OgnlContext, Object)interface method.static java.lang.reflect.MethodOgnlRuntime. getMethod(OgnlContext context, java.lang.Class<?> target, java.lang.String name, Node[] children, boolean includeStatic)(package private) static java.lang.StringASTMethodUtil. getParmString(OgnlContext context, java.lang.Class parm, java.lang.String parmString, Node child, java.lang.Class valueClass, java.lang.String endParam)(package private) static java.lang.StringASTMethodUtil. getParmString(OgnlContext context, java.lang.Object root, Node child, java.lang.Class prevType)private static java.lang.StringASTProperty. getSourceString(OgnlContext context, Node child)(package private) static java.lang.ClassASTMethodUtil. getValueClass(OgnlContext context, java.lang.Object root, Node child)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)private java.lang.StringBuilderToStringVisitor. recurse(Node child, java.lang.StringBuilder data)voidOgnlContext. setCurrentNode(Node value)private java.lang.StringBuilderToStringVisitor. surroundedNode(java.lang.String open, Node inner, java.lang.String close, java.lang.StringBuilder data)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 java.lang.StringExpressionCompiler. castExpression(OgnlContext context, Node expression, java.lang.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.java.lang.StringOgnlExpressionCompiler. castExpression(OgnlContext context, Node expression, java.lang.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, java.lang.Object root)The core method executed to compile a specific expression.voidOgnlExpressionCompiler. compileExpression(OgnlContext context, Node expression, java.lang.Object root)The core method executed to compile a specific expression.protected java.lang.StringExpressionCompiler. generateGetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueGetter, Node expression, java.lang.Object root)protected java.lang.StringExpressionCompiler. generateSetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueSetter, Node expression, java.lang.Object root)static java.lang.StringExpressionCompiler. 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<?>ExpressionCompiler. 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<?>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.
-