| org.apache.axis2.jaxws.wrapper.JAXBWrapperTool
All known Subclasses: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl,
JAXBWrapperTool | public interface JAXBWrapperTool (Code) | | 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 | |
public Object[] | unWrap(Object jaxbObject, List<String> childNames, Map<String, PropertyDescriptorPlus> pdMap) | public Object[] | unWrap(Object jaxbObject, List<String> childNames) unwrap Returns the list of child objects of the jaxb object
Parameters: jaxbObject - that represents the type Parameters: childNames - list of xml child names as String list of Objects in the same order as the element names. | public Object | wrap(Class jaxbClass, List<String> childNames, Map<String, Object> childObjects, Map<String, PropertyDescriptorPlus> pdMap) wrap Creates a jaxb object that is initialized with the child objects.
Note that the jaxbClass must be the class the represents the complexType. | public Object | wrap(Class jaxbClass, List<String> childNames, Map<String, Object> childObjects) wrap Creates a jaxb object that is initialized with the child objects.
Note that the jaxbClass must be the class the represents the complexType. |
unWrap | public Object[] unWrap(Object jaxbObject, List<String> childNames, Map<String, PropertyDescriptorPlus> pdMap) throws JAXBWrapperException(Code) | | unwrap Returns the list of child objects of the jaxb object
Parameters: jaxbObject - that represents the type Parameters: childNames - list of xml child names as String Parameters: pdMap - PropertyDescriptorMap describing the jaxbObject list of Objects in the same order as the element names. |
unWrap | public Object[] unWrap(Object jaxbObject, List<String> childNames) throws JAXBWrapperException(Code) | | unwrap Returns the list of child objects of the jaxb object
Parameters: jaxbObject - that represents the type Parameters: childNames - list of xml child names as String list of Objects in the same order as the element names. Note: This method creates aPropertyDescriptor map; thus it is less performant than the other unWrap method |
wrap | public Object wrap(Class jaxbClass, List<String> childNames, Map<String, Object> childObjects, Map<String, PropertyDescriptorPlus> pdMap) throws JAXBWrapperException(Code) | | wrap Creates a jaxb object that is initialized with the child objects.
Note that the jaxbClass must be the class the represents the complexType. (It should never be
JAXBElement)
Parameters: jaxbClass - Parameters: childNames - list of xml child names as String childObjects, component type objects Parameters: pdMap - PropertyDescriptorMap describing the jaxbObject |
wrap | public Object wrap(Class jaxbClass, List<String> childNames, Map<String, Object> childObjects) throws JAXBWrapperException(Code) | | wrap Creates a jaxb object that is initialized with the child objects.
Note that the jaxbClass must be the class the represents the complexType. (It should never be
JAXBElement)
Parameters: jaxbClass - Parameters: childNames - list of xml child names as String childObjects, component type objects Parameters: pdMap - PropertyDescriptorMap describing the jaxbObject Note: This methodcreates a PropertyDescriptor map; thus it is less performant than theother unWrap method |
|
|