1 16 package org.jboss.axis.attachments; 17 18 import org.jboss.axis.Part; 19 20 30 public interface Attachments 31 { 32 40 public Part addAttachmentPart(Part newPart) 41 throws org.jboss.axis.AxisFault; 42 43 52 public Part removeAttachmentPart(String reference) 53 throws org.jboss.axis.AxisFault; 54 55 61 public void removeAllAttachments(); 62 63 71 public Part getAttachmentByReference(String reference) 72 throws org.jboss.axis.AxisFault; 73 74 80 public java.util.Collection getAttachments() 81 throws org.jboss.axis.AxisFault; 82 83 95 public java.util.Iterator getAttachments(javax.xml.soap.MimeHeaders headers); 96 97 105 public Part createAttachmentPart(Object part) 106 throws org.jboss.axis.AxisFault; 107 108 115 public Part createAttachmentPart() throws org.jboss.axis.AxisFault; 116 117 123 public void setAttachmentParts(java.util.Collection parts) 124 throws org.jboss.axis.AxisFault; 125 126 132 public Part getRootPart(); 133 134 139 public void setRootPart(Part newRoot); 140 141 147 public long getContentLength() throws org.jboss.axis.AxisFault; 148 149 155 public void writeContentToStream(java.io.OutputStream os) 156 throws org.jboss.axis.AxisFault; 157 158 164 public String getContentType() throws org.jboss.axis.AxisFault; 165 166 171 public int getAttachmentCount(); 172 173 180 public boolean isAttachment(Object value); 181 182 183 186 public final int SEND_TYPE_NOTSET = 1; 187 188 191 public final int SEND_TYPE_MIME = 2; 193 196 public final int SEND_TYPE_DIME = 3; 198 201 public final int SEND_TYPE_NONE = 4; 203 final int SEND_TYPE_MAX = 4; 204 205 208 final int SEND_TYPE_DEFAULT = SEND_TYPE_MIME; 209 210 213 public final String CIDprefix = "cid:"; 214 215 222 223 public void setSendType(int sendtype); 224 225 230 231 public int getSendType(); 232 233 237 238 public void dispose(); 239 } | Popular Tags |