|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ognl.accessor.ObjectProxyPropertyAccessor
public class ObjectProxyPropertyAccessor
Is able to access (set/get) properties on a given object.
Uses Ognl internal.
Constructor Summary | |
---|---|
ObjectProxyPropertyAccessor()
|
Method Summary | |
---|---|
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 |
void |
setProperty(Map context,
Object target,
Object name,
Object value)
|
private void |
setupContext(Map context,
ObjectProxy proxy)
Sets up the context with the last property and last class accessed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectProxyPropertyAccessor()
Method Detail |
---|
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
public Object getProperty(Map context, Object target, Object name) throws ognl.OgnlException
getProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
public void setProperty(Map context, Object target, Object name, Object value) throws ognl.OgnlException
setProperty
in interface ognl.PropertyAccessor
ognl.OgnlException
private void setupContext(Map context, ObjectProxy proxy)
context
- proxy
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |