<R,P> R |
ASTAnd.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTChain.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTConst.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTCtor.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTInstanceof.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTList.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTMethod.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTOr.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTProperty.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTRootVarRef.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTSequence.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTStaticField.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTStaticMethod.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTThisVarRef.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
ASTVarRef.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
|
<R,P> R |
Node.accept(NodeVisitor<? extends R,? super P> visitor,
P data) |
Supports the Visitor pattern.
|
static Object |
OgnlRuntime.callConstructor(OgnlContext context,
String className,
Object[] args) |
|
Object |
MethodAccessor.callMethod(Map<String,Object> context,
Object target,
String methodName,
Object[] args) |
Calls the method named with the arguments given.
|
static Object |
OgnlRuntime.callMethod(OgnlContext context,
Object target,
String methodName,
Object[] args) |
Invokes the specified method against the target object.
|
Object |
MethodAccessor.callStaticMethod(Map<String,Object> context,
Class<?> targetClass,
String methodName,
Object[] args) |
Calls the static method named with the arguments given on the class given.
|
static Object |
OgnlRuntime.callStaticMethod(OgnlContext context,
String className,
String methodName,
Object[] args) |
|
static <T> Object |
OgnlOps.convertValue(boolean value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(boolean value,
Class<T> toType,
boolean preventNull) |
|
static <T> Object |
OgnlOps.convertValue(byte value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(byte value,
Class<T> toType,
boolean preventNull) |
|
static <T> Object |
OgnlOps.convertValue(char value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(char value,
Class<T> toType,
boolean preventNull) |
|
static <T> Object |
OgnlOps.convertValue(double value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(double value,
Class<T> toType,
boolean preventNull) |
|
static <T> Object |
OgnlOps.convertValue(float value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(float value,
Class<T> toType,
boolean preventNull) |
|
static <T> Object |
OgnlOps.convertValue(int value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(int value,
Class<T> toType,
boolean preventNull) |
|
static <T> Object |
OgnlOps.convertValue(long value,
Class<T> toType) |
|
static <T> Object |
OgnlOps.convertValue(long value,
Class<T> toType,
boolean preventNull) |
|
protected Object |
SimpleNode.evaluateGetValueBody(OgnlContext context,
Object source) |
|
protected void |
SimpleNode.evaluateSetValueBody(OgnlContext context,
Object target,
Object value) |
|
static String |
OgnlRuntime.getChildSource(OgnlContext context,
Object target,
Node child) |
|
static String |
OgnlRuntime.getChildSource(OgnlContext context,
Object target,
Node child,
boolean forceConversion) |
|
Enumeration<?> |
ElementsAccessor.getElements(Object target) |
Returns an iterator over the elements of the given target object.
|
ElementsAccessor |
OgnlCache.getElementsAccessor(Class<?> clazz) |
|
static ElementsAccessor |
OgnlRuntime.getElementsAccessor(Class<?> clazz) |
|
static Method |
OgnlRuntime.getGetMethod(OgnlContext unused,
Class<?> targetClass,
String propertyName) |
|
static Object |
OgnlRuntime.getIndexedProperty(OgnlContext context,
Object source,
String name,
Object index) |
|
int |
ASTProperty.getIndexedPropertyType(OgnlContext context,
Object source) |
Returns true if this property is described by an IndexedPropertyDescriptor and that if followed by an index
specifier it will call the index get/set methods rather than go through property accessors.
|
static int |
OgnlRuntime.getIndexedPropertyType(OgnlContext context,
Class<?> sourceClass,
String name) |
Determines the index property type, if any.
|
MethodAccessor |
OgnlCache.getMethodAccessor(Class<?> clazz) |
|
static MethodAccessor |
OgnlRuntime.getMethodAccessor(Class<?> clazz) |
|
static Object |
OgnlRuntime.getMethodValue(OgnlContext context,
Object target,
String propertyName) |
|
static Object |
OgnlRuntime.getMethodValue(OgnlContext context,
Object target,
String propertyName,
boolean checkAccessAndExistence) |
If the checkAccessAndExistence flag is true this method will check to see if the method exists and if it is
accessible according to the context's MemberAccess.
|
NullHandler |
OgnlCache.getNullHandler(Class<?> clazz) |
|
static NullHandler |
OgnlRuntime.getNullHandler(Class<?> clazz) |
|
Object |
ObjectPropertyAccessor.getPossibleProperty(Map<String,Object> context,
Object target,
String name) |
Returns OgnlRuntime.NotFound if the property does not exist.
|
Object |
ArrayPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
|
Object |
ASTProperty.getProperty(OgnlContext context,
Object source) |
|
Object |
EnumerationPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
|
Object |
IteratorPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
|
Object |
ListPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
|
Object |
MapPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
|
Object |
ObjectPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object oname) |
|
static Object |
OgnlRuntime.getProperty(OgnlContext context,
Object source,
Object name) |
|
Object |
PropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
Extracts and returns the property of the given name from the given target object.
|
Object |
SetPropertyAccessor.getProperty(Map<String,Object> context,
Object target,
Object name) |
|
PropertyAccessor |
OgnlCache.getPropertyAccessor(Class<?> clazz) |
|
static PropertyAccessor |
OgnlRuntime.getPropertyAccessor(Class<?> clazz) |
|
static PropertyDescriptor |
OgnlRuntime.getPropertyDescriptor(Class<?> targetClass,
String propertyName) |
This method returns a PropertyDescriptor for the given class and property name using a Map lookup (using
getPropertyDescriptorsMap()).
|
static PropertyDescriptor |
OgnlRuntime.getPropertyDescriptorFromArray(Class<?> targetClass,
String name) |
Gets the property descriptor with the given name for the target class given.
|
static Map<String,PropertyDescriptor> |
OgnlRuntime.getPropertyDescriptors(Class<?> targetClass) |
This method returns the property descriptors for the given class as a Map.
|
static PropertyDescriptor[] |
OgnlRuntime.getPropertyDescriptorsArray(Class<?> targetClass) |
|
static Method |
OgnlRuntime.getSetMethod(OgnlContext context,
Class<?> targetClass,
String propertyName) |
|
static Object |
OgnlRuntime.getStaticField(OgnlContext context,
String className,
String fieldName) |
|
Object |
Node.getValue(OgnlContext context,
Object source) |
Extracts the value from the given source object that is appropriate for this node within the given context.
|
static <T> T |
Ognl.getValue(Object tree,
Object root) |
Evaluates the given OGNL expression tree to extract a value from the given root object.
|
static <T> T |
Ognl.getValue(Object tree,
Object root,
Class<T> resultType) |
Evaluates the given OGNL expression tree to extract a value from the given root object.
|
static <T> T |
Ognl.getValue(Object tree,
Map<String,Object> context,
Object root) |
Evaluates the given OGNL expression tree to extract a value from the given root object.
|
static <T> T |
Ognl.getValue(Object tree,
Map<String,Object> context,
Object root,
Class<T> resultType) |
Evaluates the given OGNL expression tree to extract a value from the given root object.
|
static <T> T |
Ognl.getValue(String expression,
Object root) |
Convenience method that combines calls to parseExpression and getValue .
|
static <T> T |
Ognl.getValue(String expression,
Object root,
Class<T> resultType) |
Convenience method that combines calls to parseExpression and getValue .
|
static <T> T |
Ognl.getValue(String expression,
Map<String,Object> context,
Object root) |
Evaluates the given OGNL expression to extract a value from the given root object in a given context
|
static <T> T |
Ognl.getValue(String expression,
Map<String,Object> context,
Object root,
Class<T> resultType) |
Evaluates the given OGNL expression to extract a value from the given root object in a given context
|
static <T> T |
Ognl.getValue(ExpressionAccessor expression,
OgnlContext context,
Object root,
Class<T> resultType) |
Gets the value represented by the given pre-compiled expression on the specified root object.
|
Object |
SimpleNode.getValue(OgnlContext context,
Object source) |
|
protected Object |
ASTAnd.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTChain.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTConst.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTCtor.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTInstanceof.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTList.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTMethod.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTOr.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTProperty.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTRootVarRef.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTSequence.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTStaticField.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTStaticMethod.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTThisVarRef.getValueBody(OgnlContext context,
Object source) |
|
protected Object |
ASTVarRef.getValueBody(OgnlContext context,
Object source) |
|
protected abstract Object |
SimpleNode.getValueBody(OgnlContext context,
Object source) |
Subclasses implement this method to do the actual work of extracting the appropriate value from the source
object.
|
static boolean |
OgnlRuntime.hasGetMethod(OgnlContext context,
Object target,
Class<?> targetClass,
String propertyName) |
|
boolean |
ObjectPropertyAccessor.hasGetProperty(Map<String,Object> context,
Object target,
Object oname) |
|
boolean |
ObjectPropertyAccessor.hasGetProperty(OgnlContext context,
Object target,
Object oname) |
|
static boolean |
OgnlRuntime.hasGetProperty(OgnlContext context,
Object target,
Object oname) |
|
static boolean |
OgnlRuntime.hasSetMethod(OgnlContext context,
Object target,
Class<?> targetClass,
String propertyName) |
|
boolean |
ObjectPropertyAccessor.hasSetProperty(Map<String,Object> context,
Object target,
Object oname) |
|
boolean |
ObjectPropertyAccessor.hasSetProperty(OgnlContext context,
Object target,
Object oname) |
|
static boolean |
OgnlRuntime.hasSetProperty(OgnlContext context,
Object target,
Object oname) |
|
static boolean |
OgnlOps.in(Object v1,
Object v2) |
|
boolean |
ExpressionNode.isConstant(OgnlContext context) |
|
static boolean |
Ognl.isConstant(Object tree) |
|
static boolean |
Ognl.isConstant(Object tree,
Map<String,Object> context) |
Checks if the specified Node instance represents a constant expression.
|
static boolean |
Ognl.isConstant(String expression) |
|
static boolean |
Ognl.isConstant(String expression,
Map<String,Object> context) |
Checks if the specified expression represents a constant expression.
|
boolean |
SimpleNode.isConstant(OgnlContext context) |
|
boolean |
SimpleNode.isEvalChain(OgnlContext context) |
|
static boolean |
OgnlRuntime.isInstance(OgnlContext context,
Object value,
String className) |
|
boolean |
ASTConst.isNodeConstant(OgnlContext context) |
|
boolean |
ASTStaticField.isNodeConstant(OgnlContext context) |
|
boolean |
ExpressionNode.isNodeConstant(OgnlContext context) |
Returns true iff this node is constant without respect to the children.
|
boolean |
SimpleNode.isNodeConstant(OgnlContext context) |
Returns true iff this node is constant without respect to the children.
|
boolean |
ASTProperty.isNodeSimpleProperty(OgnlContext context) |
|
boolean |
SimpleNode.isNodeSimpleProperty(OgnlContext context) |
|
boolean |
ASTChain.isSimpleNavigationChain(OgnlContext context) |
|
static boolean |
Ognl.isSimpleNavigationChain(Object tree) |
|
static boolean |
Ognl.isSimpleNavigationChain(Object tree,
Map<String,Object> context) |
|
static boolean |
Ognl.isSimpleNavigationChain(String expression) |
|
static boolean |
Ognl.isSimpleNavigationChain(String expression,
Map<String,Object> context) |
|
boolean |
SimpleNode.isSimpleNavigationChain(OgnlContext context) |
|
static boolean |
Ognl.isSimpleProperty(Object tree) |
|
static boolean |
Ognl.isSimpleProperty(Object tree,
Map<String,Object> context) |
|
static boolean |
Ognl.isSimpleProperty(String expression) |
|
static boolean |
Ognl.isSimpleProperty(String expression,
Map<String,Object> context) |
|
boolean |
SimpleNode.isSimpleProperty(OgnlContext context) |
|
static Object |
Ognl.parseExpression(String expression) |
Parses the given OGNL expression and returns a tree representation of the expression that can be used by
Ognl static methods.
|
static boolean |
OgnlRuntime.setFieldValue(OgnlContext context,
Object target,
String propertyName,
Object value) |
|
static void |
OgnlRuntime.setIndexedProperty(OgnlContext context,
Object source,
String name,
Object index,
Object value) |
|
static boolean |
OgnlRuntime.setMethodValue(OgnlContext context,
Object target,
String propertyName,
Object value) |
|
static boolean |
OgnlRuntime.setMethodValue(OgnlContext context,
Object target,
String propertyName,
Object value,
boolean checkAccessAndExistence) |
|
Object |
ObjectPropertyAccessor.setPossibleProperty(Map<String,Object> context,
Object target,
String name,
Object value) |
Returns OgnlRuntime.NotFound if the property does not exist.
|
void |
ArrayPropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object name,
Object value) |
|
void |
EnumerationPropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object name,
Object value) |
|
void |
IteratorPropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object name,
Object value) |
|
void |
ListPropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object name,
Object value) |
|
void |
MapPropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object name,
Object value) |
|
void |
ObjectPropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object oname,
Object value) |
|
static void |
OgnlRuntime.setProperty(OgnlContext context,
Object target,
Object name,
Object value) |
|
void |
PropertyAccessor.setProperty(Map<String,Object> context,
Object target,
Object name,
Object value) |
Sets the value of the property of the given name in the given target object.
|
void |
Node.setValue(OgnlContext context,
Object target,
Object value) |
Sets the given value in the given target as appropriate for this node within the given context.
|
static void |
Ognl.setValue(Object tree,
Object root,
Object value) |
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at the given root object.
|
static void |
Ognl.setValue(Object tree,
Map<String,Object> 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.
|
static void |
Ognl.setValue(String expression,
Object root,
Object value) |
Convenience method that combines calls to parseExpression and setValue .
|
static void |
Ognl.setValue(String expression,
Map<String,Object> 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.
|
void |
SimpleNode.setValue(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTAnd.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTChain.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTOr.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTProperty.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTRootVarRef.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTSequence.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTThisVarRef.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
ASTVarRef.setValueBody(OgnlContext context,
Object target,
Object value) |
|
protected void |
SimpleNode.setValueBody(OgnlContext context,
Object target,
Object value) |
Subclasses implement this method to do the actual work of setting the appropriate value in the target object.
|
static Object |
OgnlOps.toArray(boolean value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(boolean value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(byte value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(byte value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(char value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(char value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(double value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(double value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(float value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(float value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(int value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(int value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(long value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(long value,
Class<?> toType,
boolean preventNull) |
|
static Object |
OgnlOps.toArray(Object value,
Class<?> toType) |
|
static Object |
OgnlOps.toArray(Object value,
Class<?> toType,
boolean preventNulls) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTAdd node,
P data) |
|
R |
NodeVisitor.visit(ASTAnd node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTAssign node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTBitAnd node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTBitNegate node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTBitOr node,
P data) |
|
R |
NodeVisitor.visit(ASTChain node,
P data) |
|
R |
NodeVisitor.visit(ASTConst node,
P data) |
|
R |
NodeVisitor.visit(ASTCtor node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTDivide node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTEq node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTEval node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTGreaterEq node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTGreater node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTIn node,
P data) |
|
R |
NodeVisitor.visit(ASTInstanceof node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTKeyValue node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTLessEq node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTLess node,
P data) |
|
R |
NodeVisitor.visit(ASTList node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTMap node,
P data) |
|
R |
NodeVisitor.visit(ASTMethod node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTMultiply node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTNegate node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTNotEq node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTNotIn node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTNot node,
P data) |
|
R |
NodeVisitor.visit(ASTOr node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTProject node,
P data) |
|
R |
NodeVisitor.visit(ASTProperty node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTRemainder node,
P data) |
|
R |
NodeVisitor.visit(ASTRootVarRef node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTSelectFirst node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTSelectLast node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTSelect node,
P data) |
|
R |
NodeVisitor.visit(ASTSequence node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTShiftLeft node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTShiftRight node,
P data) |
|
R |
NodeVisitor.visit(ASTStaticField node,
P data) |
|
R |
NodeVisitor.visit(ASTStaticMethod node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTSubtract node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTTest node,
P data) |
|
R |
NodeVisitor.visit(ASTThisVarRef node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTUnsignedShiftRight node,
P data) |
|
R |
NodeVisitor.visit(ASTVarRef node,
P data) |
|
R |
NodeVisitor.visit(org.apache.commons.ognl.ASTXor node,
P data) |
|