• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

DOM::CDATASection

DOM::CDATASection Class Reference

CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. More...

#include <dom_xml.h>

Inheritance diagram for DOM::CDATASection:

Inheritance graph
[legend]

List of all members.


Public Member Functions

 CDATASection (const Node &other)
 CDATASection (const CDATASection &other)
 CDATASection ()
CDATASection & operator= (const CDATASection &other)
CDATASection & operator= (const Node &other)
 ~CDATASection ()

Protected Member Functions

 CDATASection (CDATASectionImpl *i)

Detailed Description

CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.

The only delimiter that is recognized in a CDATA section is the "]]&gt;" string that ends the CDATA section. CDATA sections can not be nested. The primary purpose is for including material such as XML fragments, without needing to escape all the delimiters.

The DOMString attribute of the Text node holds the text that is contained by the CDATA section. Note that this may contain characters that need to be escaped outside of CDATA sections and that, depending on the character encoding ("charset") chosen for serialization, it may be impossible to write out some characters as part of a CDATA section.

The CDATASection interface inherits the CharacterData interface through the Text interface. Adjacent CDATASections nodes are not merged by use of the Element.normalize() method.

Definition at line 66 of file dom_xml.h.


Constructor & Destructor Documentation

CDATASection::CDATASection (  ) 

Definition at line 31 of file dom_xml.cpp.

CDATASection::CDATASection ( const CDATASection &  other  ) 

Definition at line 35 of file dom_xml.cpp.

DOM::CDATASection::CDATASection ( const Node &  other  )  [inline]

Definition at line 72 of file dom_xml.h.

CDATASection::~CDATASection (  ) 

Definition at line 59 of file dom_xml.cpp.

CDATASection::CDATASection ( CDATASectionImpl *  i  )  [protected]

Definition at line 63 of file dom_xml.cpp.


Member Function Documentation

CDATASection & CDATASection::operator= ( const CDATASection &  other  ) 

Definition at line 53 of file dom_xml.cpp.

CDATASection & CDATASection::operator= ( const Node &  other  ) 

Reimplemented from DOM::Text.

Definition at line 39 of file dom_xml.cpp.


The documentation for this class was generated from the following files:
  • dom_xml.h
  • dom_xml.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal