This interface represents a CDATA section in an XML
document. CDATASection is a subinterface of
Text and does not define any methods of its own.
The content of the CDATA section is available through the
getNodeValue( ) method inherited from Node, or
through the getdata( ) method inherited from
CharacterData. Although
CDATASection nodes can often be treated in the
same way as Text nodes, note that the
Node.normalize( ) method does not merge adjacent
CDATA sections.
Figure 21-2. org.w3c.dom.CDATASection
public interface CDATASection extends Text {
}
Returned By
Document.createCDATASection( ) |