public class OgnlReflectionProvider extends Object
| Constructor and Description |
|---|
OgnlReflectionProvider() |
public void setOgnlUtil(OgnlUtil ognlUtil)
public Method getGetMethod(Class targetClass, String propertyName) throws IntrospectionException, ReflectionException
public Method getSetMethod(Class targetClass, String propertyName) throws IntrospectionException, ReflectionException
public void setProperties(Map<String,?> props, Object o, Map<String,Object> context, boolean throwPropertyExceptions) throws ReflectionException
ReflectionExceptionpublic PropertyDescriptor getPropertyDescriptor(Class targetClass, String propertyName) throws IntrospectionException, ReflectionException
public void copy(Object from, Object to, Map<String,Object> context, Collection<String> exclusions, Collection<String> inclusions)
public Object getRealTarget(String property, Map<String,Object> context, Object root) throws ReflectionException
ReflectionExceptionpublic void setProperty(String name, Object value, Object o, Map<String,Object> context)
public void setProperty(String name, Object value, Object o, Map<String,Object> context, boolean throwPropertyExceptions)
public Map getBeanMap(Object source) throws IntrospectionException, ReflectionException
public Object getValue(String expression, Map<String,Object> context, Object root) throws ReflectionException
ReflectionExceptionpublic void setValue(String expression, Map<String,Object> context, Object root, Object value) throws ReflectionException
ReflectionExceptionpublic PropertyDescriptor[] getPropertyDescriptors(Object source) throws IntrospectionException
IntrospectionExceptionCopyright © 2022. All rights reserved.