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, String derivation, ResultSet rs)
          Create an Exc from a row in the database.
 IndexWord createIndexWord(POS pos, String lemma, ResultSet rs)
          Create an IndexWord from a row in the database.
 Synset createSynset(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, 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,
                          String lemma,
                          ResultSet rs)
                          throws SQLException
Create an IndexWord from a row in the database.

Throws:
SQLException

createSynset

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

Throws:
SQLException

createExc

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

Throws:
SQLException


Copyright © 2011. All Rights Reserved.