Uses of Interface
ognl.Node
Packages that use Node
Package
Description
OGNL stands for Object-Graph Navigation Language; it is an expression language
for getting and setting properties of Java objects.
-
Uses of Node in ognl
Modifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassBase class for boolean expressions.classBase class for types that compare values.classclassBase class for numeric expressions.classModifier and TypeFieldDescriptionprotected Node[]SimpleNode.childrenprivate NodeOgnlContext.currentNodeprotected NodeSimpleNode.parentModifier and TypeMethodDescriptionstatic NodeOgnl.compileExpression(OgnlContext context, Object root, String expression) Parses and compiles the given expression using theOgnlExpressionCompilerreturned fromOgnlRuntime.getCompiler().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.Modifier and TypeMethodDescriptionvoidJJTOgnlParserState.clearNodeScope(Node n) voidJJTOgnlParserState.closeNodeScope(Node n, boolean condition) voidJJTOgnlParserState.closeNodeScope(Node n, 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 static Class<?>[]ASTMethod.getChildrenClasses(OgnlContext context, Node[] _children) 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.private static Class<?> ASTMethod.getClassMatchingAllChildren(OgnlContext context, Node[] _children) 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 n) voidvoidOgnlContext.setCurrentNode(Node value) -
Uses of Node in ognl.enhance
Methods in ognl.enhance with parameters of type NodeModifier and TypeMethodDescriptionExpressionCompiler.castExpression(OgnlContext context, Node expression, String body) 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) 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.ClassPool pool, javassist.CtMethod valueGetter, Node expression, Object root) protected StringExpressionCompiler.generateSetter(OgnlContext context, javassist.CtClass newClass, javassist.ClassPool pool, 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) 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(Node, Object, OgnlContext)to determine if the expression needs to be cast at all.