org.richfaces.validator.DummyBeanValidatorService Maven / Gradle / Ivy
The newest version!
/**
*
*/
package org.richfaces.validator;
import java.util.Collection;
import java.util.Collections;
import javax.el.ValueExpression;
import javax.faces.context.FacesContext;
/**
* @author asmirnov
*
*/
public class DummyBeanValidatorService implements BeanValidatorService {
/*
* (non-Javadoc)
*
* @see org.richfaces.validator.BeanValidatorService#getConstrains(javax.faces.context.FacesContext,
* javax.el.ValueExpression, java.lang.Class>[])
*/
public Collection getConstrains(FacesContext context, ValueExpression expression, String message,
Class>... groups) {
return Collections.emptySet();
}
public Collection validateExpression(FacesContext context, ValueExpression expression, Object newValue,
Class>... groups) {
return Collections.emptySet();
}
public Collection validateObject(FacesContext context, Object object, Class>... groups) {
return Collections.emptySet();
}
}