Java Reference
In-Depth Information
rowIndex=-1;
onValidRow = false;
}
if(row > rowCount){
rowIndex = rowCount;
onValidRow = false;
}
currentRow = (Element)rows.item(rowIndex);
return onValidRow;
}
public boolean relative(int row) throws SQLException {
boolean onValidRow = true;
if(rows==null){
initialise();
}
return absolute(row + rowIndex + 1);
}
public void beforeFirst() throws SQLException {
if(rows==null){
initialise();
}
rowIndex = -1;
}
public void afterLast() throws SQLException {
if(rows==null){
initialise();
}
rowIndex = rowCount;
}
public boolean first() throws SQLException {
if(rows==null){
initialise();
}
return absolute(1);
}
public boolean last() throws SQLException {
if(rows==null){
initialise();
Search WWH ::




Custom Search