|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.annotator.regex.extension.impl.CreditCardNumberValidator
public class CreditCardNumberValidator
credit card number validator
Constructor Summary | |
---|---|
CreditCardNumberValidator()
|
Method Summary | |
---|---|
boolean |
validate(java.lang.String coveredText,
java.lang.String ruleID)
The validate method validates the covered text of an annotator and returns true or false whether the annotation is correct or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreditCardNumberValidator()
Method Detail |
---|
public boolean validate(java.lang.String coveredText, java.lang.String ruleID) throws java.lang.Exception
Validation
validate
in interface Validation
coveredText
- covered text of the annotation that should be validatedruleID
- ruleID of the rule which created the match
java.lang.Exception
- throws an exception if an validation error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |