org.mule.config.spring.parsers.specific.properties
Class NestedListDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
          extended by org.mule.config.spring.parsers.delegate.AbstractSerialDelegatingDefinitionParser
              extended by org.mule.config.spring.parsers.delegate.AbstractFirstResultSerialDefinitionParser
                  extended by org.mule.config.spring.parsers.delegate.AbstractSingleParentFamilyDefinitionParser
                      extended by org.mule.config.spring.parsers.specific.properties.NestedListDefinitionParser
All Implemented Interfaces:
MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser

public class NestedListDefinitionParser
extends AbstractSingleParentFamilyDefinitionParser

This extends a list that is itself a property (with key mapKey). It does not have any container element. This could also be achieved with new ChildSingletonMapDefinitionParser("properties") .registerPreProcessor(new AddAttribute(MapEntryCombiner.KEY, "soap11Transports")) .addCollection(MapEntryCombiner.VALUE) .addCollection("properties"); I think, but the following avoids worries about special attribute names.


Field Summary
static String HIDDEN_KEY
           
static String HIDDEN_VALUE
           
 
Fields inherited from class org.mule.config.spring.parsers.delegate.AbstractFirstResultSerialDefinitionParser
firstDefinition
 
Fields inherited from class org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
logger
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
NestedListDefinitionParser(String mapSetter, String mapKey, String attribute)
           
 
Method Summary
 
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractSingleParentFamilyDefinitionParser
addChildDelegate, addDelegate, addDelegateAsChild, doSingleBean
 
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractFirstResultSerialDefinitionParser
setReturnFirstResult
 
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractSerialDelegatingDefinitionParser
addHandledException, disableAttribute, disableAttributes, disableAttributes, enableAttribute, enableAttributes, enableAttributes, enableAttributes, isExceptionHandled, muleParse, resetAttribute, resetNameAndId
 
Methods inherited from class org.mule.config.spring.parsers.delegate.AbstractDelegatingDefinitionParser
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, getBeanName, getDelegate, parseInternal, registerPostProcessor, registerPreProcessor, removeIgnored, setDeprecationWarning, setIgnoredDefault, size
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, 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.springframework.beans.factory.xml.BeanDefinitionParser
parse
 

Field Detail

HIDDEN_KEY

public static final String HIDDEN_KEY
See Also:
Constant Field Values

HIDDEN_VALUE

public static final String HIDDEN_VALUE
See Also:
Constant Field Values
Constructor Detail

NestedListDefinitionParser

public NestedListDefinitionParser(String mapSetter,
                                  String mapKey,
                                  String attribute)


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.