net.sf.doolin.oxml.action
Class IfOXMLAction
java.lang.Object
net.sf.doolin.oxml.action.AbstractOXMLAction
net.sf.doolin.oxml.action.AbstractSequenceOXMLAction
net.sf.doolin.oxml.action.IfOXMLAction
- All Implemented Interfaces:
- OXMLAction
public class IfOXMLAction
- extends AbstractSequenceOXMLAction
if action. This action evaluates an XPath expression as a
boolean in order to execute or not all the inner actions.
Parameters of this action are:
test - (required) XPath expression evaluated as a boolean.
It is relative to the current node.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfOXMLAction
public IfOXMLAction()
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.