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

java.lang.Object
  extended by org.inria.ns.reflex.processor.core.AbstractAction
      extended by org.inria.ns.reflex.processor.asl.AbstractStepAction
          extended by org.inria.ns.reflex.processor.asl.AbstractPrimitiveModelAction
              extended by org.inria.ns.reflex.processor.asl.SelectAction
All Implemented Interfaces:
Executable, Identifiable, Presentable, NamespaceContextFactory

public class SelectAction
extends AbstractPrimitiveModelAction

The <asl:select> element defines a selection list.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.AbstractStepAction
AbstractStepAction.ItemsLists
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.core.AbstractAction
AbstractAction.ParameterAdapter, AbstractAction.UselessAction
 
Field Summary
 
Fields inherited from class org.inria.ns.reflex.processor.asl.AbstractStepAction
STEP_USED_BUBBLE_MESSAGE
 
Fields inherited from class org.inria.ns.reflex.processor.core.AbstractAction
actions, parent, processorInstance
 
Constructor Summary
SelectAction(Expression minOccurs, Expression maxOccurs, int repeating, Element element, AbstractAction parent)
          Creates a new instance of SelectAction.
 
Method Summary
static AbstractAction unmarshal(AbstractAction parent, Element element)
          XML unmarshaller for SelectAction.
 
Methods inherited from class org.inria.ns.reflex.processor.asl.AbstractStepAction
computeOccurs, getId, getMaxOccurs, getMinOccurs, invokeHandler, runAction, stableRun, unstableRun
 
Methods inherited from class org.inria.ns.reflex.processor.core.AbstractAction
addAction, addFallbackAction, createContext, getCanonicalPath, getFallbackAction, getLocalFallbackAction, getLogger, getNamespaceContext, getNode, getParent, recover, recover, removeFallbackAction, reorganize, run, runActions, toPrettyString, toPrettyString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectAction

public SelectAction(Expression minOccurs,
                    Expression maxOccurs,
                    int repeating,
                    Element element,
                    AbstractAction parent)
Creates a new instance of SelectAction.

Parameters:
minOccurs - The min occurs when repeating this step.
maxOccurs - The max occurs when repeating this step.
element - The element from which the action has been unmarshalled. Used for namespace prefix resolution when performing XPath expressions.
parent - The action depending from.
Method Detail

unmarshal

public static AbstractAction unmarshal(AbstractAction parent,
                                       Element element)
                                throws XMLException
XML unmarshaller for SelectAction.

Parameters:
parent - The action depending from.
element - The XML element to unmarshall.
Returns:
The SelectAction created.
Throws:
XMLException - When the element and its content is not those expected.