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