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) class
ASTAdd
$Id$class
ASTAnd
$Id$(package private) class
ASTAssign
$Id$(package private) class
ASTBitAnd
$Id$(package private) class
ASTBitNegate
$Id$(package private) class
ASTBitOr
$Id$class
ASTChain
$Id$class
ASTConst
$Id$class
ASTCtor
$Id$(package private) class
ASTDivide
$Id$(package private) class
ASTEq
$Id$(package private) class
ASTEval
$Id$(package private) class
ASTGreater
$Id$(package private) class
ASTGreaterEq
$Id$(package private) class
ASTIn
$Id$class
ASTInstanceof
$Id$(package private) class
ASTKeyValue
$Id$(package private) class
ASTLess
$Id$(package private) class
ASTLessEq
$Id$class
ASTList
$Id$(package private) class
ASTMap
$Id$class
ASTMethod
$Id$(package private) class
ASTMultiply
$Id$(package private) class
ASTNegate
$Id$(package private) class
ASTNot
$Id$(package private) class
ASTNotEq
$Id$(package private) class
ASTNotIn
$Id$class
ASTOr
$Id$(package private) class
ASTProject
$Id$class
ASTProperty
$Id$(package private) class
ASTRemainder
$Id$class
ASTRootVarRef
$Id$(package private) class
ASTSelect
$Id$(package private) class
ASTSelectFirst
$Id$(package private) class
ASTSelectLast
$Id$class
ASTSequence
$Id$(package private) class
ASTShiftLeft
$Id$(package private) class
ASTShiftRight
$Id$class
ASTStaticField
$Id$class
ASTStaticMethod
$Id$(package private) class
ASTSubtract
$Id$(package private) class
ASTTest
$Id$class
ASTThisVarRef
$Id$(package private) class
ASTUnsignedShiftRight
$Id$class
ASTVarRef
$Id$(package private) class
ASTXor
$Id$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 Modifier and Type Field Description protected Node[]
SimpleNode. children
private Node
OgnlContext. currentNode
protected Node
SimpleNode. parent
Fields in org.apache.commons.ognl with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>
JJTOgnlParserState. nodes
Methods in org.apache.commons.ognl that return Node Modifier and Type Method Description static Node
Ognl. compileExpression(OgnlContext context, java.lang.Object root, java.lang.String expression)
Parses and compiles the given expression using theOgnlExpressionCompiler
returned fromOgnlRuntime.getCompiler(OgnlContext)
.Node
OgnlContext. getCurrentNode()
protected Node
ASTKeyValue. getKey()
Node
SimpleNode. getNextSibling()
protected Node
ASTKeyValue. getValue()
Node
Node. jjtGetChild(int i)
This method returns a child node.Node
SimpleNode. jjtGetChild(int i)
Node
Node. jjtGetParent()
Node
SimpleNode. 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 Modifier and Type Method Description void
JJTOgnlParserState. clearNodeScope(Node unused)
void
JJTOgnlParserState. closeNodeScope(Node node, boolean condition)
void
JJTOgnlParserState. closeNodeScope(Node node, int num)
java.lang.String
ASTBitAnd. coerceToNumeric(java.lang.String source, OgnlContext context, Node child)
java.lang.String
NumericExpression. coerceToNumeric(java.lang.String source, OgnlContext context, Node child)
static void
OgnlRuntime. compileExpression(OgnlContext context, Node expression, java.lang.Object root)
private java.lang.StringBuilder
ToStringVisitor. concatInfix(Node left, java.lang.String infix, Node right, java.lang.StringBuilder data)
static java.lang.String
OgnlRuntime. 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.String
OgnlRuntime. 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.Method
OgnlRuntime. getMethod(OgnlContext context, java.lang.Class<?> target, java.lang.String name, Node[] children, boolean includeStatic)
(package private) static java.lang.String
ASTMethodUtil. 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.String
ASTMethodUtil. getParmString(OgnlContext context, java.lang.Object root, Node child, java.lang.Class prevType)
private static java.lang.String
ASTProperty. getSourceString(OgnlContext context, Node child)
(package private) static java.lang.Class
ASTMethodUtil. getValueClass(OgnlContext context, java.lang.Object root, Node child)
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. jjtAddChild(Node n, int i)
void
Node. jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent.void
SimpleNode. jjtSetParent(Node n)
void
JJTOgnlParserState. openNodeScope(Node node)
void
JJTOgnlParserState. pushNode(Node node)
private java.lang.StringBuilder
ToStringVisitor. recurse(Node child, java.lang.StringBuilder data)
void
OgnlContext. setCurrentNode(Node value)
private java.lang.StringBuilder
ToStringVisitor. 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.String
ExpressionCompiler. castExpression(OgnlContext context, Node expression, java.lang.String body)
Used primarily by AST types likeASTChain
wherefoo.bar.id
type references may need to be cast multiple times in order to properly resolve the members in a compiled statement.java.lang.String
OgnlExpressionCompiler. castExpression(OgnlContext context, Node expression, java.lang.String body)
Used primarily by AST types likeASTChain
wherefoo.bar.id
type references may need to be cast multiple times in order to properly resolve the members in a compiled statement.void
ExpressionCompiler. compileExpression(OgnlContext context, Node expression, java.lang.Object root)
The core method executed to compile a specific expression.void
OgnlExpressionCompiler. compileExpression(OgnlContext context, Node expression, java.lang.Object root)
The core method executed to compile a specific expression.protected java.lang.String
ExpressionCompiler. generateGetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueGetter, Node expression, java.lang.Object root)
protected java.lang.String
ExpressionCompiler. generateSetter(OgnlContext context, javassist.CtClass newClass, javassist.CtClass objClass, javassist.ClassPool classPool, javassist.CtMethod valueSetter, Node expression, java.lang.Object root)
static java.lang.String
ExpressionCompiler. 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.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 byExpressionCompiler.getRootExpression(org.apache.commons.ognl.Node, Object, org.apache.commons.ognl.OgnlContext)
to determine if the expression needs to be cast at all.
-