org.javasteps.parsers
Class ConditionStepParser
java.lang.Object
org.javasteps.parsers.ConditionStepParser
- All Implemented Interfaces:
- StepParser
public class ConditionStepParser
- extends Object
- implements StepParser
Parser for ConditionSteps
- Version:
- 1.1
- Author:
- Ran Kornfeld
Method Summary |
boolean |
parse(Element element,
StepsList steps)
If should, parses the element and adds the step(s) to the process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionStepParser
public ConditionStepParser()
parse
public boolean parse(Element element,
StepsList steps)
throws ProcessParsingException
- Description copied from interface:
StepParser
- If should, parses the element and adds the step(s) to the process
- Specified by:
parse
in interface StepParser
- Parameters:
element
- The DOM element to parsesteps
- The steps list the parsed step should be added to
- Returns:
- true if this StepParser handled the element, false otherwise
- Throws:
ProcessParsingException
- throws if the element cannot be parsed- See Also:
StepParser.parse(Element element,StepsList steps)