com.opensymphony.xwork2.ognl.accessor
Class ObjectProxyPropertyAccessor
java.lang.Object
com.opensymphony.xwork2.ognl.accessor.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
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
setupContext
private void setupContext(Map context,
ObjectProxy proxy)
- Sets up the context with the last property and last class
accessed.
- Parameters:
context
- proxy
-
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.