|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of OgnlContext in ognl |
---|
Methods in ognl with parameters of type OgnlContext | |
---|---|
static Object |
OgnlRuntime.callAppropriateMethod(OgnlContext context,
Object source,
Object target,
String methodName,
String propertyName,
List methods,
Object[] args)
|
static Object |
OgnlRuntime.callConstructor(OgnlContext context,
String className,
Object[] args)
|
static Object |
OgnlRuntime.callMethod(OgnlContext context,
Object target,
String methodName,
String propertyName,
Object[] args)
|
static Object |
OgnlRuntime.callStaticMethod(OgnlContext context,
String className,
String methodName,
Object[] args)
|
static Class |
OgnlRuntime.classForName(OgnlContext context,
String className)
|
protected Object |
SimpleNode.evaluateGetValueBody(OgnlContext context,
Object source)
|
protected void |
SimpleNode.evaluateSetValueBody(OgnlContext context,
Object target,
Object value)
|
static Method |
OgnlRuntime.getAppropriateMethod(OgnlContext context,
Object source,
Object target,
String methodName,
String propertyName,
List methods,
Object[] args,
Object[] actualArgs)
Gets the appropriate method to be called for the given target, method name and arguments. |
static Constructor |
OgnlRuntime.getConvertedConstructorAndArgs(OgnlContext context,
Object target,
List constructors,
Object[] args,
Object[] newArgs)
|
static Method |
OgnlRuntime.getConvertedMethodAndArgs(OgnlContext context,
Object target,
String propertyName,
List methods,
Object[] args,
Object[] newArgs)
|
static Object |
OgnlRuntime.getConvertedType(OgnlContext context,
Object target,
Member member,
String propertyName,
Object value,
Class type)
|
static boolean |
OgnlRuntime.getConvertedTypes(OgnlContext context,
Object target,
Member member,
String propertyName,
Class[] parameterTypes,
Object[] args,
Object[] newArgs)
|
static Object |
OgnlRuntime.getFieldValue(OgnlContext context,
Object target,
String propertyName)
|
static Object |
OgnlRuntime.getFieldValue(OgnlContext context,
Object target,
String propertyName,
boolean checkAccessAndExistence)
|
static Method |
OgnlRuntime.getGetMethod(OgnlContext context,
Class targetClass,
String propertyName)
|
static Object |
OgnlRuntime.getIndexedProperty(OgnlContext context,
Object source,
String name,
Object index)
|
static int |
OgnlRuntime.getIndexedPropertyType(OgnlContext context,
Class sourceClass,
String name)
Determines the index property type, if any. |
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. |
static Object |
OgnlRuntime.getProperty(OgnlContext context,
Object source,
Object name)
|
static Method |
OgnlRuntime.getSetMethod(OgnlContext context,
Class targetClass,
String propertyName)
|
static Object |
OgnlRuntime.getStaticField(OgnlContext context,
String className,
String fieldName)
|
Object |
SimpleNode.getValue(OgnlContext context,
Object source)
|
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. |
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.hasField(OgnlContext context,
Object target,
Class inClass,
String propertyName)
|
static boolean |
OgnlRuntime.hasGetMethod(OgnlContext context,
Object target,
Class targetClass,
String propertyName)
|
static boolean |
OgnlRuntime.hasGetProperty(OgnlContext context,
Object target,
Object oname)
|
boolean |
ObjectPropertyAccessor.hasGetProperty(OgnlContext context,
Object target,
Object oname)
|
static boolean |
OgnlRuntime.hasSetMethod(OgnlContext context,
Object target,
Class targetClass,
String propertyName)
|
static boolean |
OgnlRuntime.hasSetProperty(OgnlContext context,
Object target,
Object oname)
|
boolean |
ObjectPropertyAccessor.hasSetProperty(OgnlContext context,
Object target,
Object oname)
|
boolean |
SimpleNode.isConstant(OgnlContext context)
|
boolean |
ExpressionNode.isConstant(OgnlContext context)
|
static boolean |
OgnlRuntime.isFieldAccessible(OgnlContext context,
Object target,
Class inClass,
String propertyName)
|
static boolean |
OgnlRuntime.isFieldAccessible(OgnlContext context,
Object target,
Field field,
String propertyName)
|
static boolean |
OgnlRuntime.isInstance(OgnlContext context,
Object value,
String className)
|
static boolean |
OgnlRuntime.isMethodAccessible(OgnlContext context,
Object target,
Method method,
String propertyName)
|
boolean |
SimpleNode.isNodeConstant(OgnlContext context)
Returns true iff this node is constant without respect to the children. |
boolean |
ExpressionNode.isNodeConstant(OgnlContext context)
Returns true iff this node is constant without respect to the children. |
boolean |
SimpleNode.isNodeSimpleProperty(OgnlContext context)
|
boolean |
SimpleNode.isSimpleNavigationChain(OgnlContext context)
|
boolean |
SimpleNode.isSimpleProperty(OgnlContext context)
|
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)
|
static void |
OgnlRuntime.setProperty(OgnlContext context,
Object target,
Object name,
Object value)
|
void |
SimpleNode.setValue(OgnlContext context,
Object target,
Object value)
|
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. |
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. |
|
OGNL Project Page | |||||||||
PREV NEXT | FRAMES NO FRAMES |