Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlComment<Parent>

Represents a comment.

A comment is structured as follows, where {content} is the text of the comment:

<!--{content}-->

Type parameters

  • Parent

Hierarchy

  • XmlComment

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 comment.

    Returns string

  • Sets the text of this comment.

    Parameters

    • charData: string

    Returns void

Methods

toString

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

    Returns string

up

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

    Returns Parent

Generated using TypeDoc