Package eu.clarin.weblicht.wlfxb.tc.xb
Class RelationsLayerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.tc.xb.RelationsLayerStored
-
- All Implemented Interfaces:
RelationsLayer,TextCorpusLayer
@Deprecated public class RelationsLayerStored extends TextCorpusLayerStoredAbstract implements RelationsLayer
Deprecated.- Author:
- Yana Panchenko
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRelationsLayerStored()Deprecated.protectedRelationsLayerStored(TextCorpusLayersConnector connector)Deprecated.protectedRelationsLayerStored(String type)Deprecated.
-
Method Summary
Modifier and Type Method Description RelationaddRelation(Token relationToken)Deprecated.RelationaddRelation(String function, Token relationToken)Deprecated.RelationaddRelation(String function, List<Token> relationTokens)Deprecated.RelationaddRelation(List<Token> relationTokens)Deprecated.RelationgetRelation(int index)Deprecated.RelationgetRelation(Token token)Deprecated.Token[]getTokens(Relation relation)Deprecated.StringgetType()Deprecated.booleanisEmpty()Deprecated.protected voidsetLayersConnector(TextCorpusLayersConnector connector)Deprecated.Should not be used directly by users.intsize()Deprecated.StringtoString()Deprecated.
-
-
-
Field Detail
-
XML_NAME
public static final String XML_NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelationsLayerStored
protected RelationsLayerStored()
Deprecated.
-
RelationsLayerStored
protected RelationsLayerStored(String type)
Deprecated.
-
RelationsLayerStored
protected RelationsLayerStored(TextCorpusLayersConnector connector)
Deprecated.
-
-
Method Detail
-
setLayersConnector
protected void setLayersConnector(TextCorpusLayersConnector connector)
Deprecated.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
-
isEmpty
public boolean isEmpty()
Deprecated.- Specified by:
isEmptyin interfaceTextCorpusLayer
-
size
public int size()
Deprecated.- Specified by:
sizein interfaceRelationsLayer- Specified by:
sizein interfaceTextCorpusLayer
-
getType
public String getType()
Deprecated.- Specified by:
getTypein interfaceRelationsLayer
-
getRelation
public Relation getRelation(int index)
Deprecated.- Specified by:
getRelationin interfaceRelationsLayer
-
getRelation
public Relation getRelation(Token token)
Deprecated.- Specified by:
getRelationin interfaceRelationsLayer
-
getTokens
public Token[] getTokens(Relation relation)
Deprecated.- Specified by:
getTokensin interfaceRelationsLayer
-
addRelation
public Relation addRelation(String function, Token relationToken)
Deprecated.- Specified by:
addRelationin interfaceRelationsLayer
-
addRelation
public Relation addRelation(Token relationToken)
Deprecated.- Specified by:
addRelationin interfaceRelationsLayer
-
addRelation
public Relation addRelation(String function, List<Token> relationTokens)
Deprecated.- Specified by:
addRelationin interfaceRelationsLayer
-
addRelation
public Relation addRelation(List<Token> relationTokens)
Deprecated.- Specified by:
addRelationin interfaceRelationsLayer
-
-