org.jboss.seam.faces.international
Class FacesLocaleResolver

java.lang.Object
  extended by org.jboss.seam.faces.international.FacesLocaleResolver

public class FacesLocaleResolver
extends java.lang.Object

A specialized version of the LocaleProducer that returns the Locale associated with the current UIViewRoot or, if the UIViewRoot has not been established, uses the ViewHandler to calculate the Locale.

Author:
Dan Allen

Constructor Summary
FacesLocaleResolver()
           
 
Method Summary
 java.util.Locale getLocale()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesLocaleResolver

public FacesLocaleResolver()
Method Detail

isActive

public boolean isActive()

getLocale

@Produces
public java.util.Locale getLocale()


Copyright © 2009-2011 Seam Framework. All Rights Reserved.