ilog.cpl.network
Class IlpGeographicPositionSAXInfo
java.lang.Object
ilog.cpl.network.IlpGeographicPositionSAXInfo
- All Implemented Interfaces:
- IlpSAXSerializable
public class IlpGeographicPositionSAXInfo
- extends Object
- implements IlpSAXSerializable
XML serialization class for IlpGeographicPosition.
This class reads and writes the following format:
lll
LLL
where lll and LLL stand for latitude and longitude
respectively (see IlpGeographicPosition for an explanation of the
possible values).
The order between <latitude> and <longitude> elements is not
taken into account. Both elements are mandatory.
- Since:
- JTGO 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlpGeographicPositionSAXInfo
public IlpGeographicPositionSAXInfo()
getSAXHandler
public IlpSAXAttributeValueHandler getSAXHandler()
- 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 there should at least be an 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
- Outputs an object to an SAX ContentHandler.
The method translates the object as a call to a SAX ContentHandler method.
- Specified by:
output in interface IlpSAXSerializable
- 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.