Class: DefaultXmlAuralAlertParser
A default implementation of XmlAuralAlertParser.
Implements
Constructors
constructor
• new DefaultXmlAuralAlertParser(baseInstrument
, defaultQueue
): DefaultXmlAuralAlertParser
Creates a new instance of DefaultXmlAuralAlertParser.
Parameters
Name | Type | Description |
---|---|---|
baseInstrument | BaseInstrument | The BaseInstrument. |
defaultQueue | string | The default queue to assign alerts if they do not explicitly define one themselves. |
Returns
Defined in
src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:100
Methods
parse
▸ parse(root
): XmlAuralAlertDefinition
[]
Parses alert definitions from an XML document.
Parameters
Name | Type | Description |
---|---|---|
root | Element | The root XML document element containing the alert definitions. |
Returns
Implementation of
Defined in
src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:104