|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.util.SaajUtils
LOG-DONE
Field Summary | |
static org.apache.ws.util.i18n.Messages |
MSG
DOCUMENT_ME |
Constructor Summary | |
SaajUtils()
|
Method Summary | |
static javax.xml.soap.DetailEntry |
addDetailEntry(javax.xml.soap.Detail detail,
org.w3c.dom.Element domElem)
Adds a DOM Element as an entry to a SAAJ Detail . |
static void |
addTextNode(javax.xml.soap.SOAPElement soapElem,
java.lang.String value)
DOCUMENT_ME |
static javax.xml.soap.Text |
createTextNode(java.lang.String value)
DOCUMENT_ME |
static java.util.List |
getChildNodes(javax.xml.soap.SOAPElement soapElem)
Given a SOAPElement , returns a list containing the children of that element. |
static javax.xml.namespace.QName |
getQualifiedName(javax.xml.soap.SOAPElement elem)
DOCUMENT_ME |
static java.lang.String |
getValue(javax.xml.soap.Node soapNode)
Returns the value of the specified SAAJ text node. |
static boolean |
isSOAPElement(javax.xml.soap.Node soap_node)
Returns true if the specified SAAJ node is an element, or false otherwise. |
static boolean |
isText(javax.xml.soap.Node soap_node)
Returns true if the specified SAAJ node is text, or false otherwise. |
static javax.xml.soap.SOAPElement |
toSOAPElement(org.w3c.dom.Element elem)
Converts a DOM Element to a SAAJ SOAPElement . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.ws.util.i18n.Messages MSG
Constructor Detail |
public SaajUtils()
Method Detail |
public static java.util.List getChildNodes(javax.xml.soap.SOAPElement soapElem)
SOAPElement
, returns a list containing the children of that element. If at least one of the
children is a SOAPElement, any Text
nodes are excluded from the list. This is because it is assumed that
if the specified element has mixed content, it is only because of insignificant whitespace text nodes.
soapElem
- a SAAJ SOAPElement
SOAPElement
public static javax.xml.namespace.QName getQualifiedName(javax.xml.soap.SOAPElement elem)
elem
- DOCUMENT_ME
public static boolean isSOAPElement(javax.xml.soap.Node soap_node)
soap_node
- a SAAJ node
public static boolean isText(javax.xml.soap.Node soap_node)
soap_node
- a SAAJ node
public static java.lang.String getValue(javax.xml.soap.Node soapNode) throws javax.xml.soap.SOAPException
soapNode
- a SAAJ text node
javax.xml.soap.SOAPException
public static javax.xml.soap.DetailEntry addDetailEntry(javax.xml.soap.Detail detail, org.w3c.dom.Element domElem) throws javax.xml.soap.SOAPException
Element
as an entry to a SAAJ Detail
.
detail
- a SAAJ detaildomElem
- a DOM element to be added as an entry in the specified detail
javax.xml.soap.SOAPException
public static void addTextNode(javax.xml.soap.SOAPElement soapElem, java.lang.String value) throws javax.xml.soap.SOAPException
soapElem
- DOCUMENT_MEvalue
- DOCUMENT_ME
javax.xml.soap.SOAPException
- DOCUMENT_MEpublic static javax.xml.soap.Text createTextNode(java.lang.String value) throws javax.xml.soap.SOAPException
value
- DOCUMENT_ME
javax.xml.soap.SOAPException
- DOCUMENT_MEpublic static javax.xml.soap.SOAPElement toSOAPElement(org.w3c.dom.Element elem) throws javax.xml.soap.SOAPException
Element
to a SAAJ SOAPElement
.
elem
- a DOM Element
SOAPElement
javax.xml.soap.SOAPException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |