ilog.tgo.model
Class IltSONETObjectStateSAXInfo
java.lang.Object
ilog.tgo.model.IltObjectStateSAXInfo
ilog.tgo.model.IltSONETObjectStateSAXInfo
- All Implemented Interfaces:
- IlpSAXSerializable
- Direct Known Subclasses:
- IltBiSONETObjectStateSAXInfo
public class IltSONETObjectStateSAXInfo
- extends IltObjectStateSAXInfo
XML Serialization class for IltSONETObjectState.
This class lets you read and write an IltSONETObjectState in the following
format:
[SSS]
[PPP]*
where:
- SSS
- stands for the name of a SONET state, such as ActiveProtecting.
For the list of possible states, see the section Graphical Representation of
SONET Primary States in the User's Manual.
- PPP
- stands for the name of a SONET protection state,
such as Exercisor.
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).
- Since:
- JTGO 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IltSONETObjectStateSAXInfo
public IltSONETObjectStateSAXInfo()
getSAXHandler
public IlpSAXAttributeValueHandler getSAXHandler()
- Description copied from class:
IltObjectStateSAXInfo
- Returns a SAX handler capable of reading the attribute.
To avoid an instance of SAX handler to be used simultaneously
by two concurrent threads, this method should either return a new
instance of SAX handler each time it is called or take advantage of
the
java.lang.ThreadLocal class to return a different instance for each thread.
- Specified by:
getSAXHandler in interface IlpSAXSerializable- Specified by:
getSAXHandler in class IltObjectStateSAXInfo
- Returns:
- A SAX event handler.
output
public void output(Object value,
IlpTypeConverter typeConverter,
ContentHandler outputHandler)
throws SAXException
- Description copied from interface:
IlpSAXSerializable
- Outputs the
value to an SAX ContentHandler.
The method translates the object as SAX ContentHandler method calls.
- Specified by:
output in interface IlpSAXSerializable- Overrides:
output in class IltObjectStateSAXInfo
- Parameters:
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.
- Throws:
SAXException- See Also:
IlpTypeConverter.createStringValue(Class,Object)
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.