|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.narada.wsinfra.util.SoapDOMConversion
This is a utility class which performs several DOM to SOAPElement related functions.
| Field Summary | |
static String |
SOAP_ENVELOPE_NAMESPACE_URI
|
| Method Summary | |
SOAPElement |
addChildNode(Node node,
SOAPElement soapElement,
SOAPEnvelope soapEnvelope)
This method adds a w3c DOM node to the specified javax.soap.SOAPElement. |
SOAPElement |
addChildNodes(Node node,
SOAPElement soapElement,
SOAPEnvelope soapEnvelope)
This method adds child nodes of the specified w3c DOM Node to the specified javax.soap.SOAPElement. |
SOAPElement |
convertDOMNodeToSOAPElement(Node node,
SOAPEnvelope soapEnvelope)
This method converts a w3c DOM Node into a javax.xml.SOAPElement. |
Document |
convertToDOMDocument(SOAPMessage soapMessage)
This method converts a SOAPMessage into a org.w3c.dom.Document object. |
Element |
extractSOAPBody(Document document)
This method extracts the SOAPBody from a document. |
Element |
extractSOAPHeader(Document document)
This method extracts the SOAPHeader from a document. |
Element |
getElement(Element element,
String localName)
This method retrieves a child element based on just the localName associated with the element in question. |
Element |
getElement(Element element,
String localName,
String prefixUri)
This method retrieves a child element based on both the localName and prefixUri associated with the element in the question. |
static SoapDOMConversion |
getInstance()
|
boolean |
hasElement(Element element,
String localName,
String prefixUri)
Checks to see if the element in question contains an element referred to the specified localName and prefixUri |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String SOAP_ENVELOPE_NAMESPACE_URI
| Method Detail |
public static SoapDOMConversion getInstance()
public Document convertToDOMDocument(SOAPMessage soapMessage)
throws Exception
Exception
public Element extractSOAPHeader(Document document)
throws Exception
Exception
public Element extractSOAPBody(Document document)
throws Exception
Exception
public boolean hasElement(Element element,
String localName,
String prefixUri)
public Element getElement(Element element,
String localName,
String prefixUri)
public Element getElement(Element element,
String localName)
public SOAPElement convertDOMNodeToSOAPElement(Node node,
SOAPEnvelope soapEnvelope)
throws Exception
Exception
public SOAPElement addChildNodes(Node node,
SOAPElement soapElement,
SOAPEnvelope soapEnvelope)
throws Exception
Exception
public SOAPElement addChildNode(Node node,
SOAPElement soapElement,
SOAPEnvelope soapEnvelope)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||