Package eu.clarin.weblicht.wlfxb.tc.xb
Class TextSourceLayerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.tc.xb.TextSourceLayerStored
-
- All Implemented Interfaces:
TextCorpusLayer,TextSourceLayer
public class TextSourceLayerStored extends TextCorpusLayerStoredAbstract implements TextSourceLayer
- Author:
- Çağrı Çöltekin
-
-
Constructor Summary
Constructors Constructor Description TextSourceLayerStored()
-
Method Summary
Modifier and Type Method Description voidaddText(String text)StringgetExtRef()StringgetText()StringgetType()booleanisEmpty()voidsetExtRef(String extRef)protected voidsetLayersConnector(TextCorpusLayersConnector connector)Should not be used directly by users.voidsetType(String type)intsize()StringtoString()
-
-
-
Field Detail
-
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceTextCorpusLayer
-
size
public int size()
- Specified by:
sizein interfaceTextCorpusLayer
-
setLayersConnector
protected void setLayersConnector(TextCorpusLayersConnector connector)
Description copied from class:TextCorpusLayerStoredAbstractShould 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 classTextCorpusLayerStoredAbstract
-
getText
public String getText()
- Specified by:
getTextin interfaceTextSourceLayer
-
addText
public void addText(String text)
- Specified by:
addTextin interfaceTextSourceLayer
-
getType
public String getType()
- Specified by:
getTypein interfaceTextSourceLayer
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceTextSourceLayer
-
getExtRef
public String getExtRef()
- Specified by:
getExtRefin interfaceTextSourceLayer
-
setExtRef
public void setExtRef(String extRef)
- Specified by:
setExtRefin interfaceTextSourceLayer
-
-