org.springframework.integration.config.xml
Class AbstractRouterParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractConsumerEndpointParser
          extended by org.springframework.integration.config.xml.AbstractRouterParser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
ErrorMessageExceptionTypeRouterParser, HeaderValueRouterParser, PayloadTypeRouterParser, XPathRouterParser

public abstract class AbstractRouterParser
extends AbstractConsumerEndpointParser

Base parser for routers.


Field Summary
 
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTE
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractRouterParser()
           
 
Method Summary
protected abstract  BeanDefinition doParseRouter(org.w3c.dom.Element element, ParserContext parserContext)
           
protected  java.lang.String getMappingKeyAttributeValue()
           
protected  BeanDefinitionBuilder parseHandler(org.w3c.dom.Element element, ParserContext parserContext)
          Parse the MessageHandler.
protected  BeanDefinition parseRouter(org.w3c.dom.Element element, ParserContext parserContext)
           
 
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRouterParser

public AbstractRouterParser()
Method Detail

parseHandler

protected final BeanDefinitionBuilder parseHandler(org.w3c.dom.Element element,
                                                   ParserContext parserContext)
Description copied from class: AbstractConsumerEndpointParser
Parse the MessageHandler.

Specified by:
parseHandler in class AbstractConsumerEndpointParser

parseRouter

protected final BeanDefinition parseRouter(org.w3c.dom.Element element,
                                           ParserContext parserContext)

doParseRouter

protected abstract BeanDefinition doParseRouter(org.w3c.dom.Element element,
                                                ParserContext parserContext)

getMappingKeyAttributeValue

protected java.lang.String getMappingKeyAttributeValue()