ilog.tgo.model
Class IltBellcoreObjectStateSAXInfo

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

public class IltBellcoreObjectStateSAXInfo
extends IltObjectStateSAXInfo

XML Serialization class for IltBellcoreObjectState. This class lets you read and write an IltBellcoreObjectState in the following format:

[<state>SSS</state>] [<secState [operation="add"|"remove"]>sss</secState>]* where:
SSS
stands for the name of a Bellcore state, such as EnableActive.

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.

sss
stands for the name of a Bellcore secondary state, such as Diagnostic.

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).

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
IltBellcoreObjectStateSAXInfo()
           
 
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

IltBellcoreObjectStateSAXInfo

public IltBellcoreObjectStateSAXInfo()
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
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 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.