public class Envelope1_2Impl extends EnvelopeImpl
Modifier and Type | Field and Description |
---|---|
protected static Logger |
log |
body, header
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 |
---|
Envelope1_2Impl(SOAPDocumentImpl ownerDoc,
Element domElement) |
Envelope1_2Impl(SOAPDocumentImpl ownerDoc,
String prefix) |
Envelope1_2Impl(SOAPDocumentImpl ownerDoc,
String prefix,
boolean createHeader,
boolean createBody) |
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. |
SOAPElement |
addChildElement(Name name)
Creates a new
SOAPElement object initialized with the
given Name object and adds the new element to this
SOAPElement object. |
SOAPElement |
addChildElement(QName name)
Creates a new
SOAPElement object initialized with the given
QName object and adds the new element to this SOAPElement
object. |
SOAPElement |
addTextNode(String text)
Creates a new
Text object initialized with the given
String and adds it to this SOAPElement object. |
protected NameImpl |
getBodyName(String prefix) |
protected NameImpl |
getHeaderName(String prefix) |
void |
setEncodingStyle(String encodingStyle)
Sets the encoding style for this
SOAPElement object
to one specified. |
addBody, addBody, addElement, addElement, addHeader, addHeader, createName, createName, createName, getBody, getContent, getHeader, getPayloadAttributeValue, getPayloadAttributeValue, getPayloadQName, getPayloadReader, getStaxBridge, isLazy, lookForBody, lookForHeader, output, output, setCharsetEncoding, setElementQName, setOmitXmlDecl, setStaxBridge, setXmlDecl, writeTo
addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, appendChild, cloneNode, compareDocumentPosition, convertToSoapElement, 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, setParentElement, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, setParentElement, 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 Envelope1_2Impl(SOAPDocumentImpl ownerDoc, String prefix)
public Envelope1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement)
public Envelope1_2Impl(SOAPDocumentImpl ownerDoc, String prefix, boolean createHeader, boolean createBody) throws SOAPException
SOAPException
protected NameImpl getBodyName(String prefix)
getBodyName
in class EnvelopeImpl
protected NameImpl getHeaderName(String prefix)
getHeaderName
in class EnvelopeImpl
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)
public SOAPElement addChildElement(Name name) throws SOAPException
SOAPElement
SOAPElement
object initialized with the
given Name
object and adds the new element to this
SOAPElement
object.
This method may be deprecated in a future release of SAAJ in favor of addChildElement(javax.xml.namespace.QName)
addChildElement
in interface SOAPElement
addChildElement
in class ElementImpl
name
- a Name
object with the XML name for the
new elementSOAPElement
object that was createdSOAPException
- if there is an error in creating the
SOAPElement
objectSOAPElement.addChildElement(javax.xml.namespace.QName)
public SOAPElement addChildElement(QName name) throws SOAPException
SOAPElement
SOAPElement
object initialized with the given
QName
object and adds the new element to this SOAPElement
object. The namespace, localname and prefix of the new
SOAPElement
are all taken from the qname
argument.addChildElement
in interface SOAPElement
addChildElement
in class ElementImpl
name
- a QName
object with the XML name for the
new elementSOAPElement
object that was createdSOAPException
- if there is an error in creating the
SOAPElement
objectSOAPElement.addChildElement(Name)
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
Copyright © 2020 JBoss by Red Hat. All rights reserved.