com.opensymphony.xwork.util
Class XWorkMapPropertyAccessor

java.lang.Object
  extended by ognl.MapPropertyAccessor
      extended by com.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
 java.lang.Object getProperty(java.util.Map context, java.lang.Object target, java.lang.Object name)
           
 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
 

Constructor Detail

XWorkMapPropertyAccessor

public XWorkMapPropertyAccessor()
Method Detail

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
Overrides:
getProperty in class ognl.MapPropertyAccessor
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
Overrides:
setProperty in class ognl.MapPropertyAccessor
Throws:
ognl.OgnlException

XWork Project Page