public class OrphanMapDefinitionParser extends AbstractMuleBeanDefinitionParser
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, logger, ROOT_ELEMENT, singleton
Constructor and Description |
---|
OrphanMapDefinitionParser(Class mapClass) |
OrphanMapDefinitionParser(Class mapClass,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
doParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parse the supplied
Element and populate the supplied
BeanDefinitionBuilder as required. |
protected Class |
getBeanClass(Element element)
Determine the bean class corresponding to the supplied
Element . |
protected void |
preProcess(Element element)
Hook method that derived classes can implement to modify internal state before processing.
|
protected String |
resolveId(Element element,
org.springframework.beans.factory.support.AbstractBeanDefinition definition,
org.springframework.beans.factory.xml.ParserContext parserContext) |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssembler, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, postProcess, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
public OrphanMapDefinitionParser(Class mapClass)
protected Class getBeanClass(Element element)
AbstractMuleBeanDefinitionParser
Element
.getBeanClass
in class AbstractMuleBeanDefinitionParser
element
- the Element
that is being parsedClass
of the bean that is being defined via parsing the supplied Element
(must not be null
)AbstractMuleBeanDefinitionParser.parseInternal(org.w3c.dom.Element,ParserContext)
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
AbstractMuleBeanDefinitionParser
Element
and populate the supplied
BeanDefinitionBuilder
as required.
The default implementation delegates to the doParse
version without ParserContext argument.
doParse
in class AbstractMuleBeanDefinitionParser
element
- the XML element being parsedparserContext
- the object encapsulating the current state of the parsing processbuilder
- used to define the BeanDefinition
protected void preProcess(Element element)
AbstractMuleBeanDefinitionParser
preProcess
in class AbstractMuleBeanDefinitionParser
protected String resolveId(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext) throws org.springframework.beans.factory.BeanDefinitionStoreException
resolveId
in class AbstractMuleBeanDefinitionParser
org.springframework.beans.factory.BeanDefinitionStoreException
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.