Lines Matching defs:cid
42 * <h2>Identifying the content-id, cid, to pass to {@code getAttachment*(String cid)}</h2>
45 * For XOP processing, the infoset representation of the cid is described
50 * For WS-I AP 1.0, the cid is identified as an element or attribute of
71 * <p>Lookup MIME content by content-id, {@code cid}, and return as a {@link DataHandler}.</p>
104 * @param cid It is expected to be a valid lexical form of the XML Schema
106 * it must be a valid URI per the {@code cid:} URI scheme (see <a href="http://www.ietf.org/rfc/rfc2387.txt">RFC 2387</a>)
111 * @throws IllegalArgumentException if the attachment for the given cid is not found.
113 public abstract DataHandler getAttachmentAsDataHandler(String cid);
116 * <p>Retrieve the attachment identified by content-id, {@code cid}, as a {@code byte[]}.
118 * @param cid It is expected to be a valid lexical form of the XML Schema
120 * it must be a valid URI per the {@code cid:} URI scheme (see <a href="http://www.ietf.org/rfc/rfc2387.txt">RFC 2387</a>)
122 * @return byte[] representation of attachment identified by cid.
124 * @throws IllegalArgumentException if the attachment for the given cid is not found.
126 public abstract byte[] getAttachmentAsByteArray(String cid);