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

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

public class LemmasLayerStored
extends LexiconLayerStoredAbstract
implements LemmasLayer

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
 
Constructor Summary
protected LemmasLayerStored()
           
protected LemmasLayerStored(LexiconLayersConnector connector)
           
 
Method Summary
 Lemma addLemma(String lemmaString)
           
 Lemma getLemma(int index)
           
 Lemma getLemma(String lemmaId)
           
 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

LemmasLayerStored

protected LemmasLayerStored()

LemmasLayerStored

protected LemmasLayerStored(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

getLemma

public Lemma getLemma(int index)
Specified by:
getLemma in interface LemmasLayer

getLemma

public Lemma getLemma(String lemmaId)
Specified by:
getLemma in interface LemmasLayer

addLemma

public Lemma addLemma(String lemmaString)
Specified by:
addLemma in interface LemmasLayer

isEmpty

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

size

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

toString

public String toString()
Overrides:
toString in class Object


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