Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlCharData<Parent>

Represents character data.

Restricted characters, such as the ampersand (&), the opening angle bracket (<), and the closing angle bracket (>) when it appears in the string ]]>, are all automatically escaped.

Type parameters

  • Parent

Hierarchy

  • XmlCharData

Index

Constructors

constructor

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 text of this character data.

    Returns string

  • Sets the text of this character data.

    Parameters

    • charData: string

    Returns void

Methods

toString

  • toString(): string
  • Returns an XML string representation of this character data.

    Returns string

up

  • up(): Parent
  • Returns the parent of this character data.

    Returns Parent

Generated using TypeDoc