KickJava   Java API By Example, From Geeks To Geeks.

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


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

19 package org.apache.xml.utils.res;
20
21
22 /**
23  * The Cyrillic resource bundle.
24  * @xsl.usage internal
25  */

26 public class XResources_cy extends XResourceBundle
27 {
28
29   /**
30    * Get the association list.
31    *
32    * @return The association list.
33    */

34   public Object JavaDoc[][] getContents()
35   {
36     return contents;
37   }
38
39  /** The association list. */
40   static final Object JavaDoc[][] contents =
41   {
42     { "ui_language", "cy" }, { "help_language", "cy" }, { "language", "cy" },
43     { "alphabet",
44       new char[]{ 0x0430, 0x0432, 0x0433, 0x0434, 0x0435, 0x0437, 0x0438,
45                   0x0439, 0x04A9, 0x0457, 0x043A, 0x043B, 0x043C, 0x043D,
46                   0x046F, 0x043E, 0x043F, 0x0447, 0x0440, 0x0441, 0x0442,
47                   0x0443, 0x0444, 0x0445, 0x0470, 0x0460, 0x0446 } },
48     { "tradAlphabet",
49       new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
50                   'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
51                   'Y', 'Z' } },
52
53     //language orientation
54
{ "orientation", "LeftToRight" },
55
56     //language numbering
57
//{"numbering", "additive"},
58
{ "numbering", "multiplicative-additive" },
59     { "multiplierOrder", "precedes" },
60
61     // largest numerical value
62
//{"MaxNumericalValue", new Integer(10000000000)},
63
//These would not be used for EN. Only used for traditional numbering
64
{ "numberGroups", new int[]{ 100, 10, 1 } },
65
66     //These only used for mutiplicative-additive numbering
67
{ "multiplier", new long[]{ 1000 } },
68     { "multiplierChar", new char[]{ 0x03D9 } },
69
70     // chinese only??
71
{ "zero", new char[0] },
72
73     //{"digits", new char[]{'a','b','c','d','e','f','g','h','i'}},
74
{ "digits",
75       new char[]{ 0x0430, 0x0432, 0x0433, 0x0434, 0x0435, 0x0437, 0x0438,
76                   0x0439, 0x04A9 } },
77     { "tens",
78       new char[]{ 0x0457, 0x043A, 0x043B, 0x043C, 0x043D, 0x046F, 0x043E,
79                   0x043F, 0x0447 } },
80     { "hundreds",
81       new char[]{ 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0470,
82                   0x0460, 0x0446 } },
83     { "tables", new String JavaDoc[]{ "hundreds", "tens", "digits" } }
84   };
85 }
86
Popular Tags