Package com.sun.faces.ext.validator
Class CreditCardValidator
java.lang.Object
com.sun.faces.ext.validator.CreditCardValidator
- All Implemented Interfaces:
Validator
,Serializable
,EventListener
public class CreditCardValidator extends Object implements Validator, Serializable
A Validator that checks against a Regular Expression (which is the pattern property). The pattern must resolve to a
String that follows the java.util.regex standards.
- Author:
- driscoll
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CreditCardValidator()
-
Method Summary
Modifier and Type Method Description void
validate(FacesContext context, UIComponent component, Object obj)
Validate a String against a regular expression pattern...
-
Constructor Details
-
CreditCardValidator
public CreditCardValidator()
-
-
Method Details
-
validate
Validate a String against a regular expression pattern... The full regex pattern must be matched in order to pass the validation.
-