org.javasteps.parsers
Class IncludeStepParser

java.lang.Object
  extended by org.javasteps.parsers.IncludeStepParser
All Implemented Interfaces:
StepParser

public class IncludeStepParser
extends Object
implements StepParser

Parser for IncludeSteps

Version:
1.1
Author:
Ran Kornfeld

Constructor Summary
IncludeStepParser()
           
 
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
 

Constructor Detail

IncludeStepParser

public IncludeStepParser()
Method Detail

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 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
See Also:
StepParser.parse(Element element,StepsList steps)