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
Constructor and Description |
---|
SOAPCommentImpl(SOAPDocumentImpl ownerDoc,
CharacterData data) |
SOAPCommentImpl(SOAPDocumentImpl ownerDoc,
String text) |
Modifier and Type | Method and Description |
---|---|
protected Comment |
createN(SOAPDocumentImpl ownerDoc,
CharacterData data) |
protected Comment |
createN(SOAPDocumentImpl ownerDoc,
String text) |
String |
getWholeText() |
boolean |
isComment()
Retrieves whether this
Text object represents a comment. |
boolean |
isElementContentWhitespace() |
Text |
replaceWholeText(String content) |
Text |
splitText(int offset) |
appendChild, appendData, cloneNode, compareDocumentPosition, deleteData, detachNode, getAttributes, getBaseURI, getChildNodes, getData, getDomElement, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getSoapDocument, getTextContent, getUserData, getValue, hasAttributes, hasChildNodes, insertBefore, insertData, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeChild, replaceChild, replaceData, setData, setNodeValue, setParentElement, setPrefix, setTextContent, setUserData, setValue, substringData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
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
public SOAPCommentImpl(SOAPDocumentImpl ownerDoc, String text)
public SOAPCommentImpl(SOAPDocumentImpl ownerDoc, CharacterData data)
protected Comment createN(SOAPDocumentImpl ownerDoc, String text)
protected Comment createN(SOAPDocumentImpl ownerDoc, CharacterData data)
public boolean isComment()
Text
Text
object represents a comment.true
if this Text
object is a
comment; false
otherwisepublic Text splitText(int offset) throws DOMException
splitText
in interface Text
DOMException
public Text replaceWholeText(String content) throws DOMException
replaceWholeText
in interface Text
DOMException
public String getWholeText()
getWholeText
in interface Text
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface Text
Copyright © 2020 JBoss by Red Hat. All rights reserved.