com.opensymphony.xwork2.validator
Class DelegatingValidatorContext.ActionContextLocaleProvider

java.lang.Object
  extended by com.opensymphony.xwork2.validator.DelegatingValidatorContext.ActionContextLocaleProvider
All Implemented Interfaces:
LocaleProvider
Enclosing class:
DelegatingValidatorContext

private static class DelegatingValidatorContext.ActionContextLocaleProvider
extends Object
implements LocaleProvider

An implementation of LocaleProvider which gets the locale from the action context.


Constructor Summary
private DelegatingValidatorContext.ActionContextLocaleProvider()
           
 
Method Summary
 Locale getLocale()
          Gets the provided locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingValidatorContext.ActionContextLocaleProvider

private DelegatingValidatorContext.ActionContextLocaleProvider()
Method Detail

getLocale

public Locale getLocale()
Description copied from interface: LocaleProvider
Gets the provided locale.

Specified by:
getLocale in interface LocaleProvider
Returns:
the locale.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.