public class RegexRule extends Rule<RegexRule>
Rule.PriorityComparator| Constructor and Description |
|---|
RegexRule(java.lang.String pattern) |
RegexRule(java.lang.String pattern,
boolean allowEmpty) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInstance(android.view.View view) |
protected void |
checkView(android.view.View view) |
getPriority, setContext, setMessage, setMessage, setMessage, setMessage, setPriority, validatepublic RegexRule(java.lang.String pattern)
public RegexRule(java.lang.String pattern,
boolean allowEmpty)
protected void checkView(android.view.View view)
throws ViewFormErrorException
checkView in class Rule<RegexRule>ViewFormErrorExceptionprotected void checkInstance(android.view.View view)
throws java.lang.IllegalArgumentException
checkInstance in class Rule<RegexRule>java.lang.IllegalArgumentException