Class CDATAImpl
- java.lang.Object
-
- com.sun.xml.messaging.saaj.soap.impl.TextImpl<CDATASection>
-
- com.sun.xml.messaging.saaj.soap.impl.CDATAImpl
-
- All Implemented Interfaces:
javax.xml.soap.Node,javax.xml.soap.Text,CDATASection,CharacterData,Node,Text
public class CDATAImpl extends TextImpl<CDATASection> implements CDATASection
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.Node
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 Summary
Constructors Constructor Description CDATAImpl(SOAPDocumentImpl ownerDoc, String text)CDATAImpl(SOAPDocumentImpl ownerDoc, CharacterData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CDATASectioncreateN(SOAPDocumentImpl ownerDoc, String text)protected CDATASectioncreateN(SOAPDocumentImpl ownerDoc, CharacterData data)StringgetWholeText()booleanisComment()booleanisElementContentWhitespace()TextreplaceWholeText(String content)TextsplitText(int offset)-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.TextImpl
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
-
Methods inherited from interface org.w3c.dom.Node
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
-
-
-
-
Constructor Detail
-
CDATAImpl
public CDATAImpl(SOAPDocumentImpl ownerDoc, String text)
-
CDATAImpl
public CDATAImpl(SOAPDocumentImpl ownerDoc, CharacterData data)
-
-
Method Detail
-
createN
protected CDATASection createN(SOAPDocumentImpl ownerDoc, String text)
- Specified by:
createNin classTextImpl<CDATASection>
-
createN
protected CDATASection createN(SOAPDocumentImpl ownerDoc, CharacterData data)
- Specified by:
createNin classTextImpl<CDATASection>
-
splitText
public Text splitText(int offset) throws DOMException
- Specified by:
splitTextin interfaceText- Throws:
DOMException
-
isElementContentWhitespace
public boolean isElementContentWhitespace()
- Specified by:
isElementContentWhitespacein interfaceText
-
getWholeText
public String getWholeText()
- Specified by:
getWholeTextin interfaceText
-
replaceWholeText
public Text replaceWholeText(String content) throws DOMException
- Specified by:
replaceWholeTextin interfaceText- Throws:
DOMException
-
isComment
public boolean isComment()
- Specified by:
isCommentin interfacejavax.xml.soap.Text
-
-