KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xml > internal > utils > res > XResources_ko


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

19 package com.sun.org.apache.xml.internal.utils.res;
20
21 //
22
// LangResources_ko.properties
23
//
24

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

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

37   protected Object JavaDoc[][] getContents() {
38       // return a copy of contents; in theory we want a deep clone
39
// of contents, but since it only contains (immutable) Strings,
40
// this shallow copy is sufficient
41
Object JavaDoc[][] msgCopy = new Object JavaDoc[contents.length][2];
42       for (int i = 0; i < contents.length; i++) {
43           msgCopy[i][0] = contents[i][0];
44           msgCopy[i][1] = contents[i][1];
45       }
46       return msgCopy;
47   }
48
49   /** The association list. */
50   static final Object JavaDoc[][] contents =
51   {
52     { "ui_language", "ko" }, { "help_language", "ko" }, { "language", "ko" },
53     { "alphabet",
54       new char[]{ 0x3131, 0x3134, 0x3137, 0x3139, 0x3141, 0x3142, 0x3145, 0x3147, 0x3148, 0x314a, 0x314b, 0x314c,
55                   0x314d, 0x314e, 0x314f, 0x3151, 0x3153, 0x3155, 0x3157, 0x315b, 0x315c, 0x3160, 0x3161, 0x3163}},
56     { "tradAlphabet",
57       new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
58                   'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
59                   'Y', 'Z' } },
60
61     //language orientation
62
{ "orientation", "LeftToRight" },
63
64     //language numbering
65
{ "numbering", "multiplicative-additive" },
66     { "multiplierOrder", "follows" },
67
68     // largest numerical value
69
//{"MaxNumericalValue", new Integer(100000000)},
70
//These would not be used for EN. Only used for traditional numbering
71
{ "numberGroups", new int[]{ 1 } },
72
73     // chinese only ??
74
{ "zero", new char[0] },
75
76     //These only used for mutiplicative-additive numbering
77
{ "multiplier", new int[]{ 100000000, 10000, 1000, 100, 10 } },
78     { "multiplierChar",
79       new char[]{ 0xc5b5, 0xb9cc, 0xcc9c, 0xbc31, 0xc2ed } },
80     { "digits",
81       new char[]{ 0xc77c, 0xc774, 0xc0bc, 0xc0ac, 0xc624, 0xc721, 0xce60, 0xd314, 0xad6c
82                    } }, { "tables", new String JavaDoc[]{ "digits" } }
83   };
84 }
85
Popular Tags