public class CreditCardNumberValidator extends Object implements Validation
Constructor and Description |
---|
CreditCardNumberValidator() |
public boolean validate(String coveredText, String ruleID) throws Exception
Validation
validate
in interface Validation
coveredText
- covered text of the annotation that should be validatedruleID
- ruleID of the rule which created the matchException
- throws an exception if an validation error occurredCopyright © 2015. All rights reserved.