public class AnnotationNameAndValueMatcher extends Object implements SpanMatcher
| Constructor and Description |
|---|
AnnotationNameAndValueMatcher(String annotationNamespace,
String annotationName,
String annotationValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotationValue() |
AnnotationNameMatcher |
getNameMatcher() |
List<String> |
getRequiredAnnotationNames() |
String |
matchedAnnotation(org.corpus_tools.salt.core.SNode node) |
void |
setAnnotationValue(String annotationValue) |
void |
setNameMatcher(AnnotationNameMatcher nameMatcher) |
public String getAnnotationValue()
public AnnotationNameMatcher getNameMatcher()
public List<String> getRequiredAnnotationNames()
getRequiredAnnotationNames in interface SpanMatcherpublic String matchedAnnotation(org.corpus_tools.salt.core.SNode node)
matchedAnnotation in interface SpanMatcherpublic void setAnnotationValue(String annotationValue)
public void setNameMatcher(AnnotationNameMatcher nameMatcher)
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.