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