public class JAXBWrapperToolImpl extends java.lang.Object implements JAXBWrapperTool
| Constructor and Description |
|---|
JAXBWrapperToolImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
unWrap(java.lang.Object jaxbObject,
java.util.List<java.lang.String> childNames)
unwrap Returns the list of child objects of the jaxb object
|
java.lang.Object[] |
unWrap(java.lang.Object jaxbObject,
java.util.List<java.lang.String> childNames,
java.util.Map<java.lang.String,PropertyDescriptorPlus> pdMap)
unwrap Returns the list of child objects of the jaxb object
|
java.lang.Object |
unWrap(java.lang.Object jaxbObject,
java.lang.String childName,
PropertyDescriptorPlus pd)
Short cut if there is one Object in the JAXB Object
|
java.lang.Object |
wrap(java.lang.Class jaxbClass,
java.util.List<java.lang.String> childNames,
java.util.Map<java.lang.String,java.lang.Object> childObjects)
wrap Creates a jaxb object that is initialized with the child objects.
|
java.lang.Object |
wrap(java.lang.Class jaxbClass,
java.util.List<java.lang.String> childNames,
java.util.Map<java.lang.String,java.lang.Object> childObjects,
java.util.Map<java.lang.String,java.lang.Class> declaredClassMap,
java.util.Map<java.lang.String,PropertyDescriptorPlus> pdMap)
wrap Creates a jaxb object that is initialized with the child objects.
|
java.lang.Object |
wrap(java.lang.Class jaxbClass,
java.lang.String childName,
java.lang.Object childObject,
java.lang.Class declaredClass,
PropertyDescriptorPlus pd)
wrap Creates a jaxb object that is initialized with one child object.
|
public java.lang.Object[] unWrap(java.lang.Object jaxbObject,
java.util.List<java.lang.String> childNames,
java.util.Map<java.lang.String,PropertyDescriptorPlus> pdMap)
throws JAXBWrapperException
unWrap in interface JAXBWrapperTooljaxbObject - that represents the typechildNames - list of xml child names as StringpdMap - PropertyDescriptor map for this jaxbObjectJAXBWrapperExceptionpublic java.lang.Object unWrap(java.lang.Object jaxbObject,
java.lang.String childName,
PropertyDescriptorPlus pd)
throws JAXBWrapperException
unWrap in interface JAXBWrapperTooljaxbObject - that represents the typechildName - xml child names as Stringpd - PropertyDescriptorJAXBWrapperExceptionpublic java.lang.Object wrap(java.lang.Class jaxbClass,
java.lang.String childName,
java.lang.Object childObject,
java.lang.Class declaredClass,
PropertyDescriptorPlus pd)
throws JAXBWrapperException
wrap in interface JAXBWrapperTooljaxbClass - childName - xml child name as String or null if no childchildObject - component type objectdeclaredClass - declared classpd - PropertyDescriptor for this jaxbObjectJAXBWrapperExceptionpublic java.lang.Object wrap(java.lang.Class jaxbClass,
java.util.List<java.lang.String> childNames,
java.util.Map<java.lang.String,java.lang.Object> childObjects,
java.util.Map<java.lang.String,java.lang.Class> declaredClassMap,
java.util.Map<java.lang.String,PropertyDescriptorPlus> pdMap)
throws JAXBWrapperException
wrap in interface JAXBWrapperTooljaxbClass - childNames - list of xml child names as StringchildObjects, - component type objectspdMap - PropertyDescriptor map for this jaxbObjectJAXBWrapperExceptionpublic java.lang.Object[] unWrap(java.lang.Object jaxbObject,
java.util.List<java.lang.String> childNames)
throws JAXBWrapperException
JAXBWrapperToolunWrap in interface JAXBWrapperTooljaxbObject - that represents the typechildNames - list of xml child names as StringJAXBWrapperExceptionpublic java.lang.Object wrap(java.lang.Class jaxbClass,
java.util.List<java.lang.String> childNames,
java.util.Map<java.lang.String,java.lang.Object> childObjects)
throws JAXBWrapperException
JAXBWrapperToolwrap in interface JAXBWrapperToolchildNames - list of xml child names as StringJAXBWrapperExceptionCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.