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_URIlocalName, namespaceURIfirstChild, fNodeListCache, ownerDocumentnextSibling, previousSiblingDOCUMENT_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_NODEATTRIBUTE_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) |
java.lang.String |
getPayloadAttributeValue(javax.xml.namespace.QName qName)
Retrieve payload attribute value without materializing its contents
|
java.lang.String |
getPayloadAttributeValue(java.lang.String localName)
Retrieve payload attribute value without materializing its contents
|
javax.xml.namespace.QName |
getPayloadQName()
Retrieve payload qname without materializing its contents
|
javax.xml.stream.XMLStreamReader |
getPayloadReader() |
StaxBridge |
getStaxBridge() |
boolean |
isLazy() |
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 |
setStaxBridge(StaxBridge bridge) |
void |
setXmlDecl(java.lang.String value) |
void |
writeTo(javax.xml.stream.XMLStreamWriter writer) |
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, circumventBug5034339, convertToSoapElement, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, 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, tryToFindEncodingStyleAttributeNamegetBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValuescloneNode, 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, synchronizeDatagetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, 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, 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.SOAPExceptionprotected 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.SOAPEnvelopejavax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPHeader addHeader(java.lang.String prefix)
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPExceptionprotected void lookForHeader()
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPHeader getHeader()
throws javax.xml.soap.SOAPException
getHeader in interface javax.xml.soap.SOAPEnvelopejavax.xml.soap.SOAPExceptionprotected void lookForBody()
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPBody addBody()
throws javax.xml.soap.SOAPException
addBody in interface javax.xml.soap.SOAPEnvelopejavax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPBody addBody(java.lang.String prefix)
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPExceptionprotected javax.xml.soap.SOAPElement addElement(javax.xml.soap.Name name)
throws javax.xml.soap.SOAPException
addElement in class ElementImpljavax.xml.soap.SOAPExceptionprotected javax.xml.soap.SOAPElement addElement(javax.xml.namespace.QName name)
throws javax.xml.soap.SOAPException
addElement in class ElementImpljavax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPBody getBody()
throws javax.xml.soap.SOAPException
getBody in interface javax.xml.soap.SOAPEnvelopejavax.xml.soap.SOAPExceptionpublic javax.xml.transform.Source getContent()
EnvelopegetContent in interface Envelopepublic 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.SOAPEnvelopejavax.xml.soap.SOAPExceptionpublic javax.xml.soap.Name createName(java.lang.String localName,
java.lang.String prefix)
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPExceptionpublic javax.xml.soap.Name createName(java.lang.String localName)
throws javax.xml.soap.SOAPException
createName in interface javax.xml.soap.SOAPEnvelopejavax.xml.soap.SOAPExceptionpublic 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
Envelopepublic 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.SOAPElementsetElementQName in class ElementImpljavax.xml.soap.SOAPExceptionpublic void setStaxBridge(StaxBridge bridge) throws javax.xml.soap.SOAPException
setStaxBridge in interface Envelopejavax.xml.soap.SOAPExceptionpublic StaxBridge getStaxBridge() throws javax.xml.soap.SOAPException
getStaxBridge in interface Envelopejavax.xml.soap.SOAPExceptionpublic javax.xml.stream.XMLStreamReader getPayloadReader()
throws javax.xml.soap.SOAPException
getPayloadReader in interface LazyEnvelopejavax.xml.soap.SOAPExceptionpublic void writeTo(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException,
javax.xml.soap.SOAPException
writeTo in interface LazyEnvelopejavax.xml.stream.XMLStreamExceptionjavax.xml.soap.SOAPExceptionpublic javax.xml.namespace.QName getPayloadQName()
throws javax.xml.soap.SOAPException
LazyEnvelopegetPayloadQName in interface LazyEnvelopejavax.xml.soap.SOAPExceptionpublic java.lang.String getPayloadAttributeValue(java.lang.String localName)
throws javax.xml.soap.SOAPException
LazyEnvelopegetPayloadAttributeValue in interface LazyEnvelopejavax.xml.soap.SOAPExceptionpublic java.lang.String getPayloadAttributeValue(javax.xml.namespace.QName qName)
throws javax.xml.soap.SOAPException
LazyEnvelopegetPayloadAttributeValue in interface LazyEnvelopejavax.xml.soap.SOAPExceptionpublic boolean isLazy()
isLazy in interface LazyEnvelopeCopyright © 2013 Oracle. All Rights Reserved.