public class IltAlarmObjectStateSAXInfo extends Object implements IlpSAXSerializable
XML serialization class for IltAlarmObjectState.
This class reads and writes an IltAlarmObjectState in the following
format:
[<alarms [notReporting="true"|"false"] [lossOfConnectivity="true"|"false"]> [<new severity="SSS" [operation=""set"|add"|"remove"]>NNN</new>]* [<ack severity="SSS" [operation=""set"|add"|"remove">NNN</ack>]* </alarms>]where:
Raw.Warning for the raw alarm severity Warning.Impact.MinorHigh for the impact alarm severity
Minor High.severity="Warning" is deprecated. Use
severity="Raw.Warning" instead.
The operation attribute is optional and indicates if the alarms are being added, removed or set in the object state. By default, the alarms are set to the object state. This attribute is used when the alarms are set within an updateState element.
| Modifier and Type | Field and Description |
|---|---|
static String |
ALARMS_TAG |
EMPTY_ATTRS| Constructor and Description |
|---|
IltAlarmObjectStateSAXInfo() |
| Modifier and Type | Method and Description |
|---|---|
IlpSAXAttributeValueHandler |
getSAXHandler()
Returns a SAX handler capable of reading the attribute.
|
void |
output(Object value,
IlpTypeConverter typeConverter,
ContentHandler outputHandler)
Outputs the
value to an SAX ContentHandler. |
public static final String ALARMS_TAG
public IlpSAXAttributeValueHandler getSAXHandler()
IlpSAXSerializablegetSAXHandler in interface IlpSAXSerializablepublic void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
IlpSAXSerializablevalue to an SAX ContentHandler.
The method translates the object as SAX ContentHandler method calls.output in interface IlpSAXSerializablevalue - The object to outputtypeConverter - The type converter that may be needed to translate
values to strings.outputHandler - The SAX ContentHandler used by this method.SAXExceptionIlpTypeConverter.createStringValue(Class,Object)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.