java.lang.Object
jakarta.faces.view.ViewDeclarationLanguage
com.sun.faces.application.view.ViewHandlingStrategy
- Direct Known Subclasses:
FaceletViewHandlingStrategy
This represents how a particular page description language is to be rendered/restored.
-
Field Summary
FieldsFields inherited from class jakarta.faces.view.ViewDeclarationLanguage
FACELETS_VIEW_DECLARATION_LANGUAGE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateView(FacesContext ctx, String viewId) Create aUIViewRootfrom the VDL contained in the artifact referenced by the argumentviewId.abstract booleanhandlesViewId(String viewId) restoreView(FacesContext ctx, String viewId) Restore aUIViewRootfrom a previously created view.Methods inherited from class jakarta.faces.view.ViewDeclarationLanguage
buildView, calculateResourceLibraryContracts, createComponent, getComponentMetadata, getId, getScriptComponentResource, getStateManagementStrategy, getViewMetadata, getViews, getViews, renderView, retargetAttachedObjects, retargetMethodExpressions, viewExists
-
Field Details
-
associate
-
webConfig
-
-
Constructor Details
-
ViewHandlingStrategy
public ViewHandlingStrategy()
-
-
Method Details
-
restoreView
Description copied from class:ViewDeclarationLanguageRestore a
UIViewRootfrom a previously created view. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.- Specified by:
restoreViewin classViewDeclarationLanguage- Parameters:
ctx- theFacesContextfor this request.viewId- the identifier for a previously rendered view.- Returns:
- the restored view
- See Also:
-
createView
Description copied from class:ViewDeclarationLanguageCreate a
UIViewRootfrom the VDL contained in the artifact referenced by the argumentviewId. See section 7.7.2"Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.- Specified by:
createViewin classViewDeclarationLanguage- Parameters:
ctx- theFacesContextfor this request.viewId- the identifier of an artifact that contains the VDL syntax that describes this view.- Returns:
- the newly created view root
- See Also:
-
handlesViewId
- Parameters:
viewId- the view ID- Returns:
trueif thisViewHandlingStrategyhandles the the view type represented byviewId
-