org.inria.ns.reflex.util.wunit
Class SubmitAction

java.lang.Object
  extended by org.inria.ns.reflex.processor.core.AbstractAction
      extended by org.inria.ns.reflex.util.wunit.SubmitAction
All Implemented Interfaces:
Executable, Presentable, NamespaceContextFactory
Direct Known Subclasses:
HtmlAction

public abstract class SubmitAction
extends AbstractAction

<wunit:submit> either a click or an HTTP request or a form to a servlet container.

Author:
Philippe Poulard

Nested Class Summary
 
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.core.AbstractAction
actions, parent, processorInstance
 
Constructor Summary
SubmitAction(Node node, AbstractAction parent)
          Create a new SubmitAction.
 
Method Summary
static AbstractAction unmarshal(AbstractAction parent, Element element)
          XML unmarshaller for SubmitAction.
 
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, runAction, runActions, toPrettyString, toPrettyString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubmitAction

public SubmitAction(Node node,
                    AbstractAction parent)
Create a new SubmitAction.

Parameters:
node - The XML node used for unmarshalling.
parent - The parent action.
Method Detail

unmarshal

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

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