ilog.tgo.model
Class IltTrapObjectStateSAXInfo
java.lang.Object
ilog.tgo.model.IltTrapObjectStateSAXInfo
- All Implemented Interfaces:
- IlpSAXSerializable
public class IltTrapObjectStateSAXInfo
- extends Object
- implements IlpSAXSerializable
XML serialization class for IltTrapObjectState.
This class reads and writes an IltTrapObjectState in the following
format:
[
[NNN]*
[NNN]*
]
where: NNN stands for an integer number and TTT
stands for a trap type, such as LinkFailure.
The operation attribute is optional and indicates if the traps are being
added, removed or set in the object state. By default, the traps are set to the
object state. This attribute is used when the traps are set within an
updateState element.
- Since:
- JTGO 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRAPS_TAG
public static final String TRAPS_TAG
- See Also:
- Constant Field Values
- Internal method or field: do not use!
IltTrapObjectStateSAXInfo
public IltTrapObjectStateSAXInfo()
getSAXHandler
public IlpSAXAttributeValueHandler getSAXHandler()
- Description copied from interface:
IlpSAXSerializable
- Returns a SAX handler capable of reading the attribute.
The returned SAX handler should either be a new one each time this method
is called, or at least there should be one instance for each thread.
- Specified by:
getSAXHandler in interface IlpSAXSerializable
- Returns:
- A handler for SAX events.
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
- 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.