public class SOAPHeaderImpl extends SOAPElementImpl implements SOAPHeader
domNode, soapParent
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
SOAPHeaderImpl(String prefix,
String namespace) |
Modifier and Type | Method and Description |
---|---|
SOAPElement |
addChildElement(SOAPElement child)
Add a SOAPHeaderElement as a child of this SOAPHeader instance.
|
SOAPHeaderElement |
addHeaderElement(Name name)
Creates a new SOAPHeaderElement object initialized with the specified name and adds it to this SOAPHeader object.
|
SOAPHeaderElement |
addHeaderElement(QName qname) |
SOAPHeaderElement |
addNotUnderstoodHeaderElement(QName qname) |
SOAPElement |
addTextNode(String value)
Attaching a Text node is not legal.
|
SOAPHeaderElement |
addUpgradeHeaderElement(Iterator supportedSoapUris) |
SOAPHeaderElement |
addUpgradeHeaderElement(String supportedSoapUri) |
SOAPHeaderElement |
addUpgradeHeaderElement(String[] supportedSoapUris) |
Node |
appendChild(Node newChild) |
Iterator |
examineAllHeaderElements()
Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object.
|
Iterator |
examineHeaderElements(String actor)
Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object that have the specified actor.
|
Iterator |
examineMustUnderstandHeaderElements(String actor)
Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object that have the specified
actor and that have a MustUnderstand attribute whose value is equivalent to true.
|
Iterator |
extractAllHeaderElements() |
Iterator |
extractHeaderElements(String actor) |
Node |
insertBefore(Node newChild,
Node refChild) |
Node |
replaceChild(Node newChild,
Node oldChild) |
addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFirstChildElementByLocalName, getNamespacePrefixes, getNamespaceURI, getSchemaTypeInfo, getSOAPEnvelope, getTagName, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, removeAttribute, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setElementQName, setElementQNameInternal, setEncodingStyle, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setPrefix, writeElement, writeElementContent
cloneNode, compareDocumentPosition, detachNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getValue, hasAttributes, hasChildNodes, hashCode, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeChild, setNodeValue, setParentElement, setTextContent, setUserData, setValue, toString
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setElementQName, setEncodingStyle
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, setNodeValue, setPrefix, setTextContent, setUserData
public SOAPElement addChildElement(SOAPElement child) throws SOAPException
addChildElement
in interface SOAPElement
addChildElement
in class SOAPElementImpl
child
- the SOAPElement to be added as a new childSOAPException
- if there was an error in adding this element as a childpublic SOAPElement addTextNode(String value) throws SOAPException
addTextNode
in interface SOAPElement
addTextNode
in class SOAPElementImpl
value
- a String object with the textual content to be addedSOAPException
- if there is an error in creating the new Text object
or if it is not legal to attach it as a child to this SOAPElementpublic SOAPHeaderElement addHeaderElement(Name name) throws SOAPException
addHeaderElement
in interface SOAPHeader
SOAPException
public SOAPHeaderElement addHeaderElement(QName qname) throws SOAPException
addHeaderElement
in interface SOAPHeader
SOAPException
public Iterator examineAllHeaderElements()
examineAllHeaderElements
in interface SOAPHeader
public Iterator examineHeaderElements(String actor)
examineHeaderElements
in interface SOAPHeader
public Iterator examineMustUnderstandHeaderElements(String actor)
examineMustUnderstandHeaderElements
in interface SOAPHeader
public Iterator extractAllHeaderElements()
extractAllHeaderElements
in interface SOAPHeader
public Iterator extractHeaderElements(String actor)
extractHeaderElements
in interface SOAPHeader
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
appendChild
in class NodeImpl
DOMException
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
insertBefore
in class NodeImpl
DOMException
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
replaceChild
in class NodeImpl
DOMException
public SOAPHeaderElement addNotUnderstoodHeaderElement(QName qname) throws SOAPException
addNotUnderstoodHeaderElement
in interface SOAPHeader
SOAPException
public SOAPHeaderElement addUpgradeHeaderElement(Iterator supportedSoapUris) throws SOAPException
addUpgradeHeaderElement
in interface SOAPHeader
SOAPException
public SOAPHeaderElement addUpgradeHeaderElement(String[] supportedSoapUris) throws SOAPException
addUpgradeHeaderElement
in interface SOAPHeader
SOAPException
public SOAPHeaderElement addUpgradeHeaderElement(String supportedSoapUri) throws SOAPException
addUpgradeHeaderElement
in interface SOAPHeader
SOAPException
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.