public abstract class

AbstractDefinitionParser

extends Object
implements BeanDefinitionParser
java.lang.Object
   ↳ org.mule.module.linkedin.config.AbstractDefinitionParser

Summary

Nested Classes
interface AbstractDefinitionParser.ParseDelegate<T>  
Fields
private TemplateParser.PatternInfo patternInfo Mule Pattern Info
Public Constructors
AbstractDefinitionParser()
Protected Methods
void attachProcessorDefinition(ParserContext parserContext, BeanDefinition definition)
void attachSourceDefinition(ParserContext parserContext, BeanDefinition definition)
String generateChildBeanName(Element element)
String getAttributeValue(Element element, String attributeName)
boolean hasAttribute(Element element, String attributeName)
boolean isMuleExpression(String value)
void parseConfigName(Element element)
void parseConfigRef(Element element, BeanDefinitionBuilder builder)
ManagedList parseList(Element element, String childElementName, ParseDelegate parserDelegate)
void parseListAndSetProperty(Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, ParseDelegate parserDelegate)
void parseListWithDefaultAndSetProperty(Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, String defaultValue, ParseDelegate parserDelegate)
ManagedMap parseMap(Element element, String childElementName, ParseDelegate parserDelegate)
void parseMapAndSetProperty(Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, ParseDelegate parserDelegate)
void parseMapWithDefaultAndSetProperty(Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, String defaultValue, ParseDelegate parserDelegate)
BeanDefinition parseNestedProcessor(Element element, ParserContext parserContext, Class factory)
void parseNestedProcessorAndSetProperty(Element element, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)
void parseNestedProcessorAndSetProperty(Element element, String childElementName, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)
List parseNestedProcessorAsList(Element element, ParserContext parserContext, Class factory)
void parseNestedProcessorAsListAndSetProperty(Element element, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)
void parseNestedProcessorAsListAndSetProperty(Element element, String childElementName, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)
boolean parseObjectRef(Element element, BeanDefinitionBuilder builder, String elementName, String propertyName)
boolean parseObjectRefWithDefault(Element element, BeanDefinitionBuilder builder, String elementName, String propertyName, String defaultValue)
void parseProperty(BeanDefinitionBuilder builder, Element element, String propertyName)
void parseProperty(BeanDefinitionBuilder builder, Element element, String attributeName, String propertyName)
void parsePropertyRef(BeanDefinitionBuilder builder, Element element, String propertyName)
void parsePropertyRef(BeanDefinitionBuilder builder, Element element, String attributeName, String propertyName)
void parseRetryPolicyTemplate(String elementName, Element element, ParserContext parserContext, BeanDefinitionBuilder builder, BeanDefinition definition)
void parseTextProperty(BeanDefinitionBuilder builder, Element element, String elementName, String propertyName)
void setDestroyMethodIfNeeded(BeanDefinitionBuilder builder, Class clazz)
void setInitMethodIfNeeded(BeanDefinitionBuilder builder, Class clazz)
void setNoRecurseOnDefinition(BeanDefinition definition)
void setRef(BeanDefinitionBuilder builder, String propertyName, String ref)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.xml.BeanDefinitionParser

Fields

private TemplateParser.PatternInfo patternInfo

Mule Pattern Info

Public Constructors

public AbstractDefinitionParser ()

Protected Methods

protected void attachProcessorDefinition (ParserContext parserContext, BeanDefinition definition)

Parameters
parserContext
definition

protected void attachSourceDefinition (ParserContext parserContext, BeanDefinition definition)

Parameters
parserContext
definition

protected String generateChildBeanName (Element element)

Parameters
element

protected String getAttributeValue (Element element, String attributeName)

Parameters
element
attributeName

protected boolean hasAttribute (Element element, String attributeName)

Parameters
element
attributeName

protected boolean isMuleExpression (String value)

Parameters
value

protected void parseConfigName (Element element)

Parameters
element

protected void parseConfigRef (Element element, BeanDefinitionBuilder builder)

Parameters
element
builder

protected ManagedList parseList (Element element, String childElementName, ParseDelegate parserDelegate)

Parameters
element
childElementName
parserDelegate

protected void parseListAndSetProperty (Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, ParseDelegate parserDelegate)

Parameters
element
builder
fieldName
parentElementName
childElementName
parserDelegate

protected void parseListWithDefaultAndSetProperty (Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, String defaultValue, ParseDelegate parserDelegate)

Parameters
element
builder
fieldName
parentElementName
childElementName
defaultValue
parserDelegate

protected ManagedMap parseMap (Element element, String childElementName, ParseDelegate parserDelegate)

Parameters
element
childElementName
parserDelegate

protected void parseMapAndSetProperty (Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, ParseDelegate parserDelegate)

Parameters
element
builder
fieldName
parentElementName
childElementName
parserDelegate

protected void parseMapWithDefaultAndSetProperty (Element element, BeanDefinitionBuilder builder, String fieldName, String parentElementName, String childElementName, String defaultValue, ParseDelegate parserDelegate)

Parameters
element
builder
fieldName
parentElementName
childElementName
defaultValue
parserDelegate

protected BeanDefinition parseNestedProcessor (Element element, ParserContext parserContext, Class factory)

Parameters
element
parserContext
factory

protected void parseNestedProcessorAndSetProperty (Element element, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)

Parameters
element
parserContext
factory
builder
propertyName

protected void parseNestedProcessorAndSetProperty (Element element, String childElementName, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)

Parameters
element
childElementName
parserContext
factory
builder
propertyName

protected List parseNestedProcessorAsList (Element element, ParserContext parserContext, Class factory)

Parameters
element
parserContext
factory

protected void parseNestedProcessorAsListAndSetProperty (Element element, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)

Parameters
element
parserContext
factory
builder
propertyName

protected void parseNestedProcessorAsListAndSetProperty (Element element, String childElementName, ParserContext parserContext, Class factory, BeanDefinitionBuilder builder, String propertyName)

Parameters
element
childElementName
parserContext
factory
builder
propertyName

protected boolean parseObjectRef (Element element, BeanDefinitionBuilder builder, String elementName, String propertyName)

Parameters
element
builder
elementName
propertyName

protected boolean parseObjectRefWithDefault (Element element, BeanDefinitionBuilder builder, String elementName, String propertyName, String defaultValue)

Parameters
element
builder
elementName
propertyName
defaultValue

protected void parseProperty (BeanDefinitionBuilder builder, Element element, String propertyName)

Parameters
builder
element
propertyName

protected void parseProperty (BeanDefinitionBuilder builder, Element element, String attributeName, String propertyName)

Parameters
builder
element
attributeName
propertyName

protected void parsePropertyRef (BeanDefinitionBuilder builder, Element element, String propertyName)

Parameters
builder
element
propertyName

protected void parsePropertyRef (BeanDefinitionBuilder builder, Element element, String attributeName, String propertyName)

Parameters
builder
element
attributeName
propertyName

protected void parseRetryPolicyTemplate (String elementName, Element element, ParserContext parserContext, BeanDefinitionBuilder builder, BeanDefinition definition)

Parameters
elementName
element
parserContext
builder
definition

protected void parseTextProperty (BeanDefinitionBuilder builder, Element element, String elementName, String propertyName)

Parameters
builder
element
elementName
propertyName

protected void setDestroyMethodIfNeeded (BeanDefinitionBuilder builder, Class clazz)

Parameters
builder
clazz

protected void setInitMethodIfNeeded (BeanDefinitionBuilder builder, Class clazz)

Parameters
builder
clazz

protected void setNoRecurseOnDefinition (BeanDefinition definition)

Parameters
definition

protected void setRef (BeanDefinitionBuilder builder, String propertyName, String ref)

Parameters
builder
propertyName
ref