| Method from com.opensymphony.xwork2.ognl.OgnlReflectionProvider Detail: |
public void copy(Object from,
Object to,
Map context,
Collection exclusions,
Collection inclusions) {
ognlUtil.copy(from, to, context, exclusions, inclusions);
}
|
public Map getBeanMap(Object source) throws IntrospectionException, ReflectionException {
try {
return ognlUtil.getBeanMap(source);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|
public Field getField(Class inClass,
String name) {
return OgnlRuntime.getField(inClass, name);
}
|
public Method getGetMethod(Class targetClass,
String propertyName) throws IntrospectionException, ReflectionException {
try {
return OgnlRuntime.getGetMethod(null, targetClass, propertyName);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|
public PropertyDescriptor getPropertyDescriptor(Class targetClass,
String propertyName) throws IntrospectionException, ReflectionException {
try {
return OgnlRuntime.getPropertyDescriptor(targetClass, propertyName);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|
public PropertyDescriptor[] getPropertyDescriptors(Object source) throws IntrospectionException {
return ognlUtil.getPropertyDescriptors(source);
}
|
public Object getRealTarget(String property,
Map context,
Object root) throws ReflectionException {
try {
return ognlUtil.getRealTarget(property, context, root);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|
public Method getSetMethod(Class targetClass,
String propertyName) throws IntrospectionException, ReflectionException {
try {
return OgnlRuntime.getSetMethod(null, targetClass, propertyName);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|
public Object getValue(String expression,
Map context,
Object root) throws ReflectionException {
try {
return ognlUtil.getValue(expression, context, root);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|
public void setOgnlUtil(OgnlUtil ognlUtil) {
this.ognlUtil = ognlUtil;
}
|
public void setProperties(Map properties,
Object o) {
ognlUtil.setProperties(properties, o);
}
|
public void setProperties(Map props,
Object o,
Map context) {
ognlUtil.setProperties(props, o, context);
}
|
public void setProperties(Map props,
Object o,
Map context,
boolean throwPropertyExceptions) {
ognlUtil.setProperties(props, o, context, throwPropertyExceptions);
}
|
public void setProperty(String name,
Object value,
Object o,
Map context) {
ognlUtil.setProperty(name, value, o, context);
}
|
public void setValue(String expression,
Map context,
Object root,
Object value) throws ReflectionException {
try {
Ognl.setValue(expression, context, root, value);
} catch (OgnlException e) {
throw new ReflectionException(e);
}
}
|