org.javasteps.parsers
Class ActionStepParser

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

public class ActionStepParser
extends Object
implements StepParser

Parser for ActionSteps

Version:
1.1
Author:
Ran Kornfeld

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

ActionStepParser

public ActionStepParser()
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)