Class representing a namespace

Property

array of prefixes

Property

namespace lexical form

Property

bool saying if the namespace is standard or user defined

Hierarchy

  • Namespace

Implements

Constructors

Properties

_prefixes: string[]
_standard: boolean
_value: string

Accessors

Methods

  • Check if the passed prefix is assigned to this namespace

    Parameters

    • prefix: string

      the prefix to check

    Returns boolean

  • Wether the namespace is standard (true) or user defined (false)

    Returns boolean