Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.util.i18n
Class LocaleGroup

    java.lang.Object
      org.apache.xmlgraphics.util.i18n.LocaleGroup

    public class LocaleGroup

extends java.lang.Object

This class represents a group of ExtendedLocalizable objects which have a shared default locale.

Version:
  $Id: LocaleGroup.java 1732018 2016-02-24 04:51:06Z gadams $ Originally authored by Stephane Hillion.

Field Summary
`static LocaleGroup` | `DEFAULT` The default group.
`protected java.util.Locale` | `locale` The shared Locale.

Constructor Summary
`LocaleGroup()`

Method Summary
`java.util.Locale` | `getLocale()` Gets the current default locale in this group, or null.
`void` | `setLocale(java.util.Locale l)` Sets the default locale for all the instances of ExtendedLocalizable in this group.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DEFAULT

    public static final LocaleGroup DEFAULT

  The default group.

### locale

    protected java.util.Locale locale

  The shared Locale.

Constructor Detail

### LocaleGroup

    public LocaleGroup()

Method Detail

### setLocale

    public void setLocale(java.util.Locale l)

  Sets the default locale for all the instances of ExtendedLocalizable in this group.

### getLocale

    public java.util.Locale getLocale()

  Gets the current default locale in this group, or null.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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