API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.attachment. AttachmentMarshaller View Source
Author(s)
Marc Hadley
Kohsuke Kawaguchi
Joseph Fialli
Since
JAXB 2.0
Version
Serial
Hierarchy
 Object
      AttachmentMarshaller
Implements
Subclasses
Description
publicabstract abstract class AttachmentMarshaller
  Enable JAXB marshalling to optimize storage of binary data.
Constructors
public AttachmentMarshaller ()
Methods
Hide/Show inherited methods
publicabstract String addMtomAttachment (byte[] data, int offset, int length, String mimeType, String elementNamespace, String elementLocalName)
  Consider binary data for optimized binary storage as an attachment.
publicabstract String addMtomAttachment (DataHandler data, String elementNamespace, String elementLocalName)
  Consider MIME content data for optimized binary storage as an attachment.
publicabstract String addSwaRefAttachment (DataHandler data)
  Add MIME data as an attachment and return attachment's content-id, cid.
public boolean isXOPPackage ()
  Read-only property that returns true if JAXB marshaller should enable XOP creation.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar