Uses of Interface
org.apache.commons.ognl.Node
Packages that use Node
-
Uses of Node in org.apache.commons.ognl
Classes in org.apache.commons.ognl that implement NodeModifier and TypeClassDescription(package private) class$Id$class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$class$Id$class$Id$class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$class$Id$(package private) class$Id$class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$class$Id$(package private) class$Id$class$Id$(package private) class$Id$class$Id$(package private) class$Id$(package private) class$Id$(package private) class$Id$class$Id$(package private) class$Id$(package private) class$Id$class$Id$class$Id$(package private) class$Id$(package private) class$Id$class$Id$(package private) class$Id$class$Id$(package private) class$Id$classBase class for boolean expressions.classBase class for types that compare values.classclassBase class for numeric expressions.classFields in org.apache.commons.ognl declared as NodeModifier and TypeFieldDescriptionprotected Node[]SimpleNode.childrenprivate NodeOgnlContext.currentNodeprotected NodeSimpleNode.parentFields in org.apache.commons.ognl with type parameters of type NodeMethods in org.apache.commons.ognl that return NodeModifier and TypeMethodDescriptionstatic NodeOgnl.compileExpression(OgnlContext context, Object root, String expression) Parses and compiles the given expression using theOgnlExpressionCompilerreturned fromOgnlRuntime.getCompiler(OgnlContext).OgnlContext.getCurrentNode()protected NodeASTKeyValue.getKey()SimpleNode.getNextSibling()protected NodeASTKeyValue.getValue()Node.jjtGetChild(int i) This method returns a child node.SimpleNode.jjtGetChild(int i) Node.jjtGetParent()SimpleNode.jjtGetParent()JJTOgnlParserState.peekNode()JJTOgnlParserState.popNode()JJTOgnlParserState.rootNode()final NodeOgnlParser.topLevelExpression()This is the top-level construct of OGNL.Methods in org.apache.commons.ognl with parameters of type NodeModifier and TypeMethodDescriptionvoidJJTOgnlParserState.clearNodeScope(Node unused) voidJJTOgnlParserState.closeNodeScope(Node node, boolean condition) voidJJTOgnlParserState.closeNodeScope(Node node, int num) ASTBitAnd.coerceToNumeric(String source, OgnlContext context, Node child) NumericExpression.coerceToNumeric(String source, OgnlContext context, Node child) static voidOgnlRuntime.compileExpression(OgnlContext context, Node expression, Object root) private StringBuilderToStringVisitor.concatInfix(Node left, String infix, Node right, StringBuilder data) 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) (package private) static StringASTMethodUtil.getParmString(OgnlContext context, Class parm, String parmString, Node child, Class valueClass, String endParam) (package private) static StringASTMethodUtil.getParmString(OgnlContext context, Object root, Node child, Class prevType) private static StringASTProperty.getSourceString(OgnlContext context, Node child) (package private) static ClassASTMethodUtil.getValueClass(OgnlContext context, 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) voidprivate StringBuilderToStringVisitor.recurse(Node child, StringBuilder data) voidOgnlContext.setCurrentNode(Node value) private StringBuilderToStringVisitor.surroundedNode(String open, Node inner, String close, StringBuilder data) Constructors in org.apache.commons.ognl with parameters of type Node -
Uses of Node in org.apache.commons.ognl.enhance
Methods in org.apache.commons.ognl.enhance with parameters of type NodeModifier and TypeMethodDescriptionExpressionCompiler.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.OgnlExpressionCompiler.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.