org.apache.myfaces.extensions.validator.core.validation.strategy
Class AbstractAnnotationValidationStrategy
java.lang.Object
org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractValidationStrategy
org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractAnnotationValidationStrategy
- All Implemented Interfaces:
- ValidationStrategy
public abstract class AbstractAnnotationValidationStrategy
- extends AbstractValidationStrategy
Provides the ability of message resolving to ValidationStrategies
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DETAIL_MESSAGE_KEY_POSTFIX
protected static final java.lang.String DETAIL_MESSAGE_KEY_POSTFIX
- See Also:
- Constant Field Values
AbstractAnnotationValidationStrategy
public AbstractAnnotationValidationStrategy()
resolveMessage
protected java.lang.String resolveMessage(java.lang.String key)
getErrorMessageSummary
protected java.lang.String getErrorMessageSummary(java.lang.annotation.Annotation annotation)
getErrorMessageDetail
protected java.lang.String getErrorMessageDetail(java.lang.annotation.Annotation annotation)
getValidationErrorFacesMassage
protected javax.faces.application.FacesMessage getValidationErrorFacesMassage(java.lang.annotation.Annotation annotation)
getValidationErrorMsgKey
protected abstract java.lang.String getValidationErrorMsgKey(java.lang.annotation.Annotation annotation)
setMessageResolver
public void setMessageResolver(MessageResolver messageResolver)
processAfterValidatorException
protected boolean processAfterValidatorException(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
MetaDataEntry metaDataEntry,
java.lang.Object convertedObject,
javax.faces.validator.ValidatorException validatorException)
- Overrides:
processAfterValidatorException
in class AbstractValidationStrategy
getLabel
protected java.lang.String getLabel(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
MetaDataEntry metaDataEntry)
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.