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, viewExistsprotected ApplicationAssociate associate
protected WebConfiguration webConfig
public UIViewRoot restoreView(FacesContext ctx, String viewId)
ViewDeclarationLanguageRestore a UIViewRoot
from a previously created view. See section JSF.7.7.2 for the
specification of the default implementation.
restoreView in class ViewDeclarationLanguagectx - 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)
ViewDeclarationLanguageCreate
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 ViewDeclarationLanguagectx - 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 viewIdCopyright © 1997–2019 Eclipse Foundation. All rights reserved.