Skip to main content

Class: DefaultXmlAuralAlertParser

A default implementation of XmlAuralAlertParser.

Implements

Constructors

constructor

new DefaultXmlAuralAlertParser(baseInstrument, defaultQueue): DefaultXmlAuralAlertParser

Creates a new instance of DefaultXmlAuralAlertParser.

Parameters

NameTypeDescription
baseInstrumentBaseInstrumentThe BaseInstrument.
defaultQueuestringThe default queue to assign alerts if they do not explicitly define one themselves.

Returns

DefaultXmlAuralAlertParser

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:100

Methods

parse

parse(root): XmlAuralAlertDefinition[]

Parses alert definitions from an XML document.

Parameters

NameTypeDescription
rootElementThe root XML document element containing the alert definitions.

Returns

XmlAuralAlertDefinition[]

Implementation of

XmlAuralAlertParser.parse

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:104