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