View Javadoc

1   /*
2    * $Id: IClientValidatorsRegistry.java,v 1.18 2011/06/16 09:29:41 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.internal.validator;
6   
7   import java.util.Locale;
8   import java.util.TimeZone;
9   
10  import javax.faces.context.FacesContext;
11  import javax.faces.validator.Validator;
12  
13  import org.rcfaces.core.internal.renderkit.IRenderContext;
14  
15  /**
16   * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
17   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
18   */
19  public interface IClientValidatorsRegistry {
20      IClientValidatorDescriptor getClientValidatorById(
21              FacesContext facesContext, String clientValidatorId, Locale locale,
22              TimeZone timeZone);
23  
24      String convertFromValidatorToExpression(IRenderContext renderContext,
25              Validator validator);
26  }