com.fdsapi
Class TabularDataResultSet
java.lang.Object
|
+--com.fdsapi.TabularDataBase
|
+--com.fdsapi.TabularDataResultSet
- All Implemented Interfaces:
- java.io.Serializable, TabularData
- public class TabularDataResultSet
- extends TabularDataBase
TabularData for ResultSets that allows the FormattedDataSet to support them.
View Code
- See Also:
- Serialized Form
|
Method Summary |
TabularData |
createInstance(java.lang.Object data)
Factory method that returns a TabularData instance. |
protected void |
createRowIterator(int numRows)
|
java.lang.Object |
getCellData()
Return current cell data (the current row and current column) |
java.lang.Object |
getCellData(int col)
Return cell data in the current rows specified column |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabularDataResultSet
public TabularDataResultSet()
TabularDataResultSet
public TabularDataResultSet(java.sql.ResultSet data)
throws java.sql.SQLException
TabularDataResultSet
protected TabularDataResultSet(java.sql.ResultSet data,
int numRows,
int numCols)
getCellData
public java.lang.Object getCellData(int col)
- Description copied from interface:
TabularData
- Return cell data in the current rows specified column
- Specified by:
getCellData in interface TabularData- Specified by:
getCellData in class TabularDataBase
getCellData
public java.lang.Object getCellData()
- Description copied from interface:
TabularData
- Return current cell data (the current row and current column)
- Specified by:
getCellData in interface TabularData- Specified by:
getCellData in class TabularDataBase
createRowIterator
protected void createRowIterator(int numRows)
- Overrides:
createRowIterator in class TabularDataBase
createInstance
public TabularData createInstance(java.lang.Object data)
- Description copied from interface:
TabularData
- Factory method that returns a TabularData instance. The passed object is the underlying
data that will be iterated (i.e. ResultSet, Object[][] etc)
- Specified by:
createInstance in interface TabularData- Specified by:
createInstance in class TabularDataBase