Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlEntityRef<Parent>

Represents an entity reference.

An entity reference is structured as follows, where {name} is the name of the entity to be referenced:

&{entity};

Type parameters

  • Parent

Hierarchy

  • XmlEntityRef

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _name

_name: string

Private _parent

_parent: Parent

Private _validation

_validation: boolean

Accessors

name

  • get name(): string
  • set name(name: string): void
  • Gets the name of this entity reference.

    Returns string

  • Sets the name of this entity reference.

    Parameters

    • name: string

    Returns void

Methods

toString

  • toString(): string
  • Returns an XML string representation of this entity reference.

    Returns string

up

  • up(): Parent
  • Returns the parent of this entity reference.

    Returns Parent

Generated using TypeDoc