org.inria.ns.reflex.processor
Class PropertyResolver.Impl

java.lang.Object
  extended by org.inria.ns.reflex.processor.PropertyResolver.Impl
All Implemented Interfaces:
PropertyResolver
Direct Known Subclasses:
CookiesProperty, DataSetProperty, DateProperty, EncodingProperty, EnvProperty, InProperty, MacroProperty, MaxOccursProperty, MinOccursProperty, NullProperty, OutputProperty, SessionProperty, SessionProperty, ThisProperty, ThisProperty
Enclosing interface:
PropertyResolver

public abstract static class PropertyResolver.Impl
extends Object
implements PropertyResolver

A default implementation that does nothing.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.PropertyResolver
PropertyResolver.Impl
 
Constructor Summary
PropertyResolver.Impl()
           
 
Method Summary
 Object getPropertyValue(DataSet dataSet, QName propertyName)
          Return null.
 Object removeProperty(DataSet dataSet, QName propertyName)
          Return null.
 void setPropertyValue(DataSet dataSet, QName propertyName, Object value)
          Do nothing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyResolver.Impl

public PropertyResolver.Impl()
Method Detail

getPropertyValue

public Object getPropertyValue(DataSet dataSet,
                               QName propertyName)
                        throws RecoverableException
Return null.

Specified by:
getPropertyValue in interface PropertyResolver
Parameters:
dataSet - The set of datas used when the action is running. A concrete implementation must never try to find the property required in the data set because it would cause an infinite loop ! The data set may be used to retrieve other properties that can't be delivered by the current implementation of this interface.
propertyName - The name of the property.
Returns:
null.
Throws:
RecoverableException

setPropertyValue

public void setPropertyValue(DataSet dataSet,
                             QName propertyName,
                             Object value)
                      throws RecoverableException
Do nothing.

Specified by:
setPropertyValue in interface PropertyResolver
Parameters:
dataSet - The set of datas used when the action is running. A concrete implementation must never try to find the property required in the data set because it would cause an infinite loop ! The data set may be used to retrieve other properties that can't be delivered by the current implementation of this interface.
propertyName - The name of the property.
Throws:
RecoverableException - When the property cause an error.

removeProperty

public Object removeProperty(DataSet dataSet,
                             QName propertyName)
                      throws RecoverableException
Return null.

Specified by:
removeProperty in interface PropertyResolver
Parameters:
dataSet - The set of datas used when the action is running. A concrete implementation must never try to find the property required in the data set because it would cause an infinite loop ! The data set may be used to retrieve other properties that can't be delivered by the current implementation of this interface.
propertyName - The name of the property.
Returns:
null.
Throws:
RecoverableException - When the property cause an error.