KickJava   Java API By Example, From Geeks To Geeks.

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


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_zh_CN.java,v 1.8 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 Chinese resource bundle.
27  * @xsl.usage internal
28  */

29 public class XResources_zh_CN 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", "zh" }, { "help_language", "zh" }, { "language", "zh" },
46     { "alphabet",
47       new char[]{ 0xff21, 0xff22, 0xff23, 0xff24, 0xff25, 0xff26, 0xff27,
48                   0xff28, 0xff29, 0xff2a, 0xff2b, 0xff2c, 0xff2d, 0xff2e,
49                   0xff2f, 0xff30, 0xff31, 0xff32, 0xff33, 0xff34, 0xff35,
50                   0xff36, 0xff37, 0xff38, 0xff39, 0xff3a } },
51     { "tradAlphabet",
52       new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
53                   'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
54                   'Y', 'Z' } },
55
56     //language orientation
57
{ "orientation", "LeftToRight" },
58
59     //language numbering
60
{ "numbering", "multiplicative-additive" },
61     { "multiplierOrder", "follows" },
62
63     // largest numerical value
64
//{"MaxNumericalValue", new Integer(100000000)},
65
//These would not be used for EN. Only used for traditional numbering
66
{ "numberGroups", new int[]{ 1 } },
67
68     // simplified chinese
69
{ "zero", new char[]{ 0x96f6 } },
70
71     //These only used for mutiplicative-additive numbering
72
{ "multiplier", new long[]{ 100000000, 10000, 1000, 100, 10 } },
73     { "multiplierChar",
74       new char[]{ 0x4ebf, 0x4e07, 0x5343, 0x767e, 0x5341 } },
75     { "digits",
76       new char[]{ 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94, 0x516d, 0x4e03,
77                   0x516b, 0x4e5d } }, { "tables", new String JavaDoc[]{ "digits" } }
78   };
79 }
80
Popular Tags