public class IltBellcoreObjectStateSAXInfo extends IltObjectStateSAXInfo
IltBellcoreObjectState
.
This class lets you read and write an IltBellcoreObjectState
in the following
format:
[<state>SSS</state>] [<secState [operation="add"|"remove"]>sss</secState>]*where:
The operation attribute is optional and indicates if the secondary state is being added or removed from the object state. By default, the secondary states are added to the object state. This attribute is used when the alarms are set within an updateState element.
For the list of possible states, see the section Graphical Representation of Bellcore Primary States in the User's Manual.
For the list of possible states, see the section Graphical Representation of Bellcore Secondary States in the User's Manual.
The format may also contain the elements described in the common object
state format (IltObjectStateSAXInfo
).
ALARMS_TAG, MISC_TAG, PERFORMANCE_TAG, SAN_TAG, TRAPS_TAG
EMPTY_ATTRS
Constructor and Description |
---|
IltBellcoreObjectStateSAXInfo() |
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 IlpSAXAttributeValueHandler getSAXHandler()
IltObjectStateSAXInfo
java.lang.ThreadLocal
class to return a different instance for each thread.getSAXHandler
in interface IlpSAXSerializable
getSAXHandler
in class IltObjectStateSAXInfo
public void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler) throws SAXException
IlpSAXSerializable
value
to an SAX ContentHandler
.
The method translates the object as SAX ContentHandler
method calls.output
in interface IlpSAXSerializable
output
in class IltObjectStateSAXInfo
value
- The object to outputtypeConverter
- The type converter that may be needed to translate
values to strings.outputHandler
- The SAX ContentHandler used by this method.SAXException
IlpTypeConverter.createStringValue(Class,Object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.