public class Envelope1_2Impl extends EnvelopeImpl
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
body, headerDSIG_NS, elementQName, WSU_NS, XENC_NS, XML_URI, XMLNS_URIATTRIBUTE_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, writeToaddCDATA, 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, tryToFindEncodingStyleAttributeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclarationdetachNode, getParentElement, getValue, recycleNode, setParentElement, setValuegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, 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, setUserDataprotected 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
SOAPExceptionprotected NameImpl getBodyName(String prefix)
getBodyName in class EnvelopeImplprotected NameImpl getHeaderName(String prefix)
getHeaderName in class EnvelopeImplpublic void setEncodingStyle(String encodingStyle) throws SOAPException
SOAPElementSOAPElement object
to one specified.setEncodingStyle in interface SOAPElementsetEncodingStyle in class ElementImplencodingStyle - 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
SOAPElementSOAPElement object.addAttribute in interface SOAPElementaddAttribute in class ElementImplname - 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
SOAPElementSOAPElement object.addAttribute in interface SOAPElementaddAttribute in class ElementImplname - 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
SOAPElementSOAPElement 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 SOAPElementaddChildElement in class ElementImplname - 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
SOAPElementSOAPElement 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 SOAPElementaddChildElement in class ElementImplname - 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
SOAPElementText object initialized with the given
String and adds it to this SOAPElement object.addTextNode in interface SOAPElementaddTextNode in class ElementImpltext - 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
SOAPElementCopyright © 2019 JBoss by Red Hat. All rights reserved.