org.apache.myfaces.extensions.validator.test.util.model
Class CustomAnnotationStrategy

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractValidationStrategy
      extended by org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractAnnotationValidationStrategy<CustomAnnotation>
          extended by org.apache.myfaces.extensions.validator.test.util.model.CustomAnnotationStrategy
All Implemented Interfaces:
ValidationStrategy

public class CustomAnnotationStrategy
extends AbstractAnnotationValidationStrategy<CustomAnnotation>


Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractAnnotationValidationStrategy
DETAIL_MESSAGE_KEY_POSTFIX
 
Fields inherited from class org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractValidationStrategy
logger
 
Constructor Summary
CustomAnnotationStrategy()
           
 
Method Summary
protected  String getValidationErrorMsgKey(CustomAnnotation annotation)
           
protected  void processValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, MetaDataEntry metaDataEntry, Object convertedObject)
           
 
Methods inherited from class org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractAnnotationValidationStrategy
getErrorMessageDetail, getErrorMessageSummary, getLabel, getValidationErrorFacesMessage, processAfterValidatorException, resolveMessage, setMessageResolver
 
Methods inherited from class org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractValidationStrategy
initValidation, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomAnnotationStrategy

public CustomAnnotationStrategy()
Method Detail

getValidationErrorMsgKey

protected String getValidationErrorMsgKey(CustomAnnotation annotation)
Specified by:
getValidationErrorMsgKey in class AbstractAnnotationValidationStrategy<CustomAnnotation>

processValidation

protected void processValidation(javax.faces.context.FacesContext facesContext,
                                 javax.faces.component.UIComponent uiComponent,
                                 MetaDataEntry metaDataEntry,
                                 Object convertedObject)
                          throws javax.faces.validator.ValidatorException
Specified by:
processValidation in class AbstractValidationStrategy
Throws:
javax.faces.validator.ValidatorException


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.