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

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

public class BlockAction
extends AbstractAction
implements Identifiable

The <asl:block> element defines an identifiable block.

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
BlockAction(QName id, Element element, AbstractAction parent)
          Creates a new instance of BlockAction.
 
Method Summary
 QName getId()
          Returns the ID of this object.
static AbstractAction unmarshal(AbstractAction parent, Element element)
          XML unmarshaller for BlockAction.
 
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

BlockAction

public BlockAction(QName id,
                   Element element,
                   AbstractAction parent)
Creates a new instance of BlockAction.

Parameters:
id - The ID of this block of actions.
element - The node 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 BlockAction.

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

getId

public QName getId()
Returns the ID of this object.

Specified by:
getId in interface Identifiable
Returns:
The ID of this object.