eu.clarin.weblicht.wlfxb.lx.xb
Class EntriesLayerStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.lx.xb.LexiconLayerStoredAbstract
      extended by eu.clarin.weblicht.wlfxb.lx.xb.EntriesLayerStored
All Implemented Interfaces:
EntriesLayer, LexiconLayer

public class EntriesLayerStored
extends LexiconLayerStoredAbstract
implements EntriesLayer

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
 
Constructor Summary
protected EntriesLayerStored()
           
protected EntriesLayerStored(EntryType type)
           
protected EntriesLayerStored(LexiconLayersConnector connector)
           
 
Method Summary
 Entry addEntry(String entryString)
           
 Entry getEntry(int index)
           
 Entry getEntry(String entryId)
           
 EntryType getType()
           
 boolean isEmpty()
           
 void setLayersConnector(LexiconLayersConnector connector)
          Should not be used directly by users.
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 class LexiconLayerStoredAbstract

getType

public EntryType getType()
Specified by:
getType in interface EntriesLayer

getEntry

public Entry getEntry(int index)
Specified by:
getEntry in interface EntriesLayer

getEntry

public Entry getEntry(String entryId)
Specified by:
getEntry in interface EntriesLayer

addEntry

public Entry addEntry(String entryString)
Specified by:
addEntry in interface EntriesLayer

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface LexiconLayer

size

public int size()
Specified by:
size in interface LexiconLayer

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.