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 void
addText(String text)
String
getExtRef()
String
getText()
String
getType()
boolean
isEmpty()
void
setExtRef(String extRef)
protected void
setLayersConnector(TextCorpusLayersConnector connector)
Should not be used directly by users.void
setType(String type)
int
size()
String
toString()
-
-
-
Field Detail
-
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceTextCorpusLayer
-
size
public int size()
- Specified by:
size
in interfaceTextCorpusLayer
-
setLayersConnector
protected void setLayersConnector(TextCorpusLayersConnector connector)
Description copied from class:TextCorpusLayerStoredAbstract
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 classTextCorpusLayerStoredAbstract
-
getText
public String getText()
- Specified by:
getText
in interfaceTextSourceLayer
-
addText
public void addText(String text)
- Specified by:
addText
in interfaceTextSourceLayer
-
getType
public String getType()
- Specified by:
getType
in interfaceTextSourceLayer
-
setType
public void setType(String type)
- Specified by:
setType
in interfaceTextSourceLayer
-
getExtRef
public String getExtRef()
- Specified by:
getExtRef
in interfaceTextSourceLayer
-
setExtRef
public void setExtRef(String extRef)
- Specified by:
setExtRef
in interfaceTextSourceLayer
-
-