public class ViewHandlerImpl
extends javax.faces.application.ViewHandler
ViewHandler
Constructor and Description |
---|
ViewHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
calculateLocale(javax.faces.context.FacesContext context) |
java.lang.String |
calculateRenderKitId(javax.faces.context.FacesContext context) |
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext context,
java.lang.String viewId) |
protected java.util.Locale |
findMatch(javax.faces.context.FacesContext context,
java.util.Locale pref)
Attempts to find a matching locale based on
pref and
list of supported locales, using the matching algorithm
as described in JSTL 8.3.2. |
java.lang.String |
getActionURL(javax.faces.context.FacesContext context,
java.lang.String viewId) |
java.lang.String |
getResourceURL(javax.faces.context.FacesContext context,
java.lang.String path) |
void |
renderView(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot viewToRender) |
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
java.lang.String viewId) |
void |
writeState(javax.faces.context.FacesContext context) |
public void renderView(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot viewToRender) throws java.io.IOException, javax.faces.FacesException
renderView
in class javax.faces.application.ViewHandler
java.io.IOException
javax.faces.FacesException
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, java.lang.String viewId)
restoreView
in class javax.faces.application.ViewHandler
public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext context, java.lang.String viewId)
createView
in class javax.faces.application.ViewHandler
public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)
calculateLocale
in class javax.faces.application.ViewHandler
public java.lang.String calculateRenderKitId(javax.faces.context.FacesContext context)
calculateRenderKitId
in class javax.faces.application.ViewHandler
protected java.util.Locale findMatch(javax.faces.context.FacesContext context, java.util.Locale pref)
pref
and
list of supported locales, using the matching algorithm
as described in JSTL 8.3.2.context
- the FacesContext
for the current requestpref
- the preferred localepublic void writeState(javax.faces.context.FacesContext context) throws java.io.IOException
writeState
in class javax.faces.application.ViewHandler
java.io.IOException
public java.lang.String getActionURL(javax.faces.context.FacesContext context, java.lang.String viewId)
getActionURL
in class javax.faces.application.ViewHandler
public java.lang.String getResourceURL(javax.faces.context.FacesContext context, java.lang.String path)
getResourceURL
in class javax.faces.application.ViewHandler
Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.