Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlCdata<Parent>

Represents a CDATA section.

A CDATA section is structured as follows, where {data} is the character data of the section:

<![CDATA[{data}]]>

Type parameters

  • Parent

Hierarchy

  • XmlCdata

Index

Constructors

constructor

  • Parameters

    Returns XmlCdata

Properties

Private _charData

_charData: string

Private _parent

_parent: Parent

Private _replaceInvalidCharsInCharData

_replaceInvalidCharsInCharData: boolean

Private _validation

_validation: boolean

Accessors

charData

  • get charData(): string
  • set charData(charData: string): void
  • Gets the character data of this CDATA section.

    Returns string

  • Sets the character data of this CDATA section.

    Parameters

    • charData: string

    Returns void

Methods

toString

  • toString(): string
  • Returns an XML string representation of this CDATA section.

    Returns string

up

  • up(): Parent
  • Returns the parent of this CDATA section.

    Returns Parent

Generated using TypeDoc