|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.util.jaxb.JAXBUtils
public final class JAXBUtils
Contains low level utility methods that integrate JAXB with some of the Axiom specific StAX extensions.
| Method Summary | |
|---|---|
static UnmarshallerAdapter |
getUnmarshallerAdapter(javax.xml.stream.XMLStreamReader reader)
Create an adapter that enables an Unmarshaller to perform XOP/MTOM processing on an
XMLStreamReader that exposes the DataHandlerReader extension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UnmarshallerAdapter getUnmarshallerAdapter(javax.xml.stream.XMLStreamReader reader)
Unmarshaller to perform XOP/MTOM processing on an
XMLStreamReader that exposes the DataHandlerReader extension. This method
should be used in the following way:
Unmarshaller.
XMLStreamReader to be unmarshalled.
Unmarshaller with the AttachmentUnmarshaller returned by
UnmarshallerAdapter.getAttachmentUnmarshaller().
Unmarshaller.unmarshal(XMLStreamReader) or
Unmarshaller.unmarshal(XMLStreamReader, Class), passing the XMLStreamReader
returned by UnmarshallerAdapter.getReader() as parameter.
reader - an XMLStreamReader that may expose the DataHandlerReader extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||