|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.saaj.util.SAAJUtil
public class SAAJUtil
Utility class for the Axis2-WSS4J Module
Constructor Summary | |
---|---|
SAAJUtil()
|
Method Summary | |
---|---|
static boolean |
compareContentTypes(String contentType1,
String contentType2)
|
static MimeHeaders |
copyMimeHeaders(MimeHeaders headers)
Create a copy of an existing MimeHeaders object. |
static Document |
getDocumentFromSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope env)
Create a DOM Document using the org.apache.axiom.soap.SOAPEnvelope |
static org.apache.axiom.soap.SOAPEnvelope |
getSOAPEnvelopeFromDOOMDocument(Document doc)
|
static String |
normalizeContentType(String contentType)
Normalize a content type specification. |
static Element |
toDOM(org.apache.axiom.om.OMElement element)
Convert a given OMElement to a DOM Element |
static org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl |
toDOOMSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope env)
Create a DOM Document using the org.apache.axiom.soap.SOAPEnvelope |
static org.apache.axiom.soap.SOAPEnvelope |
toOMSOAPEnvelope(Element elem)
|
static org.apache.axiom.soap.SOAPEnvelope |
toOMSOAPEnvelope(SOAPMessage message)
Convert a SAAJ message to an Axiom SOAP envelope object and process xop:Include elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAAJUtil()
Method Detail |
---|
public static Document getDocumentFromSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope env)
env
- An org.apache.axiom.soap.SOAPEnvelope instance
public static org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl toDOOMSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope env)
env
- An org.apache.axiom.soap.SOAPEnvelope instance
public static org.apache.axiom.soap.SOAPEnvelope getSOAPEnvelopeFromDOOMDocument(Document doc)
public static org.apache.axiom.soap.SOAPEnvelope toOMSOAPEnvelope(Element elem)
public static org.apache.axiom.soap.SOAPEnvelope toOMSOAPEnvelope(SOAPMessage message) throws SOAPException
message
- the SAAJ message
SOAPException
public static Element toDOM(org.apache.axiom.om.OMElement element) throws Exception
element
-
Exception
public static MimeHeaders copyMimeHeaders(MimeHeaders headers)
MimeHeaders
object.
headers
- the object to copy
MimeHeaders
objectpublic static String normalizeContentType(String contentType)
contentType
- the content type to normalize
public static boolean compareContentTypes(String contentType1, String contentType2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |