org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs
Class LocaleInfoScriptlet
java.lang.Object
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LibraryScriptlet
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LocaleInfoScriptlet
public class LocaleInfoScriptlet
- extends LibraryScriptlet
Scriptlet for registering locale information.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/xhtml/jsLibs/LocaleInfoScriptlet.java#0 $) $Date: 10-nov-2005.19:02:47 $
|
Method Summary |
protected java.lang.String |
getExtraParameters(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
|
protected java.util.Locale |
getFormattingLocale(org.apache.myfaces.trinidad.context.RenderingContext rc)
|
protected java.lang.String |
getLibraryName(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
|
java.lang.String |
getSupportedLocaleVariant(org.apache.myfaces.trinidad.context.RenderingContext arc)
Returns the locale variant type to use when formatting dates. |
protected void |
outputScriptletImpl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
Outputs the scriptlet. |
static Scriptlet |
sharedInstance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALE_INFO_KEY
public static final java.lang.String LOCALE_INFO_KEY
- See Also:
- Constant Field Values
LocaleInfoScriptlet
public LocaleInfoScriptlet()
sharedInstance
public static Scriptlet sharedInstance()
outputScriptletImpl
protected void outputScriptletImpl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
- Description copied from class:
Scriptlet
- Outputs the scriptlet.
- Overrides:
outputScriptletImpl in class LibraryScriptlet
- Throws:
java.io.IOException
getLibraryName
protected java.lang.String getLibraryName(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
- Overrides:
getLibraryName in class LibraryScriptlet
getExtraParameters
protected java.lang.String getExtraParameters(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
- Overrides:
getExtraParameters in class LibraryScriptlet
getFormattingLocale
protected java.util.Locale getFormattingLocale(org.apache.myfaces.trinidad.context.RenderingContext rc)
getSupportedLocaleVariant
public java.lang.String getSupportedLocaleVariant(org.apache.myfaces.trinidad.context.RenderingContext arc)
- Returns the locale variant type to use when formatting dates. The locale
variant is a configuration parameter. It defaults to Java style locale
data, but it can be set to a variant Locale (e.g. 'ORACLE10G' or
'ORACLE9I') in which case the appropriate data should be used.
Currently, the only Locale variant supported is 'ORACLE10G'.
- Parameters:
context - The current RenderingContext.
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.