Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlDtdElement<Parent>

Represents an element declaration in a document type definition.

An element declaration is structured as follows, where {text} is the text of the declaration:

<!ELEMENT {text}>

Type parameters

  • Parent

Hierarchy

  • XmlDtdElement

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _charData

_charData: string

Private _parent

_parent: Parent

Private _validation

_validation: boolean

Accessors

charData

  • get charData(): string
  • set charData(charData: string): void
  • Gets the text of this element declaration.

    Returns string

  • Sets the text of this element declaration.

    Parameters

    • charData: string

    Returns void

Methods

toString

  • toString(): string
  • Returns an XML string representation of this element declaration.

    Returns string

up

  • up(): Parent
  • Returns the parent of this element declaration.

    Returns Parent

Generated using TypeDoc