org.springframework.integration.config.xml
Class SimpleHeaderEnricherParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractTransformerParser
org.springframework.integration.config.xml.SimpleHeaderEnricherParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
- StandardHeaderEnricherParser
public class SimpleHeaderEnricherParser
- extends AbstractTransformerParser
- Author:
- Mark Fisher
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE |
Method Summary |
protected java.lang.String |
getTransformerClassName()
|
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 void |
postProcessHeaders(org.w3c.dom.Element element,
org.springframework.beans.factory.support.ManagedMap headers,
org.springframework.beans.factory.xml.ParserContext parserContext)
Subclasses may implement this method to provide additional headers. |
protected boolean |
shouldOverwrite(org.w3c.dom.Element element)
|
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 |
SimpleHeaderEnricherParser
public SimpleHeaderEnricherParser()
SimpleHeaderEnricherParser
public SimpleHeaderEnricherParser(java.lang.String prefix)
SimpleHeaderEnricherParser
public SimpleHeaderEnricherParser(java.lang.String prefix,
java.lang.String[] referenceAttributes)
getTransformerClassName
protected java.lang.String getTransformerClassName()
- Specified by:
getTransformerClassName
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
postProcessHeaders
protected void postProcessHeaders(org.w3c.dom.Element element,
org.springframework.beans.factory.support.ManagedMap headers,
org.springframework.beans.factory.xml.ParserContext parserContext)
- Subclasses may implement this method to provide additional headers.