CDATASection


CDATASection org.w3c.dom

Java 1.4

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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net