ilog.cpl.graphic.views
Class IlpPolyPointsSAXInfo

java.lang.Object
  extended by ilog.cpl.graphic.views.IlpPolyPointsSAXInfo
All Implemented Interfaces:
IlpSAXSerializable
Direct Known Subclasses:
IlpPolygonSAXInfo, IlpPolylineSAXInfo

public abstract class IlpPolyPointsSAXInfo
extends Object
implements IlpSAXSerializable

XML Serialization class for IlpPolyPoints. This class is used by the SAX Info of IlpPolyPoints subclasses.

Since:
JTGO 3.0

Nested Class Summary
static class IlpPolyPointsSAXInfo.IlpSAXPolyPointsHandler
           
 
Field Summary
 
Fields inherited from interface ilog.cpl.storage.IlpSAXSerializable
EMPTY_ATTRS
 
Constructor Summary
IlpPolyPointsSAXInfo()
           
 
Method Summary
abstract  IlpSAXAttributeValueHandler getSAXHandler()
          Returns a SAX handler capable of reading the attribute.
 void output(Object value, IlpTypeConverter typeConverter, ContentHandler outputHandler)
          Writes the value to a SAX ContentHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpPolyPointsSAXInfo

public IlpPolyPointsSAXInfo()
Method Detail

getSAXHandler

public abstract 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
Returns:
A SAX event handler.
Internal method or field: do not use!

output

public void output(Object value,
                   IlpTypeConverter typeConverter,
                   ContentHandler outputHandler)
            throws SAXException
Writes the value to a SAX ContentHandler. The method translates the object to SAX ContentHandler method calls.

Specified by:
output in interface IlpSAXSerializable
Parameters:
typeConverter - The type converter that may be needed to translate values to strings.
outputHandler - The SAX ContentHandler used by this method.
value - The object to output
Throws:
SAXException
See Also:
IlpTypeConverter.createStringValue(Class,Object)
Internal method or field: do not use!


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