public class CreditCardValidator extends Object implements jakarta.faces.validator.Validator, Serializable
| Constructor and Description |
|---|
CreditCardValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component,
Object obj)
Validate a String against a regular expression pattern...
|
public void validate(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component,
Object obj)
validate in interface jakarta.faces.validator.Validatorcontext - Context of this requestcomponent - The component wrapping this validatorobj - A string which will be compared to the pattern property of this validator. Must be a string.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.