org.springframework.data.hadoop.config
Class ScriptParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
org.springframework.data.hadoop.config.AbstractImprovedSimpleBeanDefinitionParser
org.springframework.data.hadoop.config.ScriptParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
public class ScriptParser
- extends AbstractImprovedSimpleBeanDefinitionParser
Namespace parser for hdp:script.
- Author:
- Costin Leau
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
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)
|
protected boolean |
shouldGenerateIdAsFallback()
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser |
extractPropertyName, isEligibleAttribute, isEligibleAttribute, postProcess |
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, shouldFireEvents, shouldGenerateId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptParser
public ScriptParser()
isEligibleAttribute
protected boolean isEligibleAttribute(java.lang.String attributeName)
- Overrides:
isEligibleAttribute
in class AbstractImprovedSimpleBeanDefinitionParser
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 AbstractImprovedSimpleBeanDefinitionParser
getBeanClass
protected java.lang.Class<?> getBeanClass(org.w3c.dom.Element element)
- Overrides:
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser