# Uses of Interface
org.w3c.dom.CharacterData

Packages that use CharacterData
Package
Description
org.w3c.dom
Provides the interfaces for the Document Object Model (DOM).

- ## Uses of CharacterData in org.w3c.dom

  Subinterfaces of CharacterData in org.w3c.dom
  Modifier and Type
  Interface
  Description
  `interface`
  `CDATASection`
  CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
  `interface`
  `Comment`
  This interface inherits from `CharacterData` and represents the content of a comment, i.e., all the characters between the starting '`<!--`' and ending '`-->`'.
  `interface`
  `Text`
  The `Text` interface inherits from `CharacterData` and represents the textual content (termed character data in XML) of an `Element` or `Attr`.