Class XOPEncoded<T>


  • public final class XOPEncoded<T>
    extends Object
    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).
    • Method Detail

      • getRootPart

        public T getRootPart()
        Get the root part of the XOP message.
        Returns:
        the root part
      • getAttachmentAccessor

        public OMAttachmentAccessor getAttachmentAccessor()
        Get the accessor for the additional MIME parts referenced by the root part.
        Returns:
        the attachment accessor