org.apache.myfaces.extensions.validator.beanval.interceptor
Class BeanValidationTagAwareValidationInterceptor
java.lang.Object
org.apache.myfaces.extensions.validator.beanval.interceptor.BeanValidationTagAwareValidationInterceptor
- All Implemented Interfaces:
- PropertyValidationInterceptor, ValidationParameter
public class BeanValidationTagAwareValidationInterceptor
- extends Object
- implements PropertyValidationInterceptor
- Since:
- 2.x.3
Method Summary |
void |
afterValidation(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object convertedObject,
Map<String,Object> properties)
Processed if validation was executed. |
boolean |
beforeValidation(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object convertedObject,
Map<String,Object> properties)
Executed before the validation strategies are invoked to validate the converted value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Logger logger
BeanValidationTagAwareValidationInterceptor
public BeanValidationTagAwareValidationInterceptor()
beforeValidation
public boolean beforeValidation(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object convertedObject,
Map<String,Object> properties)
- Description copied from interface:
PropertyValidationInterceptor
- Executed before the
validation strategies
are invoked to validate the converted value.
- Specified by:
beforeValidation
in interface PropertyValidationInterceptor
- Parameters:
facesContext
- The JSF ContextuiComponent
- The component which is processedconvertedObject
- The converted objectproperties
- Additional information of interest. Contains e.g. the
PropertyInformation
extracted from the component.
- Returns:
- false if the validation process should be bypassed
afterValidation
public void afterValidation(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object convertedObject,
Map<String,Object> properties)
- Description copied from interface:
PropertyValidationInterceptor
- Processed if validation was executed.
In contrast to a
ValidationExceptionInterceptor
it gets executed in any case.
- Specified by:
afterValidation
in interface PropertyValidationInterceptor
- Parameters:
facesContext
- The JSF ContextuiComponent
- The component which is processedconvertedObject
- The converted objectproperties
- Additional information of interest. Contains e.g. the
PropertyInformation
extracted from the component.
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.