ilog.tgo.model
Class IltBiSONETObjectStateSAXInfo

java.lang.Object
  extended by ilog.tgo.model.IltObjectStateSAXInfo
      extended by ilog.tgo.model.IltSONETObjectStateSAXInfo
          extended by ilog.tgo.model.IltBiSONETObjectStateSAXInfo
All Implemented Interfaces:
IlpSAXSerializable

public class IltBiSONETObjectStateSAXInfo
extends IltSONETObjectStateSAXInfo

XML Serialization class for IltBiSONETObjectState. This class lets you read and write an IltBiSONETObjectState in the format specified here with this additional element:

[<reverseState>SSS</reverseState>] 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.

Since:
JTGO 3.0

Field Summary
 
Fields inherited from class ilog.tgo.model.IltObjectStateSAXInfo
ALARMS_TAG, MISC_TAG, PERFORMANCE_TAG, SAN_TAG, TRAPS_TAG
 
Fields inherited from interface ilog.cpl.storage.IlpSAXSerializable
EMPTY_ATTRS
 
Constructor Summary
IltBiSONETObjectStateSAXInfo()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltBiSONETObjectStateSAXInfo

public IltBiSONETObjectStateSAXInfo()
Method Detail

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
Overrides:
getSAXHandler in class IltSONETObjectStateSAXInfo
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 IltSONETObjectStateSAXInfo
Parameters:
value - The object to output
typeConverter - 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.