public abstract class ViewHandlingStrategy
extends jakarta.faces.view.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 |
| Constructor and Description |
|---|
ViewHandlingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.component.UIViewRoot |
createView(jakarta.faces.context.FacesContext ctx,
String viewId)
Create a |
abstract boolean |
handlesViewId(String viewId) |
jakarta.faces.component.UIViewRoot |
restoreView(jakarta.faces.context.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 jakarta.faces.component.UIViewRoot restoreView(jakarta.faces.context.FacesContext ctx,
String viewId)
jakarta.faces.view.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 jakarta.faces.view.ViewDeclarationLanguagectx - the FacesContext for this request.viewId - the identifier for a previously rendered view.ViewDeclarationLanguage.restoreView(jakarta.faces.context.FacesContext, String)public jakarta.faces.component.UIViewRoot createView(jakarta.faces.context.FacesContext ctx,
String viewId)
jakarta.faces.view.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 jakarta.faces.view.ViewDeclarationLanguagectx - the FacesContext for this request.viewId - the identifier of an artifact that contains the VDL syntax that describes this view.ViewDeclarationLanguage.createView(jakarta.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 © 2010–2022 JBoss by Red Hat. All rights reserved.