public class PopulatorFromArray extends AbstractPopulateXmlFromClass
| Constructor and Description |
|---|
PopulatorFromArray() |
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Element |
performAttributeAction(java.util.List<KeyValue> keyvalues,
BeanToXml beanToXml,
org.dom4j.Element parent,
java.lang.Object object,
java.lang.String namespacePrefix,
java.lang.String attributeName,
java.lang.String beanRef) |
org.dom4j.Element |
performElementAction(java.util.List<KeyValue> keyvalues,
BeanToXml beanToXml,
org.dom4j.Element parent,
java.lang.Object object,
java.lang.String namespacePrefix,
java.lang.String elementName,
java.lang.String beanRef) |
getKeyValuepublic org.dom4j.Element performElementAction(java.util.List<KeyValue> keyvalues, BeanToXml beanToXml, org.dom4j.Element parent, java.lang.Object object, java.lang.String namespacePrefix, java.lang.String elementName, java.lang.String beanRef)
parent - - the parent elementobject - - the object we extract the xml fromnamespacePrefix - - a namespace if requiredelementName - - the name of the element we create in the xmlbeanRef - - the reference to the bean that matches the object we are
extractingpublic org.dom4j.Element performAttributeAction(java.util.List<KeyValue> keyvalues, BeanToXml beanToXml, org.dom4j.Element parent, java.lang.Object object, java.lang.String namespacePrefix, java.lang.String attributeName, java.lang.String beanRef)
parent - - the parent elementobject - - the object we extract the xml fromnamespacePrefix - - a namespace if requiredattributeName - - the name of the attribute we create in the xmlbeanRef - - the reference to the bean that matches the object we are
extracting