Package org.apache.axiom.om
Class XOPEncoded<T>
java.lang.Object
org.apache.axiom.om.XOPEncoded<T>
Represent XOP encoded data. Since an XOP message is a MIME package with
a root part in XML and a set of additional (binary) parts referenced from
the main part, this class encapsulates an API dependent object
representing the main part and an
OMAttachmentAccessor
giving access
to the attachments. Instances of this class can be obtained from
OMContainer.getXOPEncodedStreamReader(boolean)
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessor for the additional MIME parts referenced by the root part.Get the root part of the XOP message.
-
Constructor Details
-
XOPEncoded
-
-
Method Details
-
getRootPart
Get the root part of the XOP message.- Returns:
- the root part
-
getAttachmentAccessor
Get the accessor for the additional MIME parts referenced by the root part.- Returns:
- the attachment accessor
-