public abstract class EnvelopeImpl extends ElementImpl implements Envelope
Modifier and Type | Field and Description |
---|---|
protected BodyImpl |
body |
protected HeaderImpl |
header |
DSIG_NS, elementQName, log, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
localName, namespaceURI
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_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
Modifier | Constructor and Description |
---|---|
protected |
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
javax.xml.soap.Name name) |
protected |
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
NameImpl name,
boolean createHeader,
boolean createBody) |
protected |
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
javax.xml.namespace.QName name) |
Modifier and Type | Method and Description |
---|---|
javax.xml.soap.SOAPBody |
addBody() |
javax.xml.soap.SOAPBody |
addBody(java.lang.String prefix) |
protected javax.xml.soap.SOAPElement |
addElement(javax.xml.soap.Name name) |
protected javax.xml.soap.SOAPElement |
addElement(javax.xml.namespace.QName name) |
javax.xml.soap.SOAPHeader |
addHeader() |
javax.xml.soap.SOAPHeader |
addHeader(java.lang.String prefix) |
javax.xml.soap.Name |
createName(java.lang.String localName) |
javax.xml.soap.Name |
createName(java.lang.String localName,
java.lang.String prefix) |
javax.xml.soap.Name |
createName(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri) |
javax.xml.soap.SOAPBody |
getBody() |
protected abstract NameImpl |
getBodyName(java.lang.String prefix) |
javax.xml.transform.Source |
getContent()
Get the content as a JAXP Source.
|
javax.xml.soap.SOAPHeader |
getHeader() |
protected abstract NameImpl |
getHeaderName(java.lang.String prefix) |
protected void |
lookForBody() |
protected void |
lookForHeader() |
void |
output(java.io.OutputStream out)
Output the content.
|
void |
output(java.io.OutputStream out,
boolean isFastInfoset)
Serialize to FI if boolean parameter set.
|
void |
setCharsetEncoding(java.lang.String value) |
javax.xml.soap.SOAPElement |
setElementQName(javax.xml.namespace.QName newName) |
void |
setOmitXmlDecl(java.lang.String value) |
void |
setXmlDecl(java.lang.String value) |
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, circumventBug5034339, convertToSoapElement, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttributeValue, getAttributeValue, getAttributeValueFrom, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getElementName, getElementQName, getEncodingStyle, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getOwnerDocument, getParentElement, getPrefix, getQualifiedName, getSOAPNamespace, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, importElement, isNamespaceQualified, isNamespaceQualified, recycleNode, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, replaceElementWithSOAPElement, setAttributeNS, setEncodingStyle, setEncodingStyleNamespace, setParentElement, setValue, tryToFindEncodingStyleAttributeName
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttribute, addAttribute, addChildElement, 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
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 HeaderImpl header
protected BodyImpl body
protected EnvelopeImpl(SOAPDocumentImpl ownerDoc, javax.xml.soap.Name name)
protected EnvelopeImpl(SOAPDocumentImpl ownerDoc, javax.xml.namespace.QName name)
protected EnvelopeImpl(SOAPDocumentImpl ownerDoc, NameImpl name, boolean createHeader, boolean createBody) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected abstract NameImpl getHeaderName(java.lang.String prefix)
protected abstract NameImpl getBodyName(java.lang.String prefix)
public javax.xml.soap.SOAPHeader addHeader() throws javax.xml.soap.SOAPException
addHeader
in interface javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPHeader addHeader(java.lang.String prefix) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void lookForHeader() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPHeader getHeader() throws javax.xml.soap.SOAPException
getHeader
in interface javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPException
protected void lookForBody() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPBody addBody() throws javax.xml.soap.SOAPException
addBody
in interface javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPBody addBody(java.lang.String prefix) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addElement(javax.xml.soap.Name name) throws javax.xml.soap.SOAPException
addElement
in class ElementImpl
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addElement(javax.xml.namespace.QName name) throws javax.xml.soap.SOAPException
addElement
in class ElementImpl
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPBody getBody() throws javax.xml.soap.SOAPException
getBody
in interface javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPException
public javax.xml.transform.Source getContent()
Envelope
getContent
in interface Envelope
public javax.xml.soap.Name createName(java.lang.String localName, java.lang.String prefix, java.lang.String uri) throws javax.xml.soap.SOAPException
createName
in interface javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPException
public javax.xml.soap.Name createName(java.lang.String localName, java.lang.String prefix) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public javax.xml.soap.Name createName(java.lang.String localName) throws javax.xml.soap.SOAPException
createName
in interface javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPException
public void setOmitXmlDecl(java.lang.String value)
public void setXmlDecl(java.lang.String value)
public void setCharsetEncoding(java.lang.String value)
public void output(java.io.OutputStream out) throws java.io.IOException
Envelope
public void output(java.io.OutputStream out, boolean isFastInfoset) throws java.io.IOException
public javax.xml.soap.SOAPElement setElementQName(javax.xml.namespace.QName newName) throws javax.xml.soap.SOAPException
setElementQName
in interface javax.xml.soap.SOAPElement
setElementQName
in class ElementImpl
javax.xml.soap.SOAPException