org.apache.cocoon.taglib.i18n
Class LocaleTag
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.taglib.TagSupport
org.apache.cocoon.taglib.i18n.LocaleTag
- All Implemented Interfaces:
- Poolable, Recyclable, Component, LogEnabled, Tag
public class LocaleTag
- extends TagSupport
- Version:
- CVS $Id: LocaleTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Volker Schmitt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleTag
public LocaleTag()
getLocale
public Locale getLocale()
getLanguage
public String getLanguage()
setLanguage
public void setLanguage(String language)
getCountry
public String getCountry()
setCountry
public void setCountry(String country)
getVariant
public String getVariant()
setVariant
public void setVariant(String variant)
setLocaleRef
public void setLocaleRef(String value)
- Provides a key to retrieve a locale via findAttribute()
createLocale
protected Locale createLocale()
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class TagSupport
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.