Package net.didion.jwnl.data
Interface DatabaseDictionaryElementFactory
- All Superinterfaces:
Createable
- All Known Implementing Classes:
AbstractPrincetonDatabaseDictionaryElementFactory
,PrincetonWN16DatabaseDictionaryElementFactory
,PrincetonWN17DatabaseDictionaryElementFactory
,PrincetonWN30DatabaseDictionaryElementFactory
Factory interface for creating WordNet objects from a database.
-
Method Summary
Modifier and TypeMethodDescriptionCreate an Exc from a row in the database.createIndexWord
(POS pos, String lemma, ResultSet rs) Create an IndexWord from a row in the database.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 Details
-
createIndexWord
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
Create an Exc from a row in the database.- Throws:
SQLException
-