Class XPathExpressionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.xml.config.XPathExpressionParser
- All Implemented Interfaces:
BeanDefinitionParser
public class XPathExpressionParser extends AbstractSingleBeanDefinitionParser
Parser for the <xpath-expression> element.
- Author:
- Jonas Partner, Soby Chacko, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description XPathExpressionParser()
-
Method Summary
Modifier and Type Method Description protected void
doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected Class<?>
getBeanClass(Element element)
protected boolean
shouldGenerateId()
protected boolean
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, shouldParseNameAsAliases
-
Constructor Details
-
XPathExpressionParser
public XPathExpressionParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
getBeanClass
- Overrides:
getBeanClass
in classAbstractSingleBeanDefinitionParser
-
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-