| 
 | PageMixer demonstration with Servlet | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.servlet.LocaleFactory
        |
        +--pagemixer.servlet.CustomLocaleFactory
Custom implementation of "LocaleFactory".
| Fields inherited from interface common.LocaleKeys | 
| KEY_LOCALE_ENTRY, KEY_LOCALE_ENTRY_PROVIDER, KEY_PARAM_LOCALE, KEY_SESSION_LOCALE | 
| Fields inherited from interface common.LocaleConstants | 
| CLASS_LOCALE, CLASS_LOCALE_ENTRY, PARAM_LOCALE, REQUEST_LOCALE_ENTRY, REQUEST_LOCALE_ENTRY_PROVIDER, SESSION_LOCALE | 
| Fields inherited from interface common.ServletKeys | 
| KEY_BASE_HREF | 
| Fields inherited from interface common.ServletConstants | 
| INIT_AUTH_PASSWORD, INIT_AUTH_USERNAME, INIT_PAGE_AUTH, INIT_PAGE_SHOP_BASKET, INIT_PAGE_TOP, REQUEST_BASE_HREF | 
| Constructor Summary | |
| CustomLocaleFactory()Constructor. | |
| Method Summary | |
|  java.util.Locale | create(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)Create Locale. | 
| Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.LocaleFactory | 
| cleanup, setup | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public CustomLocaleFactory()
| Method Detail | 
public java.util.Locale create(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
This implementation examines by steps shown belo:
String" by
 KEY_PARAM_LOCALE
 from context
 Locale" by
 KEY_SESSION_LOCALE
 from context
 Locale"
 from KEY_PARAM_LOCALE value if not null, and
 KEY_SESSION_LOCALE
 into context
 Locale"
 by Locale.getDefault(),
 if both "String"
 and "Locale" are null
 Locale" identified by 
 KEY_SESSION_LOCALE now
 create in class jp.ne.dti.lares.foozy.pagemixer.servlet.LocaleFactorycontext - of request| 
 | PageMixer demonstration with Servlet | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||