org.jboss.seam.faces.validation
Class Validator<T>
java.lang.Object
org.jboss.seam.faces.validation.Validator<T>
- All Implemented Interfaces:
- EventListener, Validator
public abstract class Validator<T>
- extends Object
- implements Validator
A generic abstract class implementing Validator, for convenient removal of type casting.
- Author:
- Brian Leathem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validator
public Validator()
validate
public abstract void validate(UIComponent component,
T value)
throws ValidatorException
- Throws:
ValidatorException
validate
public void validate(FacesContext context,
UIComponent component,
Object value)
throws ValidatorException
- Specified by:
validate
in interface Validator
- Throws:
ValidatorException
getContext
public FacesContext getContext()
Copyright © 2011 Seam Framework. All Rights Reserved.