KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > components > elementprocessor > LocaleAware


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.cocoon.components.elementprocessor;
17
18 /**
19  * The LocaleAware interface is for element processors whom require the locale
20  * configuration string to control their behavior. For HSSF this is somewhat
21  * of a kludge to get past the fact the Gnumeric XML format does not allow
22  * numbers formatted according to different locales in the <Cell> tags.
23  * However, the ESQL generator for instance will generate them no other way.
24  *
25  * @author Andrew C. Oliver (acoliver@apache.org)
26  * @version CVS $Id: LocaleAware.java 30932 2004-07-29 17:35:38Z vgritsenko $
27  */

28 public interface LocaleAware
29 {
30     /**
31      * Set the locale for a given element processor.
32      */

33     public void setLocale(String JavaDoc locale);
34 } // end public interface LocaleAware
35
Popular Tags