public static class CoreMapNodePattern.StringInSetAnnotationPattern 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 |
---|
StringInSetAnnotationPattern(Set<String> targets) |
StringInSetAnnotationPattern(Set<String> targets,
int flags) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getTargets() |
boolean |
match(String str)
Returns true if the input node matches this pattern
|
String |
toString() |
getNormalized, ignoreCase, normalize
matchWithResult
public boolean match(String str)
NodePattern
match
in class NodePattern<String>
str
- - node to match