xmlgraphics-commons 1.0

org.apache.xmlgraphics.util.i18n
Interface ExtendedLocalizable

All Superinterfaces:
Localizable

public interface ExtendedLocalizable
extends Localizable

This interface provides much more control over internationalization than the Localizable interface.

Version:
$Id: ExtendedLocalizable.java 381133 2006-02-26 18:12:43Z jeremias $
Author:
Stephane Hillion

Method Summary
 java.util.Locale getDefaultLocale()
          Gets the current default locale in the LocaleGroup.
 LocaleGroup getLocaleGroup()
          Returns the group to which this object belongs.
 java.util.ResourceBundle getResourceBundle()
          Returns the current resource bundle.
 void setDefaultLocale(java.util.Locale l)
          Sets the default locale for all the instances of this class in the same LocaleGroup.
 void setLocaleGroup(LocaleGroup lg)
          Sets the group to which this object belongs.
 
Methods inherited from interface org.apache.xmlgraphics.util.i18n.Localizable
formatMessage, getLocale, setLocale
 

Method Detail

setLocaleGroup

public void setLocaleGroup(LocaleGroup lg)
Sets the group to which this object belongs.


getLocaleGroup

public LocaleGroup getLocaleGroup()
Returns the group to which this object belongs.


setDefaultLocale

public void setDefaultLocale(java.util.Locale l)
Sets the default locale for all the instances of this class in the same LocaleGroup.


getDefaultLocale

public java.util.Locale getDefaultLocale()
Gets the current default locale in the LocaleGroup.


getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns the current resource bundle. Getting this object gives access to the keys in the bundle, raw string resources, arrays of raw string resources and object resources.


xmlgraphics-commons 1.0

Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.