org.apache.myfaces.extensions.validator.core.interceptor
Class SingleViolationPropertyValidationInterceptor

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.interceptor.SingleViolationPropertyValidationInterceptor
All Implemented Interfaces:
PropertyValidationInterceptor, ValidationParameter

public class SingleViolationPropertyValidationInterceptor
extends java.lang.Object
implements PropertyValidationInterceptor

Since:
r4
Author:
Gerhard Petracek

Constructor Summary
SingleViolationPropertyValidationInterceptor()
           
 
Method Summary
 void afterValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object convertedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
          processed if validation was executed in contrast to ValidationExceptionInterceptor it gets executed in any case
 boolean beforeValidation(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object convertedObject, java.util.Map<java.lang.String,java.lang.Object> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleViolationPropertyValidationInterceptor

public SingleViolationPropertyValidationInterceptor()
Method Detail

beforeValidation

public boolean beforeValidation(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent uiComponent,
                                java.lang.Object convertedObject,
                                java.util.Map<java.lang.String,java.lang.Object> properties)
Specified by:
beforeValidation in interface PropertyValidationInterceptor
Returns:
false if the validation process should be bypassed

afterValidation

public void afterValidation(javax.faces.context.FacesContext facesContext,
                            javax.faces.component.UIComponent uiComponent,
                            java.lang.Object convertedObject,
                            java.util.Map<java.lang.String,java.lang.Object> properties)
Description copied from interface: PropertyValidationInterceptor
processed if validation was executed in contrast to ValidationExceptionInterceptor it gets executed in any case

Specified by:
afterValidation in interface PropertyValidationInterceptor


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