public class Header1_2Impl extends HeaderImpl
Modifier and Type | Field and Description |
---|---|
protected static Logger |
log |
MUST_UNDERSTAND_ONLY
DSIG_NS, elementQName, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
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 |
---|
Header1_2Impl(SOAPDocumentImpl ownerDoc,
Element domElement) |
Header1_2Impl(SOAPDocumentImpl ownerDocument,
String prefix) |
Modifier and Type | Method and Description |
---|---|
SOAPElement |
addAttribute(Name name,
String value)
Adds an attribute with the specified name and value to this
SOAPElement object. |
SOAPElement |
addAttribute(QName name,
String value)
Adds an attribute with the specified name and value to this
SOAPElement object. |
SOAPHeaderElement |
addNotUnderstoodHeaderElement(QName sourceName)
Creates a new NotUnderstood
SOAPHeaderElement object initialized
with the specified name and adds it to this SOAPHeader object. |
SOAPElement |
addTextNode(String text)
Creates a new
Text object initialized with the given
String and adds it to this SOAPElement object. |
protected SOAPHeaderElement |
createHeaderElement(Name name) |
protected SOAPHeaderElement |
createHeaderElement(QName name) |
protected NameImpl |
getNotUnderstoodName() |
protected NameImpl |
getSupportedEnvelopeName() |
protected NameImpl |
getUpgradeName() |
void |
setEncodingStyle(String encodingStyle)
Sets the encoding style for this
SOAPElement object
to one specified. |
addChildElement, addElement, addElement, addHeaderElement, addHeaderElement, addUpgradeHeaderElement, addUpgradeHeaderElement, addUpgradeHeaderElement, convertToSoapElement, examineAllHeaderElements, examineHeaderElements, examineMustUnderstandHeaderElements, extractAllHeaderElements, extractHeaderElements, getHeaderElements, getHeaderElementsForActor, setElementQName, setParentElement
addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, 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, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration
detachNode, getParentElement, getValue, recycleNode, setValue
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
protected static final Logger log
public Header1_2Impl(SOAPDocumentImpl ownerDocument, String prefix)
public Header1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement)
protected NameImpl getNotUnderstoodName()
getNotUnderstoodName
in class HeaderImpl
protected NameImpl getUpgradeName()
getUpgradeName
in class HeaderImpl
protected NameImpl getSupportedEnvelopeName()
getSupportedEnvelopeName
in class HeaderImpl
public SOAPHeaderElement addNotUnderstoodHeaderElement(QName sourceName) throws SOAPException
SOAPHeader
SOAPHeaderElement
object initialized
with the specified name and adds it to this SOAPHeader
object.
This operation is supported only by SOAP 1.2.sourceName
- a QName
object with the name of the
SOAPHeaderElement
object that was not understood.SOAPHeaderElement
object that was
inserted into this SOAPHeader
objectSOAPException
- if a SOAP error occurs.public SOAPElement addTextNode(String text) throws SOAPException
SOAPElement
Text
object initialized with the given
String
and adds it to this SOAPElement
object.addTextNode
in interface SOAPElement
addTextNode
in class ElementImpl
text
- a String
object with the textual content to be addedSOAPElement
object into which
the new Text
object was insertedSOAPException
- 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
SOAPElement
protected SOAPHeaderElement createHeaderElement(Name name) throws SOAPException
createHeaderElement
in class HeaderImpl
SOAPException
protected SOAPHeaderElement createHeaderElement(QName name) throws SOAPException
createHeaderElement
in class HeaderImpl
SOAPException
public void setEncodingStyle(String encodingStyle) throws SOAPException
SOAPElement
SOAPElement
object
to one specified.setEncodingStyle
in interface SOAPElement
setEncodingStyle
in class ElementImpl
encodingStyle
- a String
giving the encoding styleSOAPException
- if setting the encodingStyle is invalid for this SOAPElement.SOAPElement.getEncodingStyle()
public SOAPElement addAttribute(Name name, String value) throws SOAPException
SOAPElement
SOAPElement
object.addAttribute
in interface SOAPElement
addAttribute
in class ElementImpl
name
- a Name
object with the name of the attributevalue
- a String
giving the value of the attributeSOAPElement
object into which the attribute was
insertedSOAPException
- if there is an error in creating the
Attribute, or it is invalid to set
an attribute with Name
name
on this SOAPElement.SOAPElement.addAttribute(javax.xml.namespace.QName, String)
public SOAPElement addAttribute(QName name, String value) throws SOAPException
SOAPElement
SOAPElement
object.addAttribute
in interface SOAPElement
addAttribute
in class ElementImpl
name
- a QName
object with the name of the attributevalue
- a String
giving the value of the attributeSOAPElement
object into which the attribute was
insertedSOAPException
- if there is an error in creating the
Attribute, or it is invalid to set
an attribute with QName
qname
on this SOAPElement.SOAPElement.addAttribute(Name, String)
Copyright © 2021 JBoss by Red Hat. All rights reserved.