|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.message.attachments.AttachmentUtils
public class AttachmentUtils
A suite of utilities used for handling MTOM attachment data.
Constructor Summary | |
---|---|
AttachmentUtils()
|
Method Summary | |
---|---|
static java.util.ArrayList<org.apache.axiom.om.OMText> |
findBinaryNodes(org.apache.axiom.soap.SOAPEnvelope env)
Can be used to find all of the nodes in a tree that contain binary content that is targetted for optimization via MTOM. |
static void |
findCachedAttachment(org.apache.axiom.attachments.Attachments attachments)
Process attachment's dataHandlers for CachedFileDataSource. |
static java.util.ArrayList<org.apache.axiom.om.OMElement> |
findXopElements(org.apache.axiom.om.OMElement env)
Can be used to find all instances of the |
static org.apache.axiom.om.OMText |
makeBinaryOMNode(org.apache.axiom.om.OMElement xop,
javax.activation.DataHandler dh)
Given an |
static org.apache.axiom.om.OMElement |
makeXopElement(org.apache.axiom.om.OMText data)
Given an OMText node, create it's corresponding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentUtils()
Method Detail |
---|
public static java.util.ArrayList<org.apache.axiom.om.OMElement> findXopElements(org.apache.axiom.om.OMElement env)
element within a given OM SOAPEnvelope.
env
-
public static java.util.ArrayList<org.apache.axiom.om.OMText> findBinaryNodes(org.apache.axiom.soap.SOAPEnvelope env)
env
-
public static org.apache.axiom.om.OMText makeBinaryOMNode(org.apache.axiom.om.OMElement xop, javax.activation.DataHandler dh)
element, create an OMText element with the appropriate attachment data.
xop
- data
-
public static org.apache.axiom.om.OMElement makeXopElement(org.apache.axiom.om.OMText data)
element.
public static void findCachedAttachment(org.apache.axiom.attachments.Attachments attachments)
attachments
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |