public class Matcher extends ContextAwareBase implements LifeCycle
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canonEq |
private boolean |
caseSensitive |
private java.lang.String |
name |
private java.util.regex.Pattern |
pattern |
private java.lang.String |
regex |
private boolean |
start |
private boolean |
unicodeCase |
context| Constructor and Description |
|---|
Matcher() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getRegex() |
boolean |
isCanonEq() |
boolean |
isCaseSensitive() |
boolean |
isStarted() |
boolean |
isUnicodeCase() |
boolean |
matches(java.lang.String input)
Checks whether the input matches the regular expression.
|
void |
setCanonEq(boolean canonEq) |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setName(java.lang.String name) |
void |
setRegex(java.lang.String regex) |
void |
setUnicodeCase(boolean unicodeCase) |
void |
start() |
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprivate java.lang.String regex
private java.lang.String name
private boolean caseSensitive
private boolean canonEq
private boolean unicodeCase
private boolean start
private java.util.regex.Pattern pattern
public java.lang.String getRegex()
public void setRegex(java.lang.String regex)
public boolean matches(java.lang.String input)
throws EvaluationException
input - EvaluationExceptionpublic boolean isCanonEq()
public void setCanonEq(boolean canonEq)
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public boolean isUnicodeCase()
public void setUnicodeCase(boolean unicodeCase)
public java.lang.String getName()
public void setName(java.lang.String name)