001: /*
002: * Copyright 1999-2004 The Apache Software Foundation.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: /*
017: * $Id: XResources_ja_JP_I.java,v 1.9 2004/12/15 17:35:53 jycli Exp $
018: */
019: package org.apache.xml.utils.res;
020:
021: //
022: // LangResources_en.properties
023: //
024:
025: /**
026: * The Japanese (Katakana) resource bundle.
027: * @xsl.usage internal
028: */
029: public class XResources_ja_JP_I extends XResourceBundle {
030:
031: /**
032: * Get the association table for this resource.
033: *
034: *
035: * @return the association table for this resource.
036: */
037: public Object[][] getContents() {
038: return new Object[][] {
039: { "ui_language", "ja" },
040: { "help_language", "ja" },
041: { "language", "ja" },
042: {
043: "alphabet",
044: new CharArrayWrapper(new char[] { 0x30a4,
045: 0x30ed, 0x30cf, 0x30cb, 0x30db, 0x30d8,
046: 0x30c8, 0x30c1, 0x30ea, 0x30cc, 0x30eb,
047: 0x30f2, 0x30ef, 0x30ab, 0x30e8, 0x30bf,
048: 0x30ec, 0x30bd, 0x30c4, 0x30cd, 0x30ca,
049: 0x30e9, 0x30e0, 0x30a6, 0x30f0, 0x30ce,
050: 0x30aa, 0x30af, 0x30e4, 0x30de, 0x30b1,
051: 0x30d5, 0x30b3, 0x30a8, 0x30c6, 0x30a2,
052: 0x30b5, 0x30ad, 0x30e6, 0x30e1, 0x30df,
053: 0x30b7, 0x30f1, 0x30d2, 0x30e2, 0x30bb,
054: 0x30b9 }) },
055: {
056: "tradAlphabet",
057: new CharArrayWrapper(
058: new char[] { 'A', 'B', 'C', 'D', 'E',
059: 'F', 'G', 'H', 'I', 'J', 'K',
060: 'L', 'M', 'N', 'O', 'P', 'Q',
061: 'R', 'S', 'T', 'U', 'V', 'W',
062: 'X', 'Y', 'Z' }) },
063:
064: //language orientation
065: { "orientation", "LeftToRight" },
066:
067: //language numbering
068: { "numbering", "multiplicative-additive" },
069: { "multiplierOrder", "follows" },
070:
071: // largest numerical value
072: //{"MaxNumericalValue", new Integer(10000000000)},
073: //These would not be used for EN. Only used for traditional numbering
074: { "numberGroups", new IntArrayWrapper(new int[] { 1 }) },
075:
076: //These only used for mutiplicative-additive numbering
077: // Note that we are using longs and that the last two
078: // multipliers are not supported. This is a known limitation.
079: {
080: "multiplier",
081: new LongArrayWrapper(new long[] {
082: Long.MAX_VALUE, Long.MAX_VALUE,
083: 100000000, 10000, 1000, 100, 10 }) },
084: {
085: "multiplierChar",
086: new CharArrayWrapper(new char[] { 0x4EAC,
087: 0x5146, 0x5104, 0x4E07, 0x5343, 0x767e,
088: 0x5341 }) },
089:
090: // chinese only??
091: { "zero", new CharArrayWrapper(new char[0]) },
092: {
093: "digits",
094: new CharArrayWrapper(new char[] { 0x4E00,
095: 0x4E8C, 0x4E09, 0x56DB, 0x4E94, 0x516D,
096: 0x4E03, 0x516B, 0x4E5D }) },
097: {
098: "tables",
099: new StringArrayWrapper(
100: new String[] { "digits" }) } };
101: }
102: }
|