Java org.apache.commons.ognl Ognl fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.ognl Ognl fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.ognl Ognl.

The text is from its open source code.

Method

NodecompileExpression(OgnlContext context, Object root, String expression)
Parses and compiles the given expression using the org.apache.commons.ognl.enhance.OgnlExpressionCompiler returned from org.apache.commons.ognl.OgnlRuntime#getCompiler(OgnlContext) .
MapcreateDefaultContext(Object root, ClassResolver classResolver, TypeConverter converter)
Creates and returns a new standard naming context for evaluating an OGNL expression.
TgetValue(Object tree, Map context, Object root)
Evaluates the given OGNL expression tree to extract a value from the given root object.
TgetValue(ExpressionAccessor expression, OgnlContext context, Object root)
Gets the value represented by the given pre-compiled expression on the specified root object.
TgetValue(String expression, Map context, Object root)
Evaluates the given OGNL expression to extract a value from the given root object in a given context
TgetValue(Object tree, Object root, Class resultType)
Evaluates the given OGNL expression tree to extract a value from the given root object.
TgetValue(String expression, Object root, Class resultType)
Convenience method that combines calls to parseExpression and getValue.
ObjectparseExpression(String expression)
Parses the given OGNL expression and returns a tree representation of the expression that can be used by Ognl static methods.
voidsetValue(Object tree, Map context, Object root, Object value)
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at the given root object.
voidsetValue(ExpressionAccessor expression, OgnlContext context, Object root, Object value)
Sets the value given using the pre-compiled expression on the specified root object.
voidsetValue(String expression, Map context, Object root, Object value)
Evaluates the given OGNL expression to insert a value into the object graph rooted at the given root object given the context.