- java.lang.Object
-
- com.sun.xml.messaging.saaj.soap.impl.ElementImpl
-
- com.sun.xml.messaging.saaj.soap.impl.HeaderImpl
-
- All Implemented Interfaces:
Node,SOAPBodyElement,SOAPElement,SOAPHeader,Element,Node
- Direct Known Subclasses:
Header1_1Impl,Header1_2Impl
public abstract class HeaderImpl extends ElementImpl implements SOAPHeader
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanMUST_UNDERSTAND_ONLY-
Fields inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
DSIG_NS, elementQName, log, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
-
Fields inherited from interface org.w3c.dom.Node
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 Summary
Constructors Modifier Constructor Description protectedHeaderImpl(SOAPDocumentImpl ownerDoc, NameImpl name)HeaderImpl(SOAPDocumentImpl ownerDoc, Element domElement)
-
Method Summary
-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, appendChild, cloneNode, compareDocumentPosition, convertToSoapText, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueFrom, getBaseURI, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getChildNodes, getDomElement, getElementName, getElementQName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFeature, getFirstChild, getLastChild, getLocalName, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPrefix, getPreviousSibling, getQualifiedName, getSchemaTypeInfo, getSoapDocument, getSOAPNamespace, getTagName, getTextContent, getUserData, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, importElement, insertBefore, isDefaultNamespace, isEqualNode, isNamespaceQualified, isNamespaceQualified, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeAttribute, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, replaceElementWithSOAPElement, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyle, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
-
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValue
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Methods inherited from interface javax.xml.soap.SOAPElement
addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
-
Methods inherited from interface javax.xml.soap.SOAPHeader
addNotUnderstoodHeaderElement
-
-
-
-
Field Detail
-
MUST_UNDERSTAND_ONLY
protected static final boolean MUST_UNDERSTAND_ONLY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeaderImpl
protected HeaderImpl(SOAPDocumentImpl ownerDoc, NameImpl name)
-
HeaderImpl
public HeaderImpl(SOAPDocumentImpl ownerDoc, Element domElement)
-
-
Method Detail
-
createHeaderElement
protected abstract SOAPHeaderElement createHeaderElement(Name name) throws SOAPException
- Throws:
SOAPException
-
createHeaderElement
protected abstract SOAPHeaderElement createHeaderElement(QName name) throws SOAPException
- Throws:
SOAPException
-
getNotUnderstoodName
protected abstract NameImpl getNotUnderstoodName()
-
getUpgradeName
protected abstract NameImpl getUpgradeName()
-
getSupportedEnvelopeName
protected abstract NameImpl getSupportedEnvelopeName()
-
addHeaderElement
public SOAPHeaderElement addHeaderElement(Name name) throws SOAPException
- Specified by:
addHeaderElementin interfaceSOAPHeader- Throws:
SOAPException
-
addHeaderElement
public SOAPHeaderElement addHeaderElement(QName name) throws SOAPException
- Specified by:
addHeaderElementin interfaceSOAPHeader- Throws:
SOAPException
-
addElement
protected SOAPElement addElement(Name name) throws SOAPException
- Overrides:
addElementin classElementImpl- Throws:
SOAPException
-
addElement
protected SOAPElement addElement(QName name) throws SOAPException
- Overrides:
addElementin classElementImpl- Throws:
SOAPException
-
examineHeaderElements
public Iterator<SOAPHeaderElement> examineHeaderElements(String actor)
- Specified by:
examineHeaderElementsin interfaceSOAPHeader
-
extractHeaderElements
public Iterator<SOAPHeaderElement> extractHeaderElements(String actor)
- Specified by:
extractHeaderElementsin interfaceSOAPHeader
-
getHeaderElementsForActor
protected Iterator<SOAPHeaderElement> getHeaderElementsForActor(String actor, boolean detach, boolean mustUnderstand)
-
getHeaderElements
protected Iterator<SOAPHeaderElement> getHeaderElements(String actor, boolean detach, boolean mustUnderstand)
-
setParentElement
public void setParentElement(SOAPElement element) throws SOAPException
- Specified by:
setParentElementin interfaceNode- Overrides:
setParentElementin classElementImpl- Throws:
SOAPException
-
addChildElement
public SOAPElement addChildElement(String localName) throws SOAPException
- Specified by:
addChildElementin interfaceSOAPElement- Overrides:
addChildElementin classElementImpl- Throws:
SOAPException
-
examineAllHeaderElements
public Iterator<SOAPHeaderElement> examineAllHeaderElements()
- Specified by:
examineAllHeaderElementsin interfaceSOAPHeader
-
examineMustUnderstandHeaderElements
public Iterator<SOAPHeaderElement> examineMustUnderstandHeaderElements(String actor)
- Specified by:
examineMustUnderstandHeaderElementsin interfaceSOAPHeader
-
extractAllHeaderElements
public Iterator<SOAPHeaderElement> extractAllHeaderElements()
- Specified by:
extractAllHeaderElementsin interfaceSOAPHeader
-
addUpgradeHeaderElement
public SOAPHeaderElement addUpgradeHeaderElement(Iterator supportedSoapUris) throws SOAPException
- Specified by:
addUpgradeHeaderElementin interfaceSOAPHeader- Throws:
SOAPException
-
addUpgradeHeaderElement
public SOAPHeaderElement addUpgradeHeaderElement(String supportedSoapUri) throws SOAPException
- Specified by:
addUpgradeHeaderElementin interfaceSOAPHeader- Throws:
SOAPException
-
addUpgradeHeaderElement
public SOAPHeaderElement addUpgradeHeaderElement(String[] supportedSoapUris) throws SOAPException
- Specified by:
addUpgradeHeaderElementin interfaceSOAPHeader- Throws:
SOAPException
-
convertToSoapElement
protected SOAPElement convertToSoapElement(Element element)
- Overrides:
convertToSoapElementin classElementImpl
-
setElementQName
public SOAPElement setElementQName(QName newName) throws SOAPException
- Specified by:
setElementQNamein interfaceSOAPElement- Overrides:
setElementQNamein classElementImpl- Throws:
SOAPException
-
-