org.mule.module.xml.config
Class XsltTextDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
          extended by org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser
              extended by org.mule.config.spring.parsers.AbstractChildDefinitionParser
                  extended by org.mule.config.spring.parsers.generic.ChildDefinitionParser
                      extended by org.mule.module.xml.config.XsltTextDefinitionParser
All Implemented Interfaces:
MuleChildDefinitionParser, MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser

public class XsltTextDefinitionParser
extends ChildDefinitionParser

TODO


Field Summary
static String STYLESHEET
           
static int UNDEFINED
           
 
Fields inherited from class org.mule.config.spring.parsers.generic.ChildDefinitionParser
clazz, setterMethod
 
Fields inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, logger, ROOT_ELEMENT, singleton
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
XsltTextDefinitionParser(String setterMethod)
          The class will be inferred from the class attribute
XsltTextDefinitionParser(String setterMethod, Class clazz)
           
 
Method Summary
protected  void assertArgument(boolean condition, String message)
           
protected  String domToString(Element dom)
           
 String getPropertyName(Element e)
           
protected  void postProcess(org.springframework.beans.factory.xml.ParserContext context, BeanAssembler assembler, Element element)
          Hook method that derived classes can implement to inspect/change a bean definition after parsing is complete.
 
Methods inherited from class org.mule.config.spring.parsers.generic.ChildDefinitionParser
getBeanClass, preProcess
 
Methods inherited from class org.mule.config.spring.parsers.AbstractChildDefinitionParser
doParse, getBeanName, parseChild
 
Methods inherited from class org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser
forceParent, getBeanAssembler, getOrphanBeanAssembler, getParentBeanDefinition, getParentBeanName, getTargetPropertyConfiguration
 
Methods inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, getBeanAssemblerFactory, getBeanClassFromAttribute, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, parseInternal, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setIgnoredDefault, setParserContext, setRegistry
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.config.spring.parsers.MuleChildDefinitionParser
forceParent, getTargetPropertyConfiguration
 
Methods inherited from interface org.mule.config.spring.parsers.MuleDefinitionParser
muleParse
 
Methods inherited from interface org.springframework.beans.factory.xml.BeanDefinitionParser
parse
 
Methods inherited from interface org.mule.config.spring.parsers.MuleDefinitionParserConfiguration
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, registerPostProcessor, registerPreProcessor, removeIgnored, setIgnoredDefault
 

Field Detail

STYLESHEET

public static final String STYLESHEET
See Also:
Constant Field Values

UNDEFINED

public static final int UNDEFINED
See Also:
Constant Field Values
Constructor Detail

XsltTextDefinitionParser

public XsltTextDefinitionParser(String setterMethod)
The class will be inferred from the class attribute

Parameters:
setterMethod - The target method (where the child will be injected)

XsltTextDefinitionParser

public XsltTextDefinitionParser(String setterMethod,
                                Class clazz)
Parameters:
setterMethod - The target method (where the child will be injected)
clazz - The class created by this element/parser
Method Detail

postProcess

protected void postProcess(org.springframework.beans.factory.xml.ParserContext context,
                           BeanAssembler assembler,
                           Element element)
Description copied from class: AbstractMuleBeanDefinitionParser
Hook method that derived classes can implement to inspect/change a bean definition after parsing is complete.

Overrides:
postProcess in class AbstractChildDefinitionParser
assembler - the parsed (and probably totally defined) bean definition being built
element - the XML element that was the source of the bean definition's metadata

getPropertyName

public String getPropertyName(Element e)
Overrides:
getPropertyName in class ChildDefinitionParser

domToString

protected String domToString(Element dom)

assertArgument

protected void assertArgument(boolean condition,
                              String message)


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.