Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nl.aidministrator.rdf.sail.sql92.iterators
Class SQL92LiteralIterator  view SQL92LiteralIterator download SQL92LiteralIterator.java

java.lang.Object
  extended bynl.aidministrator.rdf.sail.sql92.iterators.SQL92ValueIterator
      extended bynl.aidministrator.rdf.sail.sql92.iterators.SQL92LiteralIterator
All Implemented Interfaces:
nl.aidministrator.rdf.sail.ValueIterator

public class SQL92LiteralIterator
extends SQL92ValueIterator

An implementation of SQLValueIterator that iterates rdfs:Literals. It implements getResult() which creates a new Literal. The ResultSet should contain the following columns: id (int), language (String) and value (String).

Version:
1.1, 01/25/02

Field Summary
 
Fields inherited from class nl.aidministrator.rdf.sail.sql92.iterators.SQL92ValueIterator
_databaseCon, _hasNext, _query, _resultSet, _statement
 
Constructor Summary
SQL92LiteralIterator(java.sql.Connection databaseCon, java.lang.String query)
          Constructor.
 
Method Summary
protected  nl.aidministrator.rdf.sail.model.Value getResult()
          Gets the next result from the ResultSet and returns it as a Literal.
 
Methods inherited from class nl.aidministrator.rdf.sail.sql92.iterators.SQL92ValueIterator
close, finalize, hasNext, next
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQL92LiteralIterator

public SQL92LiteralIterator(java.sql.Connection databaseCon,
                            java.lang.String query)
Constructor.

Method Detail

getResult

protected nl.aidministrator.rdf.sail.model.Value getResult()
Gets the next result from the ResultSet and returns it as a Literal.

Specified by:
getResult in class SQL92ValueIterator