public abstract class ViewHandlingStrategy extends ViewDeclarationLanguage
This represents how a particular page description language is to be rendered/restored.
Modifier and Type | Field and Description |
---|---|
protected ApplicationAssociate |
associate |
protected WebConfiguration |
webConfig |
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID
Constructor and Description |
---|
ViewHandlingStrategy() |
Modifier and Type | Method and Description |
---|---|
UIViewRoot |
createView(FacesContext ctx,
String viewId)
Create
a |
abstract boolean |
handlesViewId(String viewId) |
UIViewRoot |
restoreView(FacesContext ctx,
String viewId)
Restore a |
buildView, calculateResourceLibraryContracts, createComponent, getComponentMetadata, getId, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, getViews, getViews, renderView, retargetAttachedObjects, retargetMethodExpressions, viewExists
protected ApplicationAssociate associate
protected WebConfiguration webConfig
public UIViewRoot restoreView(FacesContext ctx, String viewId)
ViewDeclarationLanguage
Restore a UIViewRoot
from a previously created view. See section JSF.7.7.2 for the
specification of the default implementation.
restoreView
in class ViewDeclarationLanguage
ctx
- the FacesContext
for this request.viewId
- the identifier for a previously rendered view.ViewDeclarationLanguage.restoreView(javax.faces.context.FacesContext, String)
public UIViewRoot createView(FacesContext ctx, String viewId)
ViewDeclarationLanguage
Create
a UIViewRoot
from the VDL contained in the artifact referenced by the argument
viewId
. See section JSF.7.7.2 for the specification of
the default implementation.
createView
in class ViewDeclarationLanguage
ctx
- the FacesContext
for this request.viewId
- the identifier of an artifact that contains the VDL
syntax that describes this view.ViewDeclarationLanguage.createView(javax.faces.context.FacesContext, String)
public abstract boolean handlesViewId(String viewId)
viewId
- the view IDtrue
if this ViewHandlingStrategy
handles the the view type represented by viewId
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.