Package org.apache.xml.utils.res
Class XResourceBundle
java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle
org.apache.xml.utils.res.XResourceBundle
- Direct Known 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control -
Field Summary
Fields Modifier and Type Field Description static StringERROR_RESOURCESError resource constantsstatic StringLANG_ADDITIVEError resource constantsstatic StringLANG_ALPHABETError resource constantsstatic StringLANG_BUNDLE_NAMEError resource constantsstatic StringLANG_LEFTTORIGHTError resource constantsstatic StringLANG_MULT_ADDError resource constantsstatic StringLANG_MULTIPLIERError resource constantsstatic StringLANG_MULTIPLIER_CHARError resource constantsstatic StringLANG_NUM_TABLESError resource constantsstatic StringLANG_NUMBERGROUPSError resource constantsstatic StringLANG_NUMBERINGError resource constantsstatic StringLANG_ORIENTATIONError resource constantsstatic StringLANG_RIGHTTOLEFTError resource constantsstatic StringLANG_TRAD_ALPHABETError resource constantsstatic StringMULT_FOLLOWSError resource constantsstatic StringMULT_ORDERError resource constantsstatic StringMULT_PRECEDESError resource constantsstatic StringXSLT_RESOURCEError resource constantsFields inherited from class java.util.ResourceBundle
parent -
Constructor Summary
Constructors Constructor Description XResourceBundle() -
Method Summary
Modifier and Type Method Description Object[][]getContents()Get the association list.static XResourceBundleloadResourceBundle(String className, Locale locale)Return a named ResourceBundle for a particular locale.Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject, handleKeySetMethods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
-
Field Details
-
ERROR_RESOURCES
Error resource constants- See Also:
- Constant Field Values
-
XSLT_RESOURCE
Error resource constants- See Also:
- Constant Field Values
-
LANG_BUNDLE_NAME
Error resource constants- See Also:
- Constant Field Values
-
MULT_ORDER
Error resource constants- See Also:
- Constant Field Values
-
MULT_PRECEDES
Error resource constants- See Also:
- Constant Field Values
-
MULT_FOLLOWS
Error resource constants- See Also:
- Constant Field Values
-
LANG_ORIENTATION
Error resource constants- See Also:
- Constant Field Values
-
LANG_RIGHTTOLEFT
Error resource constants- See Also:
- Constant Field Values
-
LANG_LEFTTORIGHT
Error resource constants- See Also:
- Constant Field Values
-
LANG_NUMBERING
Error resource constants- See Also:
- Constant Field Values
-
LANG_ADDITIVE
Error resource constants- See Also:
- Constant Field Values
-
LANG_MULT_ADD
Error resource constants- See Also:
- Constant Field Values
-
LANG_MULTIPLIER
Error resource constants- See Also:
- Constant Field Values
-
LANG_MULTIPLIER_CHAR
Error resource constants- See Also:
- Constant Field Values
-
LANG_NUMBERGROUPS
Error resource constants- See Also:
- Constant Field Values
-
LANG_NUM_TABLES
Error resource constants- See Also:
- Constant Field Values
-
LANG_ALPHABET
Error resource constants- See Also:
- Constant Field Values
-
LANG_TRAD_ALPHABET
Error resource constants- See Also:
- Constant Field Values
-
-
Constructor Details
-
XResourceBundle
public XResourceBundle()
-
-
Method Details
-
loadResourceBundle
public static final XResourceBundle loadResourceBundle(String className, Locale locale) throws MissingResourceExceptionReturn 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- Throws:
MissingResourceException
-
getContents
Get the association list.- Specified by:
getContentsin classListResourceBundle- Returns:
- The association list.
-