ilog.cpl.graphic.views
Class IlpPolylineSAXInfo

java.lang.Object
  extended by ilog.cpl.graphic.views.IlpPolyPointsSAXInfo
      extended by ilog.cpl.graphic.views.IlpPolylineSAXInfo
All Implemented Interfaces:
IlpSAXSerializable

public class IlpPolylineSAXInfo
extends IlpPolyPointsSAXInfo

XML Serialization class for IlpPolyline.

This class reads and writes an IlpPolyline in the following format:

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

Since:
JTGO 3.0

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

Constructor Detail

IlpPolylineSAXInfo

public IlpPolylineSAXInfo()
Method Detail

getSAXHandler

public IlpSAXAttributeValueHandler getSAXHandler()
Returns a SAX handler capable of reading the attribute. To avoid an instance of a SAX handler to be used simultaneously by two concurrent threads, this method should either return a new instance of a 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 IlpPolyPointsSAXInfo
Returns:
A SAX event handler.
Internal method or field: do not use!


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