public class MatchesLayerStored extends TextCorpusLayerStoredAbstract implements MatchesLayer
| Modifier | Constructor and Description |
|---|---|
protected |
MatchesLayerStored() |
protected |
MatchesLayerStored(String queryLanguage,
String queryString) |
protected |
MatchesLayerStored(TextCorpusLayersConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
MatchedCorpus |
addCorpus(String corpusName,
String corpusPID) |
MatchedItem |
addItem(MatchedCorpus corpusToAddItem,
List<Token> itemTokens) |
MatchedItem |
addItem(MatchedCorpus corpusToAddItem,
List<Token> itemTokens,
List<String> itemOriginCorpusTokenIds) |
MatchedItem |
addItem(MatchedCorpus corpusToAddItem,
List<Token> itemTokens,
List<String> itemOriginCorpusTokenIds,
Map<String,String> itemTargets,
Map<String,String> itemCategories) |
MatchedItem |
addItem(MatchedCorpus corpusToAddItem,
List<Token> itemTokens,
Map<String,String> itemTargets,
Map<String,String> itemCategories) |
MatchedCorpus |
getCorpus(int index) |
MatchedItem |
getMatchedItem(Token token) |
String |
getQueryString() |
String |
getQueryType() |
Token[] |
getTokens(MatchedItem item) |
boolean |
isEmpty() |
protected void |
setLayersConnector(TextCorpusLayersConnector connector)
Should not be used directly by users.
|
int |
size() |
String |
toString() |
public static final String XML_NAME
protected MatchesLayerStored()
protected MatchesLayerStored(TextCorpusLayersConnector connector)
protected void setLayersConnector(TextCorpusLayersConnector connector)
TextCorpusLayerStoredAbstractsetLayersConnector in class TextCorpusLayerStoredAbstractpublic boolean isEmpty()
isEmpty in interface TextCorpusLayerpublic int size()
size in interface TextCorpusLayerpublic String getQueryType()
getQueryType in interface MatchesLayerpublic String getQueryString()
getQueryString in interface MatchesLayerpublic MatchedCorpus getCorpus(int index)
getCorpus in interface MatchesLayerpublic MatchedItem getMatchedItem(Token token)
getMatchedItem in interface MatchesLayerpublic MatchedCorpus addCorpus(String corpusName, String corpusPID)
addCorpus in interface MatchesLayerpublic MatchedItem addItem(MatchedCorpus corpusToAddItem, List<Token> itemTokens, List<String> itemOriginCorpusTokenIds)
addItem in interface MatchesLayerpublic MatchedItem addItem(MatchedCorpus corpusToAddItem, List<Token> itemTokens)
addItem in interface MatchesLayerpublic MatchedItem addItem(MatchedCorpus corpusToAddItem, List<Token> itemTokens, Map<String,String> itemTargets, Map<String,String> itemCategories)
addItem in interface MatchesLayerpublic MatchedItem addItem(MatchedCorpus corpusToAddItem, List<Token> itemTokens, List<String> itemOriginCorpusTokenIds, Map<String,String> itemTargets, Map<String,String> itemCategories)
addItem in interface MatchesLayerpublic Token[] getTokens(MatchedItem item)
getTokens in interface MatchesLayerCopyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.