Oracle® Database Globalization Development Kit Java API Reference
10g Release 2 (10.2)

Part No. B14224-02

oracle.i18n.servlet.localesource
Class ApplicationDefault

java.lang.Object
  |
  +--oracle.i18n.servlet.localesource.LocaleSource
        |
        +--oracle.i18n.servlet.localesource.ApplicationDefault
All Implemented Interfaces:
Serializable

public class ApplicationDefault
extends LocaleSource

The ApplicationDefault class is the default locale source class that represents the default locale and attributes used in the application. If in the GDK configuration file, no locale determination rules are defined or if they are defined but not available, this class acts as the default locale source. The default locale source does not need to be explicitly declared, since it is implicitly understood to be the default. Additionally, the default locale value for the ApplicationDefault locale source can be overridden in the GDK configuration via the use of the default attribute of the locale tag. In the example below the default application locale value is begin set to the Chinese locale:

  <application-locales>
      <locale>de-CH</locale>
      <locale>en-US</locale>
      <locale default="yes">zh-CN</locale>
  </application-locales>
 

All data in this object is filled by the ApplicationContext class during the initialization process. The values cannot be changed until the application is shut down. Default Caching : This locale source is cached in the ApplicationContext by default.

Since:
10.1.0.2
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class oracle.i18n.servlet.localesource.LocaleSource
LocaleSource.Alignment, LocaleSource.Parameter, LocaleSource.WritingDirection
 
Methods inherited from class oracle.i18n.servlet.localesource.LocaleSource
equals, getAttribute, getCharacterSet, getCollator, getCurrencyFormat, getDateFormat, getDateTimeFormat, getISOCurrency, getLocale, getLocaleSourceClass, getNumberFormat, getTimeFormat, getTimeZone, getWritingDirection, hashCode, isCached, isReadOnly, load, setAttribute, setCharacterSet, setCollator, setCurrencyFormat, setDateFormat, setDateTimeFormat, setISOCurrency, setLocale, setLocale, setLocaleSourceClass, setNumberFormat, setTimeFormat, setTimeZone, setWritingDirection, store
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 


Oracle® Database Globalization Development Kit Java API Reference
10g Release 2 (10.2)

Part No. B14224-02

Copyright © 2003, 2005, Oracle. All rights reserved.