public abstract class ViewHandlingStrategy
extends javax.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 |
|---|---|
javax.faces.component.UIViewRoot |
createView(javax.faces.context.FacesContext ctx,
String viewId)
Create
a |
abstract boolean |
handlesViewId(String viewId) |
javax.faces.component.UIViewRoot |
restoreView(javax.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 javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext ctx,
String viewId)
javax.faces.view.ViewDeclarationLanguageRestore a UIViewRoot
from a previously created view. See section JSF.7.7.2 for the
specification of the default implementation.
restoreView in class javax.faces.view.ViewDeclarationLanguagectx - the FacesContext for this request.viewId - the identifier for a previously rendered view.ViewDeclarationLanguage.restoreView(javax.faces.context.FacesContext, String)public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext ctx,
String viewId)
javax.faces.view.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 javax.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(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 © 2010–2018 JBoss by Red Hat. All rights reserved.