net.sf.doolin.oxml.action
Class SequenceOXMLAction

java.lang.Object
  extended by net.sf.doolin.oxml.action.AbstractOXMLAction
      extended by net.sf.doolin.oxml.action.AbstractSequenceOXMLAction
          extended by net.sf.doolin.oxml.action.SequenceOXMLAction
All Implemented Interfaces:
OXMLAction

public class SequenceOXMLAction
extends AbstractSequenceOXMLAction

sequence action. This action just stores its inner actions and can be executed later by the include action.

Parameters of this action are:

Author:
Damien Coraboeuf

Constructor Summary
SequenceOXMLAction()
           
 
Method Summary
 void execute(OXMLContext context)
          Executes the sequence
 String getId()
          Gets the id.
 void parse(Element e)
          Parses each child.
 void process(OXMLContext context)
          Processes each sub action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceOXMLAction

public SequenceOXMLAction()
Method Detail

execute

public void execute(OXMLContext context)
Executes the sequence

Parameters:
context - Execution context

getId

public String getId()
Gets the id.

Returns:
the id

parse

public void parse(Element e)
           throws IOException
Parses each child.

Specified by:
parse in interface OXMLAction
Overrides:
parse in class AbstractSequenceOXMLAction
Parameters:
e - Configuration element for this action.
Throws:
IOException - If the element cannot be parsed
See Also:
OXMLAction.parse(org.w3c.dom.Element)

process

public void process(OXMLContext context)
Processes each sub action.

Specified by:
process in interface OXMLAction
Overrides:
process in class AbstractSequenceOXMLAction
Parameters:
context - Execution context
See Also:
OXMLAction.process(net.sf.doolin.oxml.OXMLContext)


Copyright © 2011. All Rights Reserved.