public static class CountMatchesTagger.MatchDetails extends Object
Constructor and Description |
---|
MatchDetails() |
MatchDetails(String fromField,
String toField,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getFromField() |
String |
getToField() |
String |
getValue() |
int |
hashCode() |
boolean |
isCaseSensitive()
Whether the matching should be case sensitive or not.
|
boolean |
isRegex() |
void |
setCaseSensitive(boolean caseSensitive)
Sets whether to do a case sensitive match or not.
|
void |
setFromField(String fromField)
Sets the field with the value we want to perform matches on.
|
void |
setRegex(boolean regex)
Sets whether the
value to match is a regular expression. |
void |
setToField(String toField)
Sets the field to store the match count.
|
void |
setValue(String value)
Sets the text or regular expression to match
|
String |
toString() |
public String getFromField()
public String getValue()
public String getToField()
public boolean isRegex()
public boolean isCaseSensitive()
true
if case sensitivepublic void setFromField(String fromField)
fromField
- field with the value to perform matches onpublic void setValue(String value)
value
- the substring to match or regular expressionpublic void setToField(String toField)
toField
- field to store the match countpublic void setRegex(boolean regex)
value
to match is a regular expression.regex
- true
if value
is a
regular expressionpublic void setCaseSensitive(boolean caseSensitive)
caseSensitive
- true
if doing a case sensitive
matchCopyright © 2009–2021 Norconex Inc.. All rights reserved.