PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.struts
Class StrutsLocaleFactory

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.servlet.LocaleFactory
        |
        +--jp.ne.dti.lares.foozy.pagemixer.struts.StrutsLocaleFactory

public class StrutsLocaleFactory
extends LocaleFactory

Factory to create "Locale".

Since:
PageMixer 3.0

Constructor Summary
StrutsLocaleFactory()
          Constructor.
 
Method Summary
 java.util.Locale create(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

StrutsLocaleFactory

public StrutsLocaleFactory()
Constructor.
Method Detail

create

public java.util.Locale create(ConsumerContext context)
Create Locale.

This implementation gets locale by LOCALE_KEY, or returns Locale#getDefault().

Overrides:
create in class LocaleFactory
Parameters:
context - of request
Returns:
locale of response renderring

PageMixer API - 3.1