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.PropertyAccessor
public String getSourceSetter(ognl.OgnlContext context, Object target, Object index)
getSourceSetter
in interface ognl.PropertyAccessor
protected void setDevMode(String mode)
public void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException
setProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
public Object getProperty(Map context, Object target, Object name) throws ognl.OgnlException
getProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
public Object callMethod(Map context, Object target, String name, Object[] objects) throws ognl.MethodFailedException
callMethod
in interface ognl.MethodAccessor
ognl.MethodFailedException
public Object callStaticMethod(Map transientVars, Class aClass, String s, Object[] objects) throws ognl.MethodFailedException
callStaticMethod
in interface ognl.MethodAccessor
ognl.MethodFailedException
public Class classForName(String className, Map context) throws ClassNotFoundException
classForName
in interface ognl.ClassResolver
ClassNotFoundException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.