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