public class DutchBankGiroAccountNumberValidator extends AbstractValidator
Constructor and Description |
---|
DutchBankGiroAccountNumberValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object accountNumber)
Validates that the supplied accountNumber either represents a valid Dutch Giro or Bank Account Number.
|
getFormattedErrorMessage, getMessage, hasMessage, isComponentOfTypeUIInput, restoreState, saveState, setMessage
isTransient, setTransient
public void validate(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object accountNumber)
UIInput
facesContext
- The FacesContext.component
- The component that needs to be validated.accountNumber
- The Account Number that needs to be validated.NullPointerException
- When either the supplied facesContext or component is null.javax.faces.validator.ValidatorException
- When the supplied accountNumber does neither represent a Dutch Giro
account number nor a Dutch bank Account Number.ModuloElevenValidator
,
DutchGiroAccountNumberValidator
Copyright © 2008–2018. All rights reserved.