Java Doc for AttachmentSet.java in » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » api » message » Java Source Code / Java DocumentationJava Source Code and Java Documentation
get(String contentId) Gets the attachment by the content ID.
Parameters: contentId - The content ID like "foo-bar-zot@abc.com", withoutsurrounding '<' and '>' used as the transfer syntax.
Note that it's OK for an
Attachment to belong to
more than one
AttachmentSet (which is in fact
necessary when you wrap a
Message into another.
Parameters: att - must not be null.
Gets the attachment by the content ID.
Parameters: contentId - The content ID like "foo-bar-zot@abc.com", withoutsurrounding '<' and '>' used as the transfer syntax. nullif no such attachment exist.