public class IltAlarmSeverityAttribute extends IlpDefaultAttribute implements IlpSAXSerializable
IltAlarm.PerceivedSeverityAttribute.
Handles the specific XML serialization for this attribute.| Modifier and Type | Class and Description |
|---|---|
static class |
IltAlarmSeverityAttribute.IlpSAXAlarmSeverityHandler
SAX handler implementation which is able to handle alarm
severity attributes.
|
EMPTY_ATTRS| Constructor and Description |
|---|
IltAlarmSeverityAttribute(String name,
Class valueClass)
Constructor.
|
IltAlarmSeverityAttribute(String name,
Class valueClass,
boolean isTransient)
Constructor.
|
IltAlarmSeverityAttribute(String name,
Class valueClass,
Object defaultValue)
Constructor.
|
IltAlarmSeverityAttribute(String name,
Class valueClass,
Object defaultValue,
boolean isTransient)
Constructor.
|
| 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)
Writes the
value to a SAX ContentHandler. |
getAttributeGroup, getDefaultValue, getName, getValueClass, isTransient, setAttributeGroup, setDefaultValue, setName, setTransient, setValueClass, toStringpublic IltAlarmSeverityAttribute(String name, Class valueClass)
name - Attribute name.valueClass - Attribute value class.public IltAlarmSeverityAttribute(String name, Class valueClass, boolean isTransient)
name - Attribute name.valueClass - Attribute value class.isTransient - true if the attribute is not persistent.public IltAlarmSeverityAttribute(String name, Class valueClass, Object defaultValue)
name - Attribute name.valueClass - Attribute value class.defaultValue - Default value for this attribute.public IltAlarmSeverityAttribute(String name, Class valueClass, Object defaultValue, boolean isTransient)
name - Attribute name.valueClass - Attribute value class.defaultValue - Default value for this attribute.isTransient - true if the attribute is not persistent.public IlpSAXAttributeValueHandler getSAXHandler()
getSAXHandler in interface IlpSAXSerializableIlpSAXSerializable.getSAXHandler()public void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
value to a SAX ContentHandler.
The method translates the object to SAX ContentHandler method calls.output in interface IlpSAXSerializablevalue - The object to write.typeConverter - The type converter that may be needed to translate
values to strings.outputHandler - The SAX ContentHandler used by this method.SAXExceptionIlpSAXSerializable.output(java.lang.Object, ilog.cpl.util.IlpTypeConverter, org.xml.sax.ContentHandler)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.