public abstract class EnvelopeImpl extends ElementImpl implements LazyEnvelope
| Modifier and Type | Field and Description |
|---|---|
protected BodyImpl |
body |
protected HeaderImpl |
header |
DSIG_NS, elementQName, log, 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| Modifier | Constructor and Description |
|---|---|
|
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
Element domElement) |
protected |
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
Name name) |
protected |
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
NameImpl name,
boolean createHeader,
boolean createBody) |
protected |
EnvelopeImpl(SOAPDocumentImpl ownerDoc,
QName name) |
| Modifier and Type | Method and Description |
|---|---|
SOAPBody |
addBody() |
SOAPBody |
addBody(String prefix) |
protected SOAPElement |
addElement(Name name) |
protected SOAPElement |
addElement(QName name) |
SOAPHeader |
addHeader() |
SOAPHeader |
addHeader(String prefix) |
Name |
createName(String localName) |
Name |
createName(String localName,
String prefix) |
Name |
createName(String localName,
String prefix,
String uri) |
SOAPBody |
getBody() |
protected abstract NameImpl |
getBodyName(String prefix) |
Source |
getContent()
Get the content as a JAXP Source.
|
SOAPHeader |
getHeader() |
protected abstract NameImpl |
getHeaderName(String prefix) |
String |
getPayloadAttributeValue(QName qName)
Retrieve payload attribute value without materializing its contents
|
String |
getPayloadAttributeValue(String localName)
Retrieve payload attribute value without materializing its contents
|
QName |
getPayloadQName()
Retrieve payload qname without materializing its contents
|
XMLStreamReader |
getPayloadReader() |
StaxBridge |
getStaxBridge() |
boolean |
isLazy() |
protected void |
lookForBody() |
protected void |
lookForHeader() |
void |
output(OutputStream out)
Output the content.
|
void |
output(OutputStream out,
boolean isFastInfoset)
Serialize to FI if boolean parameter set.
|
void |
setCharsetEncoding(String value) |
SOAPElement |
setElementQName(QName newName) |
void |
setOmitXmlDecl(String value) |
void |
setStaxBridge(StaxBridge bridge) |
void |
setXmlDecl(String value) |
void |
writeTo(XMLStreamWriter writer) |
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, 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, setEncodingStyle, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setParentElement, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttribute, 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, setEncodingStyledetachNode, 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 HeaderImpl header
protected BodyImpl body
protected EnvelopeImpl(SOAPDocumentImpl ownerDoc, Name name)
protected EnvelopeImpl(SOAPDocumentImpl ownerDoc, QName name)
protected EnvelopeImpl(SOAPDocumentImpl ownerDoc, NameImpl name, boolean createHeader, boolean createBody) throws SOAPException
SOAPExceptionpublic EnvelopeImpl(SOAPDocumentImpl ownerDoc, Element domElement)
public SOAPHeader addHeader() throws SOAPException
addHeader in interface SOAPEnvelopeSOAPExceptionpublic SOAPHeader addHeader(String prefix) throws SOAPException
SOAPExceptionprotected void lookForHeader()
throws SOAPException
SOAPExceptionpublic SOAPHeader getHeader() throws SOAPException
getHeader in interface SOAPEnvelopeSOAPExceptionprotected void lookForBody()
throws SOAPException
SOAPExceptionpublic SOAPBody addBody() throws SOAPException
addBody in interface SOAPEnvelopeSOAPExceptionpublic SOAPBody addBody(String prefix) throws SOAPException
SOAPExceptionprotected SOAPElement addElement(Name name) throws SOAPException
addElement in class ElementImplSOAPExceptionprotected SOAPElement addElement(QName name) throws SOAPException
addElement in class ElementImplSOAPExceptionpublic SOAPBody getBody() throws SOAPException
getBody in interface SOAPEnvelopeSOAPExceptionpublic Source getContent()
EnvelopegetContent in interface Envelopepublic Name createName(String localName, String prefix, String uri) throws SOAPException
createName in interface SOAPEnvelopeSOAPExceptionpublic Name createName(String localName, String prefix) throws SOAPException
SOAPExceptionpublic Name createName(String localName) throws SOAPException
createName in interface SOAPEnvelopeSOAPExceptionpublic void setOmitXmlDecl(String value)
public void setXmlDecl(String value)
public void setCharsetEncoding(String value)
public void output(OutputStream out) throws IOException
Envelopeoutput in interface Envelopeout - output stream.IOException - in case of an I/O error.public void output(OutputStream out, boolean isFastInfoset) throws IOException
output in interface Envelopeout - output streamisFastInfoset - true if it is fast infoset.IOException - in case of an I/O error.public SOAPElement setElementQName(QName newName) throws SOAPException
setElementQName in interface SOAPElementsetElementQName in class ElementImplSOAPExceptionpublic void setStaxBridge(StaxBridge bridge) throws SOAPException
setStaxBridge in interface EnvelopeSOAPExceptionpublic StaxBridge getStaxBridge() throws SOAPException
getStaxBridge in interface EnvelopeSOAPExceptionpublic XMLStreamReader getPayloadReader() throws SOAPException
getPayloadReader in interface LazyEnvelopeSOAPExceptionpublic void writeTo(XMLStreamWriter writer) throws XMLStreamException, SOAPException
writeTo in interface LazyEnvelopeXMLStreamExceptionSOAPExceptionpublic QName getPayloadQName() throws SOAPException
LazyEnvelopegetPayloadQName in interface LazyEnvelopeSOAPException - in case of an errorpublic String getPayloadAttributeValue(String localName) throws SOAPException
LazyEnvelopegetPayloadAttributeValue in interface LazyEnvelopelocalName - local nameSOAPException - in case of an errorpublic String getPayloadAttributeValue(QName qName) throws SOAPException
LazyEnvelopegetPayloadAttributeValue in interface LazyEnvelopeqName - QNameSOAPException - in case of an errorpublic boolean isLazy()
isLazy in interface LazyEnvelopeCopyright © 2005–2017 Oracle Corporation. All rights reserved.