uk.org.ogsadai.converters.webrowset
Interface WebRowSetHandler

All Known Implementing Classes:
AbstractResultSet

public interface WebRowSetHandler

An interface that handles the output of a WebRowSetParser for example for insertion into a java.sql.ResultSet.

Author:
The OGSA-DAI Team.
See Also:
WebRowSetParser

Method Summary
 void putMetaData(java.sql.ResultSetMetaData metadata)
          Process or store the metadata of a WebRowSet expressed as java.sql.ResultSetMetaData.
 void putRow(java.util.Vector row)
          Process or store a row of a WebRowSet.
 

Method Detail

putRow

public void putRow(java.util.Vector row)
Process or store a row of a WebRowSet.

Parameters:
row - A Vector of objects each representing a column value.

putMetaData

public void putMetaData(java.sql.ResultSetMetaData metadata)
                 throws java.sql.SQLException
Process or store the metadata of a WebRowSet expressed as java.sql.ResultSetMetaData.

Parameters:
metadata - The parsed metadata from a WebRowSet.
Throws:
java.sql.SQLException - if there is a problem with accessing the metadata object or processing it.