|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JAXBWrapperTool
The JAXBWrapper tool is used to create a JAXB Object from a series of child objects (wrap) or get the child objects from a JAXB Object (unwrap)
| Method Summary | |
|---|---|
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 |
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,PropertyDescriptorPlus> pdMap)
wrap Creates a jaxb object that is initialized with the child objects. |
| Method Detail |
|---|
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
jaxbObject - that represents the typechildNames - list of xml child names as StringpdMap - PropertyDescriptorMap describing the jaxbObject
JAXBWrapperException
java.lang.Object[] unWrap(java.lang.Object jaxbObject,
java.util.List<java.lang.String> childNames)
throws JAXBWrapperException
jaxbObject - that represents the typechildNames - list of xml child names as String
JAXBWrapperException
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,PropertyDescriptorPlus> pdMap)
throws JAXBWrapperException
jaxbClass - childNames - list of xml child names as StringchildObjects, - component type objectspdMap - PropertyDescriptorMap describing the jaxbObject
JAXBWrapperException
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
jaxbClass - childNames - list of xml child names as StringchildObjects, - component type objectspdMap - PropertyDescriptorMap describing the jaxbObject Note: This method
creates a PropertyDescriptor map; thus it is less performant than the
other unWrap method
JAXBWrapperException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||