org.apache.xml.utils.res

Class XResourceBundle

Known Direct Subclasses:
XResources_cy, XResources_de, XResources_el, XResources_en, XResources_es, XResources_fr, XResources_he, XResources_hy, XResources_it, XResources_ja_JP_A, XResources_ja_JP_HA, XResources_ja_JP_HI, XResources_ja_JP_I, XResources_ka, XResources_ko, XResources_sv, XResources_zh_CN, XResources_zh_TW

public class XResourceBundle
extends ListResourceBundle

The default (english) resource bundle.

Field Summary

static String
ERROR_RESOURCES
Error resource constants
static String
LANG_ADDITIVE
Error resource constants
static String
LANG_ALPHABET
Error resource constants
static String
LANG_BUNDLE_NAME
Error resource constants
static String
LANG_LEFTTORIGHT
Error resource constants
static String
LANG_MULTIPLIER
Error resource constants
static String
LANG_MULTIPLIER_CHAR
Error resource constants
static String
LANG_MULT_ADD
Error resource constants
static String
LANG_NUMBERGROUPS
Error resource constants
static String
LANG_NUMBERING
Error resource constants
static String
LANG_NUM_TABLES
Error resource constants
static String
LANG_ORIENTATION
Error resource constants
static String
LANG_RIGHTTOLEFT
Error resource constants
static String
LANG_TRAD_ALPHABET
Error resource constants
static String
MULT_FOLLOWS
Error resource constants
static String
MULT_ORDER
Error resource constants
static String
MULT_PRECEDES
Error resource constants
static String
XSLT_RESOURCE
Error resource constants

Method Summary

Object[][]
getContents()
Get the association list.
static XResourceBundle
loadResourceBundle(String className, Locale locale)
Return a named ResourceBundle for a particular locale.

Field Details

ERROR_RESOURCES

public static final String ERROR_RESOURCES
Error resource constants

LANG_ADDITIVE

public static final String LANG_ADDITIVE
Error resource constants

LANG_ALPHABET

public static final String LANG_ALPHABET
Error resource constants

LANG_BUNDLE_NAME

public static final String LANG_BUNDLE_NAME
Error resource constants

LANG_LEFTTORIGHT

public static final String LANG_LEFTTORIGHT
Error resource constants

LANG_MULTIPLIER

public static final String LANG_MULTIPLIER
Error resource constants

LANG_MULTIPLIER_CHAR

public static final String LANG_MULTIPLIER_CHAR
Error resource constants

LANG_MULT_ADD

public static final String LANG_MULT_ADD
Error resource constants

LANG_NUMBERGROUPS

public static final String LANG_NUMBERGROUPS
Error resource constants

LANG_NUMBERING

public static final String LANG_NUMBERING
Error resource constants

LANG_NUM_TABLES

public static final String LANG_NUM_TABLES
Error resource constants

LANG_ORIENTATION

public static final String LANG_ORIENTATION
Error resource constants

LANG_RIGHTTOLEFT

public static final String LANG_RIGHTTOLEFT
Error resource constants

LANG_TRAD_ALPHABET

public static final String LANG_TRAD_ALPHABET
Error resource constants

MULT_FOLLOWS

public static final String MULT_FOLLOWS
Error resource constants

MULT_ORDER

public static final String MULT_ORDER
Error resource constants

MULT_PRECEDES

public static final String MULT_PRECEDES
Error resource constants

XSLT_RESOURCE

public static final String XSLT_RESOURCE
Error resource constants

Method Details

getContents

public Object[][] getContents()
Get the association list.
Returns:
The association list.

loadResourceBundle

public static final XResourceBundle loadResourceBundle(String className,
                                                       Locale locale)
            throws MissingResourceException
Return a named ResourceBundle for a particular locale. This method mimics the behavior of ResourceBundle.getBundle().
Parameters:
className - Name of local-specific subclass.
locale - the locale to prefer when searching for the bundle

Copyright B) 2004 Apache XML Project. All Rights Reserved.