@DOMObjectAttribute @DOMNameAttribute(name="CDATASection") public class CDATASection extends Text
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
Node.Flags
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
Constructor and Description |
---|
CDATASection(String data,
Document doc)
Initializes a new instance of the
CDATASection class. |
Modifier and Type | Method and Description |
---|---|
String |
getNodeName()
The name of this node, depending on its type.
|
int |
getNodeType()
A code representing the type of the underlying object.
|
getNodeValue, getTextContent, getWholeText, isElementContentWhitespace, replaceWholeText, setNodeValue, setTextContent, splitText
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData, toString
adoptNode, appendChild, cloneNode, deepClone, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getRegisteredObservers, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setParentNode, setPrefix
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public CDATASection(String data, Document doc)
Initializes a new instance of the CDATASection
class.
data
- The character data.doc
- The document.public String getNodeName()
The name of this node, depending on its type.
Value: The name of the node.getNodeName
in class Text
public int getNodeType()
A code representing the type of the underlying object.
Value: The type of the node.getNodeType
in class Text