com.opensymphony.xwork.util
Class ObjectProxyPropertyAccessor
java.lang.Object
com.opensymphony.xwork.util.ObjectProxyPropertyAccessor
- All Implemented Interfaces:
- ognl.PropertyAccessor
public class ObjectProxyPropertyAccessor
- extends Object
- implements ognl.PropertyAccessor
Is able to access (set/get) properties on a given object.
Uses Ognl internal.
- Author:
- Gabe, tmjee
Method Summary |
Object |
getProperty(Map context,
Object target,
Object name)
|
Class |
getPropertyClass(ognl.OgnlContext ognlcontext,
Object target,
Object name)
|
String |
getSourceAccessor(ognl.OgnlContext ognlcontext,
Object target,
Object name)
|
String |
getSourceSetter(ognl.OgnlContext ognlcontext,
Object target,
Object name)
|
void |
setProperty(Map context,
Object target,
Object name,
Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectProxyPropertyAccessor
public ObjectProxyPropertyAccessor()
getProperty
public Object getProperty(Map context,
Object target,
Object name)
throws ognl.OgnlException
- Specified by:
getProperty
in interface ognl.PropertyAccessor
- Throws:
ognl.OgnlException
setProperty
public void setProperty(Map context,
Object target,
Object name,
Object value)
throws ognl.OgnlException
- Specified by:
setProperty
in interface ognl.PropertyAccessor
- Throws:
ognl.OgnlException
getPropertyClass
public Class getPropertyClass(ognl.OgnlContext ognlcontext,
Object target,
Object name)
getSourceAccessor
public String getSourceAccessor(ognl.OgnlContext ognlcontext,
Object target,
Object name)
getSourceSetter
public String getSourceSetter(ognl.OgnlContext ognlcontext,
Object target,
Object name)