Lines Matching defs:cid
41 * <h2>Identifying the content-id, cid, to pass to <code>getAttachment*(String cid)</code></h2>
44 * For XOP processing, the infoset representation of the cid is described
49 * For WS-I AP 1.0, the cid is identified as an element or attribute of
69 * <p>Lookup MIME content by content-id, <code>cid</code>, and return as a {@link DataHandler}.</p>
105 * @param cid It is expected to be a valid lexical form of the XML Schema
107 * ==true</code>, it must be a valid URI per the <code>cid:</code> URI scheme (see <a href="http://www.ietf.org/rfc/rfc2387.txt">RFC 2387</a>)
112 * @throws IllegalArgumentException if the attachment for the given cid is not found.
114 public abstract DataHandler getAttachmentAsDataHandler(String cid);
117 * <p>Retrieve the attachment identified by content-id, <code>cid</code>, as a <tt>byte[]</tt></p>.
119 * @param cid It is expected to be a valid lexical form of the XML Schema
121 * ==true</code>, it must be a valid URI per the <code>cid:</code> URI scheme (see <a href="http://www.ietf.org/rfc/rfc2387.txt">RFC 2387</a>)
123 * @return byte[] representation of attachment identified by cid.
125 * @throws IllegalArgumentException if the attachment for the given cid is not found.
127 public abstract byte[] getAttachmentAsByteArray(String cid);