net.sf.doolin.oxml.action
Class ForOXMLAction

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.ForOXMLAction
All Implemented Interfaces:
OXMLAction

public class ForOXMLAction
extends AbstractSequenceOXMLAction

for action. This actions loops over a list of node and evaluates all the inner actions for each of the nodes. For the inner actions, the current node becomes the current node in the loop. The for action is actually the only way to change the current node.

Parameters for this action are:

Author:
Damien Coraboeuf

Constructor Summary
ForOXMLAction()
           
 
Method Summary
 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

ForOXMLAction

public ForOXMLAction()
Method Detail

parse

public void parse(Element e)
           throws IOException
Description copied from class: AbstractSequenceOXMLAction
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)
Description copied from class: AbstractSequenceOXMLAction
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.