org.springframework.integration.adapter.file.config
Class FileTargetParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
              extended by org.springframework.integration.adapter.file.config.FileTargetParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class FileTargetParser
extends org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser

Parser for the <file-target/> element.

Author:
Mark Fisher, Marius Bogoevici

Field Summary
static java.lang.String DIRECTORY_ATTRIBUTE
           
static java.lang.String FILE_NAME_GENERATOR_ATTRIBUTE
           
private static java.lang.String NAME_GENERATOR_PROPERTY
           
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
FileTargetParser()
           
 
Method Summary
protected  void doParse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
           
protected  java.lang.Class<?> getBeanClass(org.w3c.dom.Element element)
           
protected  boolean isEligibleAttribute(java.lang.String attributeName)
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
doParse, extractPropertyName, isEligibleAttribute, postProcess
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_GENERATOR_PROPERTY

private static final java.lang.String NAME_GENERATOR_PROPERTY
See Also:
Constant Field Values

DIRECTORY_ATTRIBUTE

public static final java.lang.String DIRECTORY_ATTRIBUTE
See Also:
Constant Field Values

FILE_NAME_GENERATOR_ATTRIBUTE

public static final java.lang.String FILE_NAME_GENERATOR_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

FileTargetParser

public FileTargetParser()
Method Detail

getBeanClass

protected java.lang.Class<?> getBeanClass(org.w3c.dom.Element element)
Overrides:
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser

isEligibleAttribute

protected boolean isEligibleAttribute(java.lang.String attributeName)
Overrides:
isEligibleAttribute in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser

doParse

protected void doParse(org.w3c.dom.Element element,
                       org.springframework.beans.factory.xml.ParserContext parserContext,
                       org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Overrides:
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser