public class CreditCardValidator extends Object implements javax.faces.validator.Validator, Serializable
| Constructor and Description |
|---|
CreditCardValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object obj)
Validate a String against a regular expression pattern...
|
public void validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object obj)
validate in interface javax.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–2019 JBoss by Red Hat. All rights reserved.