net.didion.jwnl.data
Interface DatabaseDictionaryElementFactory

All Superinterfaces:
Createable
All Known Implementing Classes:
AbstractPrincetonDatabaseDictionaryElementFactory, PrincetonWN16DatabaseDictionaryElementFactory, PrincetonWN17DatabaseDictionaryElementFactory, PrincetonWN30DatabaseDictionaryElementFactory

public interface DatabaseDictionaryElementFactory
extends Createable

Factory interface for creating WordNet objects from a database.

Author:
brett, jdidion

Method Summary
 Exc createExc(POS pos, java.lang.String derivation, java.sql.ResultSet rs)
          Create an Exc from a row in the database.
 IndexWord createIndexWord(POS pos, java.lang.String lemma, java.sql.ResultSet rs)
          Create an IndexWord from a row in the database.
 Synset createSynset(POS pos, long offset, java.sql.ResultSet synset, java.sql.ResultSet words, java.sql.ResultSet pointers, java.sql.ResultSet verbFrames)
          Create a Synset from a row in the database.
 
Methods inherited from interface net.didion.jwnl.util.factory.Createable
create
 

Method Detail

createIndexWord

IndexWord createIndexWord(POS pos,
                          java.lang.String lemma,
                          java.sql.ResultSet rs)
                          throws java.sql.SQLException
Create an IndexWord from a row in the database.

Throws:
java.sql.SQLException

createSynset

Synset createSynset(POS pos,
                    long offset,
                    java.sql.ResultSet synset,
                    java.sql.ResultSet words,
                    java.sql.ResultSet pointers,
                    java.sql.ResultSet verbFrames)
                    throws java.sql.SQLException
Create a Synset from a row in the database.

Throws:
java.sql.SQLException

createExc

Exc createExc(POS pos,
              java.lang.String derivation,
              java.sql.ResultSet rs)
              throws java.sql.SQLException
Create an Exc from a row in the database.

Throws:
java.sql.SQLException