Package 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExccreateExc(POS pos, java.lang.String derivation, java.sql.ResultSet rs)Create an Exc from a row in the database.IndexWordcreateIndexWord(POS pos, java.lang.String lemma, java.sql.ResultSet rs)Create an IndexWord from a row in the database.SynsetcreateSynset(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
-
-