org.springframework.integration.config.xml
Class SimpleHeaderEnricherParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.springframework.integration.config.xml.AbstractConsumerEndpointParser
              extended by org.springframework.integration.config.xml.AbstractTransformerParser
                  extended by org.springframework.integration.config.xml.SimpleHeaderEnricherParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class SimpleHeaderEnricherParser
extends AbstractTransformerParser

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
METHOD_ATTRIBUTE, OUTPUT_CHANNEL_ATTRIBUTE, REF_ATTRIBUTE
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
SimpleHeaderEnricherParser()
           
SimpleHeaderEnricherParser(java.lang.String prefix)
           
SimpleHeaderEnricherParser(java.lang.String prefix, java.lang.String[] referenceAttributes)
           
 
Method Summary
protected  java.lang.Class<? extends Transformer> getTransformerClass()
           
protected  boolean isEligibleHeaderName(java.lang.String headerName)
           
protected  void parseTransformer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
           
protected  boolean shouldOverwrite(org.w3c.dom.Element element)
           
 
Methods inherited from class org.springframework.integration.config.xml.AbstractTransformerParser
parseConsumer
 
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
doParse, getBeanClass, getInputChannelAttributeName, parseAdapter, postProcess, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
 
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

SimpleHeaderEnricherParser

public SimpleHeaderEnricherParser()

SimpleHeaderEnricherParser

public SimpleHeaderEnricherParser(java.lang.String prefix)

SimpleHeaderEnricherParser

public SimpleHeaderEnricherParser(java.lang.String prefix,
                                  java.lang.String[] referenceAttributes)
Method Detail

getTransformerClass

protected java.lang.Class<? extends Transformer> getTransformerClass()
Specified by:
getTransformerClass in class AbstractTransformerParser

isEligibleHeaderName

protected boolean isEligibleHeaderName(java.lang.String headerName)

shouldOverwrite

protected boolean shouldOverwrite(org.w3c.dom.Element element)

parseTransformer

protected void parseTransformer(org.w3c.dom.Element element,
                                org.springframework.beans.factory.xml.ParserContext parserContext,
                                org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Specified by:
parseTransformer in class AbstractTransformerParser