KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > tags > IHtmlI18n


1 /*
2  * Copyright 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  * $Header:$
17  */

18 package org.apache.beehive.netui.tags;
19
20 /**
21  * Interface which inforces that the HTML i18n attributes are found on an HTML element as defined by
22  * the HTML 4.0 specification.
23  */

24 public interface IHtmlI18n
25 {
26     /**
27      * Gets the dir value of the html.
28      * @return "LTR" or "RTL"
29      */

30     //public String getDir();
31

32     /**
33      * Sets the dir value of the html.
34      * @param dir - "LTR" or "RTL"
35      * @netui:attribute required="false"
36      */

37     public void setDir(String JavaDoc dir);
38
39     /**
40      * Return the language Code of the HTML element.
41      * @return a language code.
42      */

43     //public String getLang();
44

45     /**
46      * Set the language code of an HTML element.
47      * @param lang
48      */

49     public void setLang(String JavaDoc lang);
50 }
51
Popular Tags