public class InternationalBankAccountNumberValidator extends AbstractValidator
Constructor and Description |
---|
InternationalBankAccountNumberValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object iban)
Validates that the supplied iban represents a valid IBAN nummer.
|
getFormattedErrorMessage, getMessage, hasMessage, isComponentOfTypeUIInput, restoreState, saveState, setMessage
isTransient, setTransient
public InternationalBankAccountNumberValidator()
public void validate(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object iban)
UIInput
facesContext
- The FacesContext.component
- The component that needs to be validated.iban
- The IBAN number that needs to be validated.NullPointerException
- When either the supplied facesContext or component is null.javax.faces.validator.ValidatorException
- When the supplied iban does not represent a valid IBAN number.InternationalBankAccountNumber
Copyright © 2008–2018. All rights reserved.