public class IltSONETObjectStateSAXInfo extends IltObjectStateSAXInfo
XML Serialization class for IltSONETObjectState
.
This class lets you read and write an IltSONETObjectState in the following
format:
[<state>SSS</state>] [<protection [from="true"|"false"] [to="true|false"]>PPP</protection>]*
Where:
For the list of possible states, see the section Graphical Representation of SONET Primary States in the User's Manual.
For the list of possible states, see the section Graphical Representation of SONET Secondary States in the User's Manual.
The attributes from and to specify whether
the protection state is to be applied to only one end or to both. By default,
these attributes are true. Therefore, if you simply write
<protection>Exercisor</protection>
it will mean that the Exercisor protection will be applied to both
ends, while if you write
<protection from="false" >Exercisor</protection>
The Exercisor protection will be applied only to the to extremity of the link.
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 |
---|
IltSONETObjectStateSAXInfo() |
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.