Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlAttributeText<Parent>

Represents text in an attribute value.

Restricted characters, such as the ampersand (&) and the opening angle bracket (<), are all automatically escaped.

Type parameters

  • Parent

Hierarchy

  • XmlAttributeText

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 this attribute text.

    Returns string

  • Sets this attribute text.

    Parameters

    • charData: string

    Returns void

Methods

toString

  • toString(): string
  • Returns an XML string representation of this attribute text.

    Returns string

up

  • up(): Parent
  • Returns the parent of this attribute text.

    Returns Parent

Generated using TypeDoc