net.sf.doolin.oxml.action
Class ForOXMLAction
java.lang.Object
net.sf.doolin.oxml.action.AbstractOXMLAction
net.sf.doolin.oxml.action.AbstractSequenceOXMLAction
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:
node - (required) XPath evaluated from the current node,
which gives a list of nodes
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForOXMLAction
public ForOXMLAction()
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.