| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private String | |
| public void | validate(FacesContext
Context of this request context, UIComponent The component wrapping this validator component, Object A string which will be compared to the pattern property of this validator. Must be a string. obj)Implements javax. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CreditCardValidator | back to summary |
|---|---|
| public CreditCardValidator() | |
| luhnCheck | back to summary |
|---|---|
| private boolean luhnCheck(String number) | |
| stripNonDigit | back to summary |
|---|---|
| private String stripNonDigit(String s) | |
| validate | back to summary |
|---|---|
| public void validate(FacesContext context, UIComponent component, Object obj) Implements javax. Validate a String against a regular expression pattern... The full regex pattern must be matched in order to pass the validation.
| |