ilog.cpl.storage
Class IlpSAXArrayWriter

java.lang.Object
  extended by ilog.cpl.storage.IlpSAXArrayWriter

public class IlpSAXArrayWriter
extends Object

Writer for arrays.

This class writes an array in the format described in IlpSAXArrayHandler

Since:
JTGO 3.0

Constructor Summary
IlpSAXArrayWriter(IlpTypeConverter typeConverter)
          Creates a new array writer.
 
Method Summary
 void outputArray(Object array, Class globalComponentType, ContentHandler handler)
          Writes the array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpSAXArrayWriter

public IlpSAXArrayWriter(IlpTypeConverter typeConverter)
Creates a new array writer.

Parameters:
typeConverter - The type converter.
Method Detail

outputArray

public void outputArray(Object array,
                        Class globalComponentType,
                        ContentHandler handler)
                 throws SAXException
Writes the array.

Parameters:
array - The array to be written. It must be a Java array.
globalComponentType - The component type of the array.
handler - The handler that will receive the notifications that correspond to the array.
Throws:
SAXException


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