public static class CoreMapNodePattern.StringAnnotationPattern extends CoreMapNodePattern.AbstractStringAnnotationPattern
NodePattern.AnyNodePattern<T>, NodePattern.ConjNodePattern<T>, NodePattern.DisjNodePattern<T>, NodePattern.EqualsNodePattern<T>, NodePattern.NegateNodePattern<T>
ANY_NODE, CASE_INSENSITIVE, NORMALIZE
Constructor and Description |
---|
StringAnnotationPattern(String str) |
StringAnnotationPattern(String str,
int flags) |
Modifier and Type | Method and Description |
---|---|
String |
getString() |
boolean |
match(String str)
Returns true if the input node matches this pattern
|
String |
toString() |
getNormalized, ignoreCase, normalize
matchWithResult
public StringAnnotationPattern(String str, int flags)
public StringAnnotationPattern(String str)
public String getString()
public boolean match(String str)
NodePattern
match
in class NodePattern<String>
str
- - node to match