org.mule.config.spring.parsers.processors
Class NamedSetterChildElementIterator
java.lang.Object
org.mule.config.spring.parsers.processors.AbstractChildElementIterator
org.mule.config.spring.parsers.processors.NamedSetterChildElementIterator
- All Implemented Interfaces:
- PostProcessor
public class NamedSetterChildElementIterator
- extends AbstractChildElementIterator
This iterates over the child elements, generates beans, and sets them on the current bean via the
setter given. So presumably there's either a single child or the destination is a collection.
Since this handles the iteration over children explicitly you need to set the flag
MuleHierarchicalBeanDefinitionParserDelegate.MULE_NO_RECURSE
on the parser.
- See Also:
- please read the
documentation for that processor
Method Summary |
protected void |
insertBean(BeanAssembler targetAssembler,
java.lang.Object childBean,
org.w3c.dom.Element parent,
org.w3c.dom.Element child)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedSetterChildElementIterator
public NamedSetterChildElementIterator(java.lang.String setter,
BeanAssemblerFactory beanAssemblerFactory,
PropertyConfiguration configuration)
insertBean
protected void insertBean(BeanAssembler targetAssembler,
java.lang.Object childBean,
org.w3c.dom.Element parent,
org.w3c.dom.Element child)
- Specified by:
insertBean
in class AbstractChildElementIterator
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.