net.sf.jabb.stdr.dispatcher
Class TemplateDispatcherResult.TemplatePropertyAccessor

java.lang.Object
  extended by ognl.ObjectPropertyAccessor
      extended by net.sf.jabb.stdr.dispatcher.TemplateDispatcherResult.TemplatePropertyAccessor
All Implemented Interfaces:
ognl.PropertyAccessor
Enclosing class:
TemplateDispatcherResult

public static class TemplateDispatcherResult.TemplatePropertyAccessor
extends ognl.ObjectPropertyAccessor

This is the class used to avoid ognl.NoSuchPropertyException when the framework tries to set parameters by ognl.

Author:
James (Zhengmao HU)

Constructor Summary
TemplateDispatcherResult.TemplatePropertyAccessor()
           
 
Method Summary
 Object getProperty(Map context, Object target, Object oname)
           
 void setProperty(Map context, Object target, Object oname, Object value)
           
 
Methods inherited from class ognl.ObjectPropertyAccessor
getPossibleProperty, getPropertyClass, getSourceAccessor, getSourceSetter, hasGetProperty, hasGetProperty, hasSetProperty, hasSetProperty, setPossibleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateDispatcherResult.TemplatePropertyAccessor

public TemplateDispatcherResult.TemplatePropertyAccessor()
Method Detail

getProperty

public Object getProperty(Map context,
                          Object target,
                          Object oname)
                   throws ognl.OgnlException
Specified by:
getProperty in interface ognl.PropertyAccessor
Overrides:
getProperty in class ognl.ObjectPropertyAccessor
Throws:
ognl.OgnlException
See Also:
PropertyAccessor.getProperty(java.util.Map, java.lang.Object, java.lang.Object)

setProperty

public void setProperty(Map context,
                        Object target,
                        Object oname,
                        Object value)
                 throws ognl.OgnlException
Specified by:
setProperty in interface ognl.PropertyAccessor
Overrides:
setProperty in class ognl.ObjectPropertyAccessor
Throws:
ognl.OgnlException
See Also:
PropertyAccessor.setProperty(java.util.Map, java.lang.Object, java.lang.Object, java.lang.Object)


Copyright © 2012. All Rights Reserved.