public class CDATAImpl extends TextImpl<CDATASection> implements CDATASection
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 |
---|
CDATAImpl(SOAPDocumentImpl ownerDoc,
CharacterData data) |
CDATAImpl(SOAPDocumentImpl ownerDoc,
String text) |
Modifier and Type | Method and Description |
---|---|
protected CDATASection |
createN(SOAPDocumentImpl ownerDoc,
CharacterData data) |
protected CDATASection |
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 CDATAImpl(SOAPDocumentImpl ownerDoc, String text)
public CDATAImpl(SOAPDocumentImpl ownerDoc, CharacterData data)
protected CDATASection createN(SOAPDocumentImpl ownerDoc, String text)
createN
in class TextImpl<CDATASection>
protected CDATASection createN(SOAPDocumentImpl ownerDoc, CharacterData data)
createN
in class TextImpl<CDATASection>
public Text splitText(int offset) throws DOMException
splitText
in interface Text
DOMException
public boolean isElementContentWhitespace()
isElementContentWhitespace
in interface Text
public String getWholeText()
getWholeText
in interface Text
public Text replaceWholeText(String content) throws DOMException
replaceWholeText
in interface Text
DOMException
public boolean isComment()
Text
Text
object represents a comment.true
if this Text
object is a
comment; false
otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.