| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>AttachmentsImpl (Apache Axis)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AttachmentsImpl (Apache Axis)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AttachmentsImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis/attachments/AttachmentUtils.html" title="class in org.apache.axis.attachments"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis/attachments/AttachmentsImpl.html" target="_top">Frames</a></li> |
| <li><a href="AttachmentsImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis.attachments</div> |
| <h2 title="Class AttachmentsImpl" class="title">Class AttachmentsImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis.attachments.AttachmentsImpl</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">AttachmentsImpl</span> |
| extends <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></pre> |
| <div class="block">Implements the Attachment interface, via an actual Hashmap of actual |
| AttachmentParts.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.apache.axis.attachments.AttachmentsImpl">Serialized Form</a></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#contentLocation">contentLocation</a></strong></code> |
| <div class="block">This is the content location as specified in SOAP with Attachments.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static org.apache.commons.logging.Log</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#log">log</a></strong></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/axis/attachments/MultiPartInputStream.html" title="class in org.apache.axis.attachments">MultiPartInputStream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#mpartStream">mpartStream</a></strong></code> |
| <div class="block">The actual stream to manage the multi-related input stream.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#sendtype">sendtype</a></strong></code> |
| <div class="block">The form of the attachments, whether MIME or DIME.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/axis/SOAPPart.html" title="class in org.apache.axis">SOAPPart</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#soapPart">soapPart</a></strong></code> |
| <div class="block">Field soapPart.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.apache.axis.attachments.Attachments"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.axis.attachments.<a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></h3> |
| <code><a href="../../../../org/apache/axis/attachments/Attachments.html#CIDprefix">CIDprefix</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_DEFAULT">SEND_TYPE_DEFAULT</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_DIME">SEND_TYPE_DIME</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_MAX">SEND_TYPE_MAX</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_MIME">SEND_TYPE_MIME</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_MTOM">SEND_TYPE_MTOM</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_NONE">SEND_TYPE_NONE</a>, <a href="../../../../org/apache/axis/attachments/Attachments.html#SEND_TYPE_NOTSET">SEND_TYPE_NOTSET</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#AttachmentsImpl(java.lang.Object,%20java.lang.String,%20java.lang.String)">AttachmentsImpl</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> intialContents, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentLocation)</code> |
| <div class="block">Construct one of these on a parent Message.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#addAttachmentPart(org.apache.axis.Part)">addAttachmentPart</a></strong>(<a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> newPart)</code> |
| <div class="block">Adds an existing attachment to this list.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#createAttachmentPart()">createAttachmentPart</a></strong>()</code> |
| <div class="block">Create a new attachment Part in this Message.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#createAttachmentPart(java.lang.Object)">createAttachmentPart</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> datahandler)</code> |
| <div class="block">Create a new attachment Part in this Message.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/axis/attachments/DimeMultiPart.html" title="class in org.apache.axis.attachments">DimeMultiPart</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#createDimeMessage()">createDimeMessage</a></strong>()</code> |
| <div class="block">Creates the DIME message</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#dispose()">dispose</a></strong>()</code> |
| <div class="block">dispose of the attachments and their files; do not use the object |
| after making this call.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getAttachmentByReference(java.lang.String)">getAttachmentByReference</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> reference)</code> |
| <div class="block">This method should look at a refernce and determine if it is a CID: or |
| url to look for attachment.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getAttachmentCount()">getAttachmentCount</a></strong>()</code> |
| <div class="block">This is the number of attachments.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getAttachments()">getAttachments</a></strong>()</code> |
| <div class="block">This method will return all attachments as a collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getAttachments(javax.xml.soap.MimeHeaders)">getAttachments</a></strong>(<a href="../../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</a> headers)</code> |
| <div class="block">Retrieves all the <CODE>AttachmentPart</CODE> objects |
| that have header entries that match the specified headers.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getContentLength()">getContentLength</a></strong>()</code> |
| <div class="block">Get the content length of the stream.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getContentType()">getContentType</a></strong>()</code> |
| <div class="block">Gets the content type for the whole stream.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/attachments/IncomingAttachmentStreams.html" title="class in org.apache.axis.attachments">IncomingAttachmentStreams</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getIncomingAttachmentStreams()">getIncomingAttachmentStreams</a></strong>()</code> |
| <div class="block">Once this method is called, attachments can only be accessed via the InputStreams.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getRootPart()">getRootPart</a></strong>()</code> |
| <div class="block">From the complex stream return the root part.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getSendType()">getSendType</a></strong>()</code> |
| <div class="block">Determine if an object is to be treated as an attchment.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getSendType(java.lang.String)">getSendType</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> |
| <div class="block">Determine how an object typically sent as attachments are to |
| be represented.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#getSendTypeString(int)">getSendTypeString</a></strong>(int value)</code> |
| <div class="block">For a given sendType value, return a string representation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#isAttachment(java.lang.Object)">isAttachment</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Determine if an object is to be treated as an attchment.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#removeAllAttachments()">removeAllAttachments</a></strong>()</code> |
| <div class="block">Removes all <CODE>AttachmentPart</CODE> objects that have |
| been added to this <CODE>SOAPMessage</CODE> object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#removeAttachmentPart(java.lang.String)">removeAttachmentPart</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> reference)</code> |
| <div class="block">This method uses getAttacmentByReference() to look for attachment.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#setAttachmentParts(java.util.Collection)">setAttachmentParts</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> parts)</code> |
| <div class="block">Add the collection of parts.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#setRootPart(org.apache.axis.Part)">setRootPart</a></strong>(<a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> newRoot)</code> |
| <div class="block">Sets the root part of this multipart block</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#setSendType(int)">setSendType</a></strong>(int sendtype)</code> |
| <div class="block">Set the format for attachments.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/attachments/AttachmentsImpl.html#writeContentToStream(java.io.OutputStream)">writeContentToStream</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os)</code> |
| <div class="block">Write the content to the stream.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>protected static org.apache.commons.logging.Log log</pre> |
| </li> |
| </ul> |
| <a name="soapPart"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>soapPart</h4> |
| <pre>protected <a href="../../../../org/apache/axis/SOAPPart.html" title="class in org.apache.axis">SOAPPart</a> soapPart</pre> |
| <div class="block">Field soapPart.</div> |
| </li> |
| </ul> |
| <a name="mpartStream"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mpartStream</h4> |
| <pre>protected <a href="../../../../org/apache/axis/attachments/MultiPartInputStream.html" title="class in org.apache.axis.attachments">MultiPartInputStream</a> mpartStream</pre> |
| <div class="block">The actual stream to manage the multi-related input stream.</div> |
| </li> |
| </ul> |
| <a name="sendtype"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendtype</h4> |
| <pre>protected int sendtype</pre> |
| <div class="block">The form of the attachments, whether MIME or DIME.</div> |
| </li> |
| </ul> |
| <a name="contentLocation"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>contentLocation</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentLocation</pre> |
| <div class="block">This is the content location as specified in SOAP with Attachments. |
| This maybe null if the message had no Content-Location specifed.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AttachmentsImpl(java.lang.Object, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AttachmentsImpl</h4> |
| <pre>public AttachmentsImpl(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> intialContents, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentLocation) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Construct one of these on a parent Message. |
| Should only ever be called by Message constructor!</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>intialContents</code> - should be anything but today only a stream is |
| supported.</dd><dd><code>contentType</code> - The mime content type of the stream for transports |
| that provide it.</dd><dd><code>contentLocation</code> - </dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="removeAttachmentPart(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAttachmentPart</h4> |
| <pre>public <a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> removeAttachmentPart(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> reference) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">This method uses getAttacmentByReference() to look for attachment. |
| If attachment has been found, it will be removed from the list, and |
| returned to the user.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#removeAttachmentPart(java.lang.String)">removeAttachmentPart</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>reference</code> - The reference that referers to an attachment.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The part associated with the removed attachment, or null.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="addAttachmentPart(org.apache.axis.Part)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addAttachmentPart</h4> |
| <pre>public <a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> addAttachmentPart(<a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> newPart) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Adds an existing attachment to this list. |
| Note: Passed part will be bound to this message.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#addAttachmentPart(org.apache.axis.Part)">addAttachmentPart</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>newPart</code> - new part to add</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Part old attachment with the same Content-ID, or null.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createAttachmentPart(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAttachmentPart</h4> |
| <pre>public <a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> createAttachmentPart(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> datahandler) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis/attachments/Attachments.html#createAttachmentPart(java.lang.Object)">Attachments</a></code></strong></div> |
| <div class="block">Create a new attachment Part in this Message. |
| Will actually, and always, return an AttachmentPart.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#createAttachmentPart(java.lang.Object)">createAttachmentPart</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>datahandler</code> - The part that is referenced</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new attachment part</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="setAttachmentParts(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAttachmentParts</h4> |
| <pre>public void setAttachmentParts(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> parts) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Add the collection of parts.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#setAttachmentParts(java.util.Collection)">setAttachmentParts</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>parts</code> - </dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getAttachmentByReference(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttachmentByReference</h4> |
| <pre>public <a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> getAttachmentByReference(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> reference) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">This method should look at a refernce and determine if it is a CID: or |
| url to look for attachment. |
| <br> |
| Note: if Content-Id or Content-Location headers have changed by outside |
| code, lookup will not return proper values. In order to change these |
| values attachment should be removed, then added again.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getAttachmentByReference(java.lang.String)">getAttachmentByReference</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>reference</code> - The reference in the xml that referers to an attachment.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The part associated with the attachment.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getAttachments()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttachments</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a> getAttachments() |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">This method will return all attachments as a collection.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getAttachments()">getAttachments</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>A collection of attachments.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getRootPart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRootPart</h4> |
| <pre>public <a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> getRootPart()</pre> |
| <div class="block">From the complex stream return the root part. |
| Today this is SOAP.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getRootPart()">getRootPart</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the root <code>Part</code></dd></dl> |
| </li> |
| </ul> |
| <a name="setRootPart(org.apache.axis.Part)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRootPart</h4> |
| <pre>public void setRootPart(<a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> newRoot)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis/attachments/Attachments.html#setRootPart(org.apache.axis.Part)">Attachments</a></code></strong></div> |
| <div class="block">Sets the root part of this multipart block</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#setRootPart(org.apache.axis.Part)">setRootPart</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>newRoot</code> - the new root <code>Part</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getContentLength()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentLength</h4> |
| <pre>public long getContentLength() |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Get the content length of the stream.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getContentLength()">getContentLength</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content length of the stream</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createDimeMessage()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDimeMessage</h4> |
| <pre>protected <a href="../../../../org/apache/axis/attachments/DimeMultiPart.html" title="class in org.apache.axis.attachments">DimeMultiPart</a> createDimeMessage() |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Creates the DIME message</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a DIME part</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code> - if the part could not be built</dd></dl> |
| </li> |
| </ul> |
| <a name="writeContentToStream(java.io.OutputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeContentToStream</h4> |
| <pre>public void writeContentToStream(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os) |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Write the content to the stream.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#writeContentToStream(java.io.OutputStream)">writeContentToStream</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>os</code> - </dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getContentType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentType</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getContentType() |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Gets the content type for the whole stream.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getContentType()">getContentType</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the content type for the whole stream</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getAttachmentCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttachmentCount</h4> |
| <pre>public int getAttachmentCount()</pre> |
| <div class="block">This is the number of attachments.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getAttachmentCount()">getAttachmentCount</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the number of attachments</dd></dl> |
| </li> |
| </ul> |
| <a name="isAttachment(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAttachment</h4> |
| <pre>public boolean isAttachment(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">Determine if an object is to be treated as an attchment.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#isAttachment(java.lang.Object)">isAttachment</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the value that is to be determined if |
| its an attachment.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True if value should be treated as an attchment.</dd></dl> |
| </li> |
| </ul> |
| <a name="removeAllAttachments()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAllAttachments</h4> |
| <pre>public void removeAllAttachments()</pre> |
| <div class="block">Removes all <CODE>AttachmentPart</CODE> objects that have |
| been added to this <CODE>SOAPMessage</CODE> object. |
| |
| <P>This method does not touch the SOAP part.</P></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#removeAllAttachments()">removeAllAttachments</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAttachments(javax.xml.soap.MimeHeaders)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttachments</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a> getAttachments(<a href="../../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</a> headers)</pre> |
| <div class="block">Retrieves all the <CODE>AttachmentPart</CODE> objects |
| that have header entries that match the specified headers. |
| Note that a returned attachment could have headers in |
| addition to those specified.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getAttachments(javax.xml.soap.MimeHeaders)">getAttachments</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>headers</code> - a <CODE>MimeHeaders</CODE> |
| object containing the MIME headers for which to |
| search</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>an iterator over all attachments that have a header |
| that matches one of the given headers</dd></dl> |
| </li> |
| </ul> |
| <a name="createAttachmentPart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAttachmentPart</h4> |
| <pre>public <a href="../../../../org/apache/axis/Part.html" title="interface in org.apache.axis">Part</a> createAttachmentPart() |
| throws <a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></pre> |
| <div class="block">Create a new attachment Part in this Message. |
| Will actually, and always, return an AttachmentPart.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#createAttachmentPart()">createAttachmentPart</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a new attachment Part</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="setSendType(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSendType</h4> |
| <pre>public void setSendType(int sendtype)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis/attachments/Attachments.html#setSendType(int)">Attachments</a></code></strong></div> |
| <div class="block">Set the format for attachments.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#setSendType(int)">setSendType</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>sendtype</code> - the format to send. |
| SEND_TYPE_MIME for Multipart Releated Mail type attachments. |
| SEND_TYPE_DIME for DIME type attachments.</dd></dl> |
| </li> |
| </ul> |
| <a name="getSendType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendType</h4> |
| <pre>public int getSendType()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/axis/attachments/Attachments.html#getSendType()">Attachments</a></code></strong></div> |
| <div class="block">Determine if an object is to be treated as an attchment.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getSendType()">getSendType</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>SEND_TYPE_MIME, SEND_TYPE_DIME, SEND_TYPE_NOTSET</dd></dl> |
| </li> |
| </ul> |
| <a name="dispose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void dispose()</pre> |
| <div class="block">dispose of the attachments and their files; do not use the object |
| after making this call.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#dispose()">dispose</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSendType(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendType</h4> |
| <pre>public static int getSendType(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre> |
| <div class="block">Determine how an object typically sent as attachments are to |
| be represented. Currently, MIME DIME and NONE are reccognised.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - a String representing a sending type, treated in a |
| case-insensetive manner</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>an <code>int</code> send type code</dd></dl> |
| </li> |
| </ul> |
| <a name="getSendTypeString(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendTypeString</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getSendTypeString(int value)</pre> |
| <div class="block">For a given sendType value, return a string representation.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - a type code integer</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a <code>String</code> representation of <code>value</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getIncomingAttachmentStreams()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getIncomingAttachmentStreams</h4> |
| <pre>public <a href="../../../../org/apache/axis/attachments/IncomingAttachmentStreams.html" title="class in org.apache.axis.attachments">IncomingAttachmentStreams</a> getIncomingAttachmentStreams()</pre> |
| <div class="block">Once this method is called, attachments can only be accessed via the InputStreams. |
| Any other access to the attachments collection (e.g. via getAttachments()) is |
| prohibited and will cause a IllegalStateException to be thrown.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/apache/axis/attachments/Attachments.html#getIncomingAttachmentStreams()">getIncomingAttachmentStreams</a></code> in interface <code><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments">Attachments</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>All of the attachment streams.</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AttachmentsImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis/attachments/Attachments.html" title="interface in org.apache.axis.attachments"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis/attachments/AttachmentUtils.html" title="class in org.apache.axis.attachments"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis/attachments/AttachmentsImpl.html" target="_top">Frames</a></li> |
| <li><a href="AttachmentsImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |