com.opensymphony.xwork.util
Class XWorkMapPropertyAccessor

java.lang.Object
  extended byognl.MapPropertyAccessor
      extended bycom.opensymphony.xwork.util.XWorkMapPropertyAccessor
All Implemented Interfaces:
ognl.PropertyAccessor

public class XWorkMapPropertyAccessor
extends ognl.MapPropertyAccessor

Implementation of PropertyAccessor that sets and gets properties by storing and looking up values in Maps.

Author:
Gabriel Zimmerman

Constructor Summary
XWorkMapPropertyAccessor()
           
 
Method Summary
 Object getProperty(Map context, 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
 

Constructor Detail

XWorkMapPropertyAccessor

public XWorkMapPropertyAccessor()
Method Detail

getProperty

public Object getProperty(Map context,
                          Object target,
                          Object name)
                   throws ognl.OgnlException
Throws:
ognl.OgnlException

setProperty

public void setProperty(Map context,
                        Object target,
                        Object name,
                        Object value)
                 throws ognl.OgnlException
Throws:
ognl.OgnlException

XWork Project Page