org.apache.batik.i18n

Interface ExtendedLocalizable

public interface ExtendedLocalizable extends Localizable

This interface provides much more control over internationalization than the Localizable interface.
Method Summary
LocalegetDefaultLocale()
Gets the current default locale in the LocaleGroup.
LocaleGroupgetLocaleGroup()
Returns the group to which this object belongs.
ResourceBundlegetResourceBundle()
Returns the current resource bundle.
voidsetDefaultLocale(Locale l)
Sets the default locale for all the instances of this class in the same LocaleGroup.
voidsetLocaleGroup(LocaleGroup lg)
Sets the group to which this object belongs.

Method Detail

getDefaultLocale

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

getLocaleGroup

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

getResourceBundle

public 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.

setDefaultLocale

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

setLocaleGroup

public void setLocaleGroup(LocaleGroup lg)
Sets the group to which this object belongs.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.