public class OgnlUtil extends Object
| Constructor and Description |
|---|
OgnlUtil() |
public void setDevMode(String mode)
public void setEnableExpressionCache(String cache)
public void setEnableEvalExpression(String evalExpression)
public void setExcludedClasses(String commaDelimitedClasses)
public void setExcludedPackageNamePatterns(String commaDelimitedPackagePatterns)
public void setExcludedPackageNames(String commaDelimitedPackageNames)
public void setAllowStaticMethodAccess(String allowStaticMethodAccess)
public void setProperties(Map<String,?> props, Object o, Map<String,Object> context, boolean throwPropertyExceptions) throws ReflectionException
ReflectionExceptionpublic void setProperties(Map<String,?> properties, Object o, boolean throwPropertyExceptions)
public 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 Object getRealTarget(String property, Map<String,Object> context, Object root) throws OgnlException
OgnlExceptionpublic void setValue(String name, Map<String,Object> context, Object root, Object value) throws OgnlException
OgnlExceptionpublic Object getValue(String name, Map<String,Object> context, Object root) throws OgnlException
OgnlExceptionpublic Object callMethod(String name, Map<String,Object> context, Object root) throws OgnlException
OgnlExceptionpublic Object getValue(String name, Map<String,Object> context, Object root, Class resultType) throws OgnlException
OgnlExceptionpublic Object compile(String expression) throws OgnlException
OgnlExceptionpublic Object compile(String expression, Map<String,Object> context) throws OgnlException
OgnlExceptionpublic void copy(Object from, Object to, Map<String,Object> context, Collection<String> exclusions, Collection<String> inclusions)
public PropertyDescriptor[] getPropertyDescriptors(Object source) throws IntrospectionException
IntrospectionExceptionpublic PropertyDescriptor[] getPropertyDescriptors(Class clazz) throws IntrospectionException
IntrospectionExceptionpublic Map<String,Object> getBeanMap(Object source) throws IntrospectionException, OgnlException
IntrospectionExceptionOgnlExceptionpublic BeanInfo getBeanInfo(Object from) throws IntrospectionException
IntrospectionExceptionpublic BeanInfo getBeanInfo(Class clazz) throws IntrospectionException
IntrospectionExceptionprotected Map createDefaultContext(Object root, ClassResolver classResolver)
Copyright © 2022. All rights reserved.