public abstract class SOAPPartImpl extends SOAPPart implements SOAPDocument
| Modifier and Type | Field and Description |
|---|---|
protected SOAPDocumentImpl |
document |
protected Envelope |
envelope |
protected MimeHeaders |
headers |
protected static Logger |
log |
protected MessageImpl |
message
Reference to containing message (may be null)
|
protected boolean |
omitXmlDecl |
protected Source |
source |
protected String |
sourceCharsetEncoding |
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 |
SOAPPartImpl() |
protected |
SOAPPartImpl(MessageImpl message) |
getContentId, getContentLocation, setContentId, setContentLocationprotected static final Logger log
protected MimeHeaders headers
protected Envelope envelope
protected Source source
protected SOAPDocumentImpl document
protected boolean omitXmlDecl
protected String sourceCharsetEncoding
protected MessageImpl message
protected SOAPPartImpl()
protected SOAPPartImpl(MessageImpl message)
protected abstract String getContentType()
protected abstract Envelope createEnvelopeFromSource() throws SOAPException
SOAPExceptionprotected abstract Envelope createEmptyEnvelope(String prefix) throws SOAPException
SOAPExceptionprotected abstract SOAPPartImpl duplicateType()
protected String getContentTypeString()
public boolean isFastInfoset()
public SOAPEnvelope getEnvelope() throws SOAPException
getEnvelope in class SOAPPartSOAPExceptionprotected void lookForEnvelope()
throws SOAPException
SOAPExceptionpublic void removeAllMimeHeaders()
removeAllMimeHeaders in class SOAPPartpublic void removeMimeHeader(String header)
removeMimeHeader in class SOAPPartpublic String[] getMimeHeader(String name)
getMimeHeader in class SOAPPartpublic void setMimeHeader(String name, String value)
setMimeHeader in class SOAPPartpublic void addMimeHeader(String name, String value)
addMimeHeader in class SOAPPartpublic Iterator<MimeHeader> getAllMimeHeaders()
getAllMimeHeaders in class SOAPPartpublic Iterator<MimeHeader> getMatchingMimeHeaders(String[] names)
getMatchingMimeHeaders in class SOAPPartpublic Iterator<MimeHeader> getNonMatchingMimeHeaders(String[] names)
getNonMatchingMimeHeaders in class SOAPPartpublic Source getContent() throws SOAPException
getContent in class SOAPPartSOAPExceptionpublic void setContent(Source source) throws SOAPException
setContent in class SOAPPartSOAPExceptionpublic InputStream getContentAsStream() throws IOException
IOExceptionpublic SOAPDocumentImpl getDocument()
getDocument in interface SOAPDocumentpublic SOAPPartImpl getSOAPPart()
getSOAPPart in interface SOAPDocumentpublic DocumentType getDoctype()
getDoctype in interface Documentpublic DOMImplementation getImplementation()
getImplementation in interface Documentpublic Element getDocumentElement()
getDocumentElement in interface Documentprotected void doGetDocumentElement()
public Element createElement(String tagName) throws DOMException
createElement in interface DocumentDOMExceptionpublic DocumentFragment createDocumentFragment()
createDocumentFragment in interface Documentpublic Text createTextNode(String data)
createTextNode in interface Documentpublic Comment createComment(String data)
createComment in interface Documentpublic CDATASection createCDATASection(String data) throws DOMException
createCDATASection in interface DocumentDOMExceptionpublic ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException
createProcessingInstruction in interface DocumentDOMExceptionpublic Attr createAttribute(String name) throws DOMException
createAttribute in interface DocumentDOMExceptionpublic EntityReference createEntityReference(String name) throws DOMException
createEntityReference in interface DocumentDOMExceptionpublic NodeList getElementsByTagName(String tagname)
getElementsByTagName in interface Documentpublic Node importNode(Node importedNode, boolean deep) throws DOMException
importNode in interface DocumentDOMExceptionpublic Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException
createElementNS in interface DocumentDOMExceptionpublic Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException
createAttributeNS in interface DocumentDOMExceptionpublic NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS in interface Documentpublic Element getElementById(String elementId)
getElementById in interface Documentpublic Node appendChild(Node newChild) throws DOMException
appendChild in interface NodeDOMExceptionprotected SOAPPartImpl doCloneNode()
public NamedNodeMap getAttributes()
getAttributes in interface Nodepublic NodeList getChildNodes()
getChildNodes in interface Nodepublic Node getFirstChild()
getFirstChild in interface Nodepublic Node getLastChild()
getLastChild in interface Nodepublic String getLocalName()
getLocalName in interface Nodepublic String getNamespaceURI()
getNamespaceURI in interface Nodepublic Node getNextSibling()
getNextSibling in interface Nodepublic String getNodeName()
getNodeName in interface Nodepublic short getNodeType()
getNodeType in interface Nodepublic String getNodeValue() throws DOMException
getNodeValue in interface NodeDOMExceptionpublic Document getOwnerDocument()
getOwnerDocument in interface Nodepublic Node getParentNode()
getParentNode in interface Nodepublic Node getPreviousSibling()
getPreviousSibling in interface Nodepublic boolean hasAttributes()
hasAttributes in interface Nodepublic boolean hasChildNodes()
hasChildNodes in interface Nodepublic Node insertBefore(Node arg0, Node arg1) throws DOMException
insertBefore in interface NodeDOMExceptionpublic boolean isSupported(String arg0, String arg1)
isSupported in interface Nodepublic Node removeChild(Node arg0) throws DOMException
removeChild in interface NodeDOMExceptionpublic Node replaceChild(Node arg0, Node arg1) throws DOMException
replaceChild in interface NodeDOMExceptionpublic void setNodeValue(String arg0) throws DOMException
setNodeValue in interface NodeDOMExceptionpublic void setPrefix(String arg0) throws DOMException
setPrefix in interface NodeDOMExceptionprotected XMLDeclarationParser lookForXmlDecl() throws SOAPException
SOAPExceptionpublic void setSourceCharsetEncoding(String charset)
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException
renameNode in interface DocumentDOMExceptionpublic void normalizeDocument()
normalizeDocument in interface Documentpublic DOMConfiguration getDomConfig()
getDomConfig in interface Documentpublic Node adoptNode(Node source) throws DOMException
adoptNode in interface DocumentDOMExceptionpublic void setDocumentURI(String documentURI)
setDocumentURI in interface Documentpublic String getDocumentURI()
getDocumentURI in interface Documentpublic void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking in interface Documentpublic String getInputEncoding()
getInputEncoding in interface Documentpublic String getXmlEncoding()
getXmlEncoding in interface Documentpublic boolean getXmlStandalone()
getXmlStandalone in interface Documentpublic void setXmlStandalone(boolean xmlStandalone)
throws DOMException
setXmlStandalone in interface DocumentDOMExceptionpublic String getXmlVersion()
getXmlVersion in interface Documentpublic void setXmlVersion(String xmlVersion) throws DOMException
setXmlVersion in interface DocumentDOMExceptionpublic boolean getStrictErrorChecking()
getStrictErrorChecking in interface Documentpublic String getBaseURI()
getBaseURI in interface Nodepublic short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition in interface NodeDOMExceptionpublic String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionpublic void setTextContent(String textContent) throws DOMException
setTextContent in interface NodeDOMExceptionpublic boolean isSameNode(Node other)
isSameNode in interface Nodepublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodepublic boolean isEqualNode(Node arg)
isEqualNode in interface Nodepublic Object getFeature(String feature, String version)
getFeature in interface Nodepublic Object setUserData(String key, Object data, UserDataHandler handler)
setUserData in interface Nodepublic Object getUserData(String key)
getUserData in interface Nodepublic void recycleNode()
public String getValue()
public void setValue(String value)
public void setParentElement(SOAPElement parent) throws SOAPException
SOAPExceptionpublic SOAPElement getParentElement()
public void detachNode()
public String getSourceCharsetEncoding()
public abstract String getSOAPNamespace()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.