ilog.cpl.network
Class IlpGeographicPolygonSAXInfo

java.lang.Object
  extended by ilog.cpl.network.IlpGeographicPolyPointsSAXInfo
      extended by ilog.cpl.network.IlpGeographicPolygonSAXInfo
All Implemented Interfaces:
IlpSAXSerializable

public class IlpGeographicPolygonSAXInfo
extends IlpGeographicPolyPointsSAXInfo

XML serialization class for IlpGeographicPolygon.

This class reads and writes the following format:

   
 [  <point>
      <latitude>FFF</latitude>
      <longitude>FFF</longitude>
    </point>]*
   
 
where FFF stands for a floating number (a float). The order is that of the points in the polygon.

Since:
JTGO 3.0

Nested Class Summary
static class IlpGeographicPolygonSAXInfo.IlpSAXPolygonHandler
           
 
Nested classes/interfaces inherited from class ilog.cpl.network.IlpGeographicPolyPointsSAXInfo
IlpGeographicPolyPointsSAXInfo.IlpSAXPolyPointsHandler
 
Field Summary
 
Fields inherited from interface ilog.cpl.storage.IlpSAXSerializable
EMPTY_ATTRS
 
Constructor Summary
IlpGeographicPolygonSAXInfo()
           
 
Method Summary
 IlpSAXAttributeValueHandler getSAXHandler()
          Returns an SAX handler capable of reading the attribute.
 
Methods inherited from class ilog.cpl.network.IlpGeographicPolyPointsSAXInfo
output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpGeographicPolygonSAXInfo

public IlpGeographicPolygonSAXInfo()
Method Detail

getSAXHandler

public IlpSAXAttributeValueHandler getSAXHandler()
Returns an 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
Specified by:
getSAXHandler in class IlpGeographicPolyPointsSAXInfo
Returns:
A SAX event handler.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.