|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.util.AttachmentHelper
public final class AttachmentHelper
Helper class for SOAP attachment handling
| Method Summary | |
|---|---|
static java.util.List<javax.activation.DataHandler> |
getAttachments(org.apache.axiom.om.OMElement omElement)
Get all the direct attachments from an OMElement |
static org.apache.axiom.om.OMElement |
hasAttachmentElement(org.apache.axiom.om.OMElement omElement,
javax.activation.DataHandler dh,
java.lang.String cid)
Test if the given OMElement has an attachment corresponding to
the provided CID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<javax.activation.DataHandler> getAttachments(org.apache.axiom.om.OMElement omElement)
OMElement
omElement -
public static org.apache.axiom.om.OMElement hasAttachmentElement(org.apache.axiom.om.OMElement omElement,
javax.activation.DataHandler dh,
java.lang.String cid)
OMElement has an attachment corresponding to
the provided CID. If it exists, it this replace by itself using AXIOM
API. This replacement is needed by Axis2
omElement - dh - cid - the attachment content id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||