blob: 3b55e5f1f1765f6a73c9fb50cec8e884a61c89b1 [file] [log] [blame]
package org.apache.myfaces.extensions.validator.test.util.model;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.ValidatorException;
import org.apache.myfaces.extensions.validator.core.metadata.MetaDataEntry;
import org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractAnnotationValidationStrategy;
public class CustomAnnotationStrategy extends
AbstractAnnotationValidationStrategy<CustomAnnotation>
{
@Override
protected String getValidationErrorMsgKey(CustomAnnotation annotation)
{
// We don't have to do anything here, The tests in ExtValUtilsTestCase just deals with extraction.
return null;
}
@Override
protected void processValidation(FacesContext facesContext,
UIComponent uiComponent, MetaDataEntry metaDataEntry,
Object convertedObject) throws ValidatorException
{
return;
// We don't have to do anything here, The tests in ExtValUtilsTestCase just deals with extraction.
}
}