org.springframework.batch.core.configuration.xml
Class FlowElementParser

java.lang.Object
  extended by org.springframework.batch.core.configuration.xml.FlowElementParser

public class FlowElementParser
extends java.lang.Object

Internal parser for the <flow/> elements inside a job..

Author:
Dave Syer
See Also:
JobParser

Constructor Summary
FlowElementParser()
           
 
Method Summary
 java.util.Collection<org.springframework.beans.factory.config.BeanDefinition> parse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
          Parse the flow and turn it into a list of transitions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowElementParser

public FlowElementParser()
Method Detail

parse

public java.util.Collection<org.springframework.beans.factory.config.BeanDefinition> parse(org.w3c.dom.Element element,
                                                                                           org.springframework.beans.factory.xml.ParserContext parserContext)
Parse the flow and turn it into a list of transitions.

Parameters:
element - the <flow/gt; element to parse
parserContext - the parser context for the bean factory
Returns:
a collection of bean definitions for StateTransition instances objects


Copyright © 2011. All Rights Reserved.