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