View Javadoc

1   /*
2    * $Id: ILiteralLocaleCapability.java,v 1.2 2007/05/24 12:26:17 oeuillot Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   import java.util.Locale;
8   
9   /**
10   * Best practice : define this on the init component.
11   * 
12   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
13   * @version $Revision: 1.2 $ $Date: 2007/05/24 12:26:17 $
14   */
15  public interface ILiteralLocaleCapability {
16  
17      /**
18       * Returns the locale defined for literal attributes. (date, number)
19       * 
20       * @return the defined locale
21       */
22      Locale getLiteralLocale();
23  
24      /**
25       * Sets the locale for literal attributes. (date, number)
26       * 
27       * @param locale
28       *            locale to define
29       */
30      void setLiteralLocale(Locale locale);
31  }