Package org.apache.struts2.ognl.accessor
Class CompoundRootAccessor
java.lang.Object
org.apache.struts2.ognl.accessor.CompoundRootAccessor
- All Implemented Interfaces:
- ognl.ClassResolver,- ognl.MethodAccessor,- ognl.PropertyAccessor,- RootAccessor
A stack that is able to call methods on objects in the stack.
- Version:
- $Revision$
- Author:
- $Author$, Rainer Hermanns
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncallMethod(Map context, Object target, String name, Object[] objects) callStaticMethod(Map transientVars, Class aClass, String s, Object[] objects) classForName(String className, Map context) getProperty(Map context, Object target, Object name) getSourceAccessor(ognl.OgnlContext context, Object target, Object index) Used by OGNl to generate bytecodegetSourceSetter(ognl.OgnlContext context, Object target, Object index) Used by OGNl to generate bytecodeprotected voidsetDevMode(String mode) voidsetProperty(Map context, Object target, Object name, Object value) voiduseDisallowCustomOgnlMap(String disallowCustomOgnlMap) 
- 
Constructor Details- 
CompoundRootAccessorpublic CompoundRootAccessor()
 
- 
- 
Method Details- 
getSourceAccessorUsed by OGNl to generate bytecode- Specified by:
- getSourceAccessorin interface- ognl.PropertyAccessor
 
- 
getSourceSetterUsed by OGNl to generate bytecode- Specified by:
- getSourceSetterin interface- ognl.PropertyAccessor
 
- 
setDevMode
- 
useDisallowCustomOgnlMap
- 
setPropertypublic void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException - Specified by:
- setPropertyin interface- ognl.PropertyAccessor
- Throws:
- ognl.OgnlException
 
- 
getProperty- Specified by:
- getPropertyin interface- ognl.PropertyAccessor
- Throws:
- ognl.OgnlException
 
- 
callMethodpublic Object callMethod(Map context, Object target, String name, Object[] objects) throws ognl.MethodFailedException - Specified by:
- callMethodin interface- ognl.MethodAccessor
- Throws:
- ognl.MethodFailedException
 
- 
callStaticMethodpublic Object callStaticMethod(Map transientVars, Class aClass, String s, Object[] objects) throws ognl.MethodFailedException - Specified by:
- callStaticMethodin interface- ognl.MethodAccessor
- Throws:
- ognl.MethodFailedException
 
- 
classForName- Specified by:
- classForNamein interface- ognl.ClassResolver
- Throws:
- ClassNotFoundException
 
 
-