|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.rule.BasicRule
org.mentawai.rule.CNPJRule
public class CNPJRule
A rule to validate a CNPJ.
| Constructor Summary | |
|---|---|
CNPJRule()
|
|
| Method Summary | |
|---|---|
boolean |
check(java.lang.String value)
Check a single input value from this action. |
static CNPJRule |
getInstance()
|
| Methods inherited from class org.mentawai.rule.BasicRule |
|---|
check, getTokens |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CNPJRule()
| Method Detail |
|---|
public static CNPJRule getInstance()
public boolean check(java.lang.String value)
BasicRule
check in class BasicRulevalue - The value to validate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||