public class CompoundRootAccessor extends Object implements ognl.PropertyAccessor, ognl.MethodAccessor, ognl.ClassResolver
| Constructor and Description |
|---|
CompoundRootAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
callMethod(Map context,
Object target,
String name,
Object[] objects) |
Object |
callStaticMethod(Map transientVars,
Class aClass,
String s,
Object[] objects) |
Class |
classForName(String className,
Map context) |
Object |
getProperty(Map context,
Object target,
Object name) |
String |
getSourceAccessor(ognl.OgnlContext context,
Object target,
Object index)
Used by OGNl to generate bytecode
|
String |
getSourceSetter(ognl.OgnlContext context,
Object target,
Object index)
Used by OGNl to generate bytecode
|
protected void |
setDevMode(String mode) |
void |
setProperty(Map context,
Object target,
Object name,
Object value) |
public String getSourceAccessor(ognl.OgnlContext context, Object target, Object index)
getSourceAccessor in interface ognl.PropertyAccessorpublic String getSourceSetter(ognl.OgnlContext context, Object target, Object index)
getSourceSetter in interface ognl.PropertyAccessorprotected void setDevMode(String mode)
public void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException
setProperty in interface ognl.PropertyAccessorognl.OgnlExceptionpublic Object getProperty(Map context, Object target, Object name) throws ognl.OgnlException
getProperty in interface ognl.PropertyAccessorognl.OgnlExceptionpublic Object callMethod(Map context, Object target, String name, Object[] objects) throws ognl.MethodFailedException
callMethod in interface ognl.MethodAccessorognl.MethodFailedExceptionpublic Object callStaticMethod(Map transientVars, Class aClass, String s, Object[] objects) throws ognl.MethodFailedException
callStaticMethod in interface ognl.MethodAccessorognl.MethodFailedExceptionpublic Class classForName(String className, Map context) throws ClassNotFoundException
classForName in interface ognl.ClassResolverClassNotFoundExceptionCopyright © 2000–2023 Apache Software Foundation. All rights reserved.