public class DutchGiroAccountNumberValidator extends AbstractValidator
Constructor and Description |
---|
DutchGiroAccountNumberValidator()
Initializes the list of giro account numbers that should be excluded as
valid account numbers.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object giro)
Validates that the supplied giro represents a valid Giro account
number.
|
getFormattedErrorMessage, getMessage, hasMessage, isComponentOfTypeUIInput, restoreState, saveState, setMessage
isTransient, setTransient
public DutchGiroAccountNumberValidator()
public void validate(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object giro)
UIComponent
facesContext
- The FacesContext.component
- The component that needs to be validated.giro
- The giro account number that needs to be validated.NullPointerException
- When either the supplied facesContext or
component is null.javax.faces.validator.ValidatorException
- When the supplied giro does not represent a
valid giro account number.Copyright © 2008–2018. All rights reserved.