Package eu.clarin.weblicht.wlfxb.lx.xb
Class EntriesLayerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.lx.xb.EntriesLayerStored
-
- All Implemented Interfaces:
EntriesLayer,LexiconLayer
public class EntriesLayerStored extends LexiconLayerStoredAbstract implements EntriesLayer
- Author:
- Yana Panchenko
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntriesLayerStored()protectedEntriesLayerStored(EntryType type)protectedEntriesLayerStored(LexiconLayersConnector connector)
-
-
-
Field Detail
-
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EntriesLayerStored
protected EntriesLayerStored()
-
EntriesLayerStored
protected EntriesLayerStored(EntryType type)
-
EntriesLayerStored
protected EntriesLayerStored(LexiconLayersConnector connector)
-
-
Method Detail
-
setLayersConnector
public void setLayersConnector(LexiconLayersConnector connector)
Description copied from class:LexiconLayerStoredAbstractShould not be used directly by users. Should be extended by all implementations of TextCorpusLayers, as they might depend on other layers and therefore be able to get referenced/referencing information.- Specified by:
setLayersConnectorin classLexiconLayerStoredAbstract
-
getType
public EntryType getType()
- Specified by:
getTypein interfaceEntriesLayer
-
getEntry
public Entry getEntry(int index)
- Specified by:
getEntryin interfaceEntriesLayer
-
getEntry
public Entry getEntry(String entryId)
- Specified by:
getEntryin interfaceEntriesLayer
-
addEntry
public Entry addEntry(String entryString)
- Specified by:
addEntryin interfaceEntriesLayer
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceLexiconLayer
-
size
public int size()
- Specified by:
sizein interfaceLexiconLayer
-
-