net.sf.doolin.oxml.action
Class CheckOXMLAction
java.lang.Object
net.sf.doolin.oxml.action.AbstractOXMLAction
net.sf.doolin.oxml.action.CheckOXMLAction
- All Implemented Interfaces:
- OXMLAction
public class CheckOXMLAction
- extends AbstractOXMLAction
check action. This action checks if a given value is equal to
the expected one.
Parameters of this action are:
node - (required) XPath to the node to evaluate, relative to
the current node
value - (required) Expected value
- Author:
- Damien Coraboeuf
|
Method Summary |
void |
parse(Element e)
Parses the action from an XML configuration. |
void |
process(OXMLContext context)
Processes the action against a context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckOXMLAction
public CheckOXMLAction()
parse
public void parse(Element e)
throws IOException
- Description copied from interface:
OXMLAction
- Parses the action from an XML configuration.
- Parameters:
e - Configuration element for this action.
- Throws:
IOException - If the element cannot be parsed
process
public void process(OXMLContext context)
- Description copied from interface:
OXMLAction
- Processes the action against a context
- Parameters:
context - Execution context
Copyright © 2011. All Rights Reserved.