ilog.tgo.model
Class IltBellcoreObjectStateSAXInfo
java.lang.Object
ilog.tgo.model.IltObjectStateSAXInfo
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:
[SSS]
[sss]*
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IltBellcoreObjectStateSAXInfo
public IltBellcoreObjectStateSAXInfo()
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.