public class IltOSIObjectStateSAXInfo extends IltObjectStateSAXInfo
XML serialization class for IltOSIObjectState
.
This class lets you read and write an IltOSIObjectState
in the following
format:
[<state> <administrative>AAA</administrative> <operational>OOO</operational> <usage>UUU</usage> </state>] [<procedural [operation="add"|"remove"]>ppp</procedural>]* [<availability [operation="add"|"remove"]>aaa</availability>]* [<control [operation="add"|"remove"]>ccc</control>]* [<standby [operation="add"|"remove"]>sss</standy>]* [<repair [operation="add"|"remove"]>rrr</repair>]*
Where, for the states:
Locked
.Enabled
.Idle
.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 states are set within an updateState element.
For the list of possible state values, see section Graphical Representation of OSI States in the User's Manual.
For the statusesAdd:
Initializing
.Degraded
.ReservedForTest
.InStandby
.UnderRepair
.For the list of possible statusesAdd, see the section Graphical Representation of OSI Statuses 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 |
---|
IltOSIObjectStateSAXInfo() |
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.