public abstract class AbstractPrincetonDatabaseDictionaryElementFactory extends Object implements DatabaseDictionaryElementFactory
Constructor and Description |
---|
AbstractPrincetonDatabaseDictionaryElementFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected Word |
createWord(Synset synset,
int index,
String lemma) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public AbstractPrincetonDatabaseDictionaryElementFactory()
public IndexWord createIndexWord(POS pos, String lemma, ResultSet rs) throws SQLException
DatabaseDictionaryElementFactory
createIndexWord
in interface DatabaseDictionaryElementFactory
SQLException
public Synset createSynset(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) throws SQLException
DatabaseDictionaryElementFactory
createSynset
in interface DatabaseDictionaryElementFactory
SQLException
public Exc createExc(POS pos, String derivation, ResultSet rs) throws SQLException
DatabaseDictionaryElementFactory
createExc
in interface DatabaseDictionaryElementFactory
SQLException
Copyright © 2017. All rights reserved.