KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xml > utils > res > XResources_hy


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 /*
17  * $Id: XResources_hy.java,v 1.6 2004/02/17 04:22:15 minchau Exp $
18  */

19 package org.apache.xml.utils.res;
20
21 //
22
// LangResources_en.properties
23
//
24

25 /**
26  * The Armenian resource bundle.
27  * @xsl.usage internal
28  */

29 public class XResources_hy extends XResourceBundle
30 {
31
32   /**
33    * Get the association list.
34    *
35    * @return The association list.
36    */

37   public Object JavaDoc[][] getContents()
38   {
39     return contents;
40   }
41
42   /** The association list. */
43   static final Object JavaDoc[][] contents =
44   {
45     { "ui_language", "hy" }, { "help_language", "hy" }, { "language", "hy" },
46     { "alphabet",
47       new char[]{ 0x0561, 0x0562, 0x0563, 0x0564, 0x0565, 0x0566, 0x0567,
48                   0x0568, 0x0569, 0x056A, 0x056B, 0x056C, 0x056D, 0x056E,
49                   0x056F, 0x0567, 0x0568, 0x0572, 0x0573, 0x0574, 0x0575,
50                   0x0576, 0x0577, 0x0578, 0x0579, 0x057A, 0x057B, 0x057C,
51                   0x057D, 0x057E, 0x057F, 0x0580, 0x0581, 0x0582, 0x0583,
52                   0x0584 } },
53     { "tradAlphabet",
54       new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
55                   'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
56                   'Y', 'Z' } },
57
58     //language orientation
59
{ "orientation", "LeftToRight" },
60
61     //language numbering
62
{ "numbering", "additive" },
63
64     // largest numerical value
65
//{"MaxNumericalValue", new Integer()},
66
//These would not be used for EN. Only used for traditional numbering
67
{ "numberGroups", new int[]{ 1000, 100, 10, 1 } },
68
69     //These only used for mutiplicative-additive numbering
70
//{"multiplier", "10"},
71
//{"multiplierChar", "M"},
72
//{"digits", new char[]{'a','b','c','d','e','f','g','h','i'}},
73
{ "digits",
74       new char[]{ 0x0561, 0x0562, 0x0563, 0x0564, 0x0565, 0x0566, 0x0567,
75                   0x0568, 0x0569 } },
76     { "tens",
77       new char[]{ 0x056A, 0x056B, 0x056C, 0x056D, 0x056E, 0x056F, 0x0567,
78                   0x0568, 0x0572 } },
79     { "hundreds",
80       new char[]{ 0x0573, 0x0574, 0x0575, 0x0576, 0x0577, 0x0578, 0x0579,
81                   0x057A, 0x057B } },
82     { "thousands",
83       new char[]{ 0x057C, 0x057D, 0x057E, 0x057F, 0x0580, 0x0581, 0x0582,
84                   0x0583, 0x0584 } },
85     { "tables", new String JavaDoc[]{ "thousands", "hundreds", "tens", "digits" } }
86   };
87 }
88
Popular Tags