org.apache.struts2.s1
Class DynaBeanPropertyAccessor
java.lang.Object
org.apache.struts2.s1.DynaBeanPropertyAccessor
- All Implemented Interfaces:
- ognl.PropertyAccessor
public class DynaBeanPropertyAccessor
- extends java.lang.Object
- implements ognl.PropertyAccessor
Provides access to DynaBean properties in OGNL
Method Summary |
java.lang.Object |
getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name)
|
java.lang.String |
getSourceAccessor(ognl.OgnlContext ognlContext,
java.lang.Object o,
java.lang.Object o1)
Used by OGNL to generate bytecode |
java.lang.String |
getSourceSetter(ognl.OgnlContext ognlContext,
java.lang.Object o,
java.lang.Object o1)
Used by OGNL to generate bytecode |
void |
setProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynaBeanPropertyAccessor
public DynaBeanPropertyAccessor()
getSourceAccessor
public java.lang.String getSourceAccessor(ognl.OgnlContext ognlContext,
java.lang.Object o,
java.lang.Object o1)
- Used by OGNL to generate bytecode
- Specified by:
getSourceAccessor
in interface ognl.PropertyAccessor
getSourceSetter
public java.lang.String getSourceSetter(ognl.OgnlContext ognlContext,
java.lang.Object o,
java.lang.Object o1)
- Used by OGNL to generate bytecode
- Specified by:
getSourceSetter
in interface ognl.PropertyAccessor
getProperty
public java.lang.Object getProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name)
throws ognl.OgnlException
- Specified by:
getProperty
in interface ognl.PropertyAccessor
- Throws:
ognl.OgnlException
setProperty
public void setProperty(java.util.Map context,
java.lang.Object target,
java.lang.Object name,
java.lang.Object value)
throws ognl.OgnlException
- Specified by:
setProperty
in interface ognl.PropertyAccessor
- Throws:
ognl.OgnlException
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.