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