Class AbstractPrincetonDatabaseDictionaryElementFactory
java.lang.Object
net.didion.jwnl.princeton.data.AbstractPrincetonDatabaseDictionaryElementFactory
- All Implemented Interfaces:
DatabaseDictionaryElementFactory, Createable
- Direct Known Subclasses:
PrincetonWN16DatabaseDictionaryElementFactory, PrincetonWN17DatabaseDictionaryElementFactory, PrincetonWN30DatabaseDictionaryElementFactory
public abstract class AbstractPrincetonDatabaseDictionaryElementFactory
extends Object
implements DatabaseDictionaryElementFactory
-
Constructor Summary
Constructors -
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.protected WordcreateWord(Synset synset, int index, String lemma) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Createable
create
-
Constructor Details
-
AbstractPrincetonDatabaseDictionaryElementFactory
public AbstractPrincetonDatabaseDictionaryElementFactory()
-
-
Method Details
-
createIndexWord
Description copied from interface:DatabaseDictionaryElementFactoryCreate an IndexWord from a row in the database.- Specified by:
createIndexWordin interfaceDatabaseDictionaryElementFactory- Throws:
SQLException
-
createSynset
public Synset createSynset(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) throws SQLException Description copied from interface:DatabaseDictionaryElementFactoryCreate a Synset from a row in the database.- Specified by:
createSynsetin interfaceDatabaseDictionaryElementFactory- Throws:
SQLException
-
createWord
-
createExc
Description copied from interface:DatabaseDictionaryElementFactoryCreate an Exc from a row in the database.- Specified by:
createExcin interfaceDatabaseDictionaryElementFactory- Throws:
SQLException
-