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 protected
EntriesLayerStored()
protected
EntriesLayerStored(EntryType type)
protected
EntriesLayerStored(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:LexiconLayerStoredAbstract
Should 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:
setLayersConnector
in classLexiconLayerStoredAbstract
-
getType
public EntryType getType()
- Specified by:
getType
in interfaceEntriesLayer
-
getEntry
public Entry getEntry(int index)
- Specified by:
getEntry
in interfaceEntriesLayer
-
getEntry
public Entry getEntry(String entryId)
- Specified by:
getEntry
in interfaceEntriesLayer
-
addEntry
public Entry addEntry(String entryString)
- Specified by:
addEntry
in interfaceEntriesLayer
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceLexiconLayer
-
size
public int size()
- Specified by:
size
in interfaceLexiconLayer
-
-