org.javasteps.parsers
Interface StepParser

All Known Implementing Classes:
ActionStepParser, ConditionStepParser, IncludeStepParser

public interface StepParser

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
 

Method Detail

parse

boolean parse(Element element,
              StepsList steps)
              throws ProcessParsingException
If should, parses the element and adds the step(s) to the process

Parameters:
element - The DOM element to parse
steps - 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