org.inria.ns.reflex.processor.asl
Class MaxOccursProperty

java.lang.Object
  extended by org.inria.ns.reflex.processor.PropertyResolver.Impl
      extended by org.inria.ns.reflex.processor.asl.MaxOccursProperty
All Implemented Interfaces:
PropertyResolver

public class MaxOccursProperty
extends PropertyResolver.Impl

The $asl:max-occurs property value computed on behalf a step.

Author:
Philippe Poulard

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

Constructor Detail

MaxOccursProperty

public MaxOccursProperty()
Method Detail

getPropertyValue

public Object getPropertyValue(DataSet dataSet,
                               QName propertyName)
                        throws RecoverableException
Return the max occurs value.

Specified by:
getPropertyValue in interface PropertyResolver
Overrides:
getPropertyValue in class PropertyResolver.Impl
Parameters:
dataSet - The set of datas used when the action is running.
propertyName - The name of the property.
Returns:
The processor instance used.
Throws:
RecoverableException - If the value can't be computed.