jxDBCon 0.9z

org.sourceforge.jxdbcon
Class DefaultSQLOutput

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.AbstractSQLOutput
        |
        +--org.sourceforge.jxdbcon.DefaultSQLOutput
All Implemented Interfaces:
SQLOutput

public class DefaultSQLOutput
extends AbstractSQLOutput

DefaultSQLOutput is a default implementation of AbstractSQLOutput. This class can be used when the structure of the SQLData stream is known at initialisation time.

Version:
$Revision: 1.4 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Field Summary
(package private)  AbstractType[] at
           
(package private)  Object buf
           
(package private)  ConversionContext ctx
           
 
Constructor Summary
DefaultSQLOutput(Object buf, AbstractType[] at, ConversionContext ctx)
           
 
Method Summary
protected  AbstractType getType(int idx)
          Return the AbstractType of the indexed element.
 
Methods inherited from class org.sourceforge.jxdbcon.AbstractSQLOutput
writeArray, writeAsciiStream, writeBigDecimal, writeBinaryStream, writeBlob, writeBoolean, writeByte, writeBytes, writeCharacterStream, writeClob, writeDate, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeRef, writeShort, writeString, writeStruct, writeTime, writeTimestamp, writeURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

at

AbstractType[] at

buf

Object buf

ctx

ConversionContext ctx
Constructor Detail

DefaultSQLOutput

public DefaultSQLOutput(Object buf,
                        AbstractType[] at,
                        ConversionContext ctx)
Method Detail

getType

protected AbstractType getType(int idx)
Description copied from class: AbstractSQLOutput
Return the AbstractType of the indexed element.

Specified by:
getType in class AbstractSQLOutput
Parameters:
idx - the index
Returns:
the type

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.