Uses of Class
jakarta.faces.component.UIViewRoot
Package
Description
-
Uses of UIViewRoot in jakarta.faces.application
Modifier and TypeMethodDescriptionabstract UIViewRoot
ViewHandler.createView
(FacesContext context, String viewId) Create and return a newUIViewRoot
instance initialized with information from the argumentFacesContext
andviewId
.ViewHandlerWrapper.createView
(FacesContext context, String viewId) The default behavior of this method is to callViewHandler.createView(jakarta.faces.context.FacesContext, String)
on the wrappedViewHandler
object.abstract UIViewRoot
ViewHandler.restoreView
(FacesContext context, String viewId) Perform whatever actions are required to restore the view associated with the specifiedFacesContext
andviewId
.ViewHandlerWrapper.restoreView
(FacesContext context, String viewId) The default behavior of this method is to callViewHandler.restoreView(jakarta.faces.context.FacesContext, String)
on the wrappedViewHandler
object.Modifier and TypeMethodDescriptionabstract void
ViewHandler.renderView
(FacesContext context, UIViewRoot viewToRender) Perform whatever actions are required to render the response view to the response object associated with the currentFacesContext
.void
ViewHandlerWrapper.renderView
(FacesContext context, UIViewRoot viewToRender) The default behavior of this method is to callViewHandler.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot)
on the wrappedViewHandler
object. -
Uses of UIViewRoot in jakarta.faces.context
Modifier and TypeMethodDescriptionabstract UIViewRoot
FacesContext.getViewRoot()
Return the root component that is associated with the this request.FacesContextWrapper.getViewRoot()
The default behavior of this method is to callFacesContext.getViewRoot()
on the wrappedFacesContext
object.Modifier and TypeMethodDescriptionabstract void
FacesContext.setViewRoot
(UIViewRoot root) Set the root component that is associated with this request.void
FacesContextWrapper.setViewRoot
(UIViewRoot root) The default behavior of this method is to callFacesContext.setViewRoot(UIViewRoot)
on the wrappedFacesContext
object. -
Uses of UIViewRoot in jakarta.faces.event
ModifierConstructorDescriptionInstantiate a newPostConstructViewMapEvent
that indicates the argumentroot
was just associated with its view map.PostConstructViewMapEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newPostConstructViewMapEvent
that indicates the argumentroot
was just associated with its view map.Instantiate a newPostRenderViewEvent
that indicates the argumentroot
has just been rendered.PostRenderViewEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newPostRenderViewEvent
that indicates the argumentroot
has just been rendered.Instantiate a newViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.PreDestroyViewMapEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.PreRenderViewEvent
(UIViewRoot root) Instantiate a newPreRenderViewEvent
that indicates the argumentroot
is about to be rendered.PreRenderViewEvent
(FacesContext facesContext, UIViewRoot root) Instantiate a newPreRenderViewEvent
that indicates the argumentroot
is about to be rendered. -
Uses of UIViewRoot in jakarta.faces.view
Modifier and TypeMethodDescriptionabstract UIViewRoot
ViewMetadata.createMetadataView
(FacesContext context) Creates a newUIViewRoot
containing only view parameter metadata.abstract UIViewRoot
ViewDeclarationLanguage.createView
(FacesContext context, String viewId) Create aUIViewRoot
from the VDL contained in the artifact referenced by the argumentviewId
.ViewDeclarationLanguageWrapper.createView
(FacesContext context, String viewId) abstract UIViewRoot
StateManagementStrategy.restoreView
(FacesContext context, String viewId, String renderKitId) Restore the state of the view with information in the request.abstract UIViewRoot
ViewDeclarationLanguage.restoreView
(FacesContext context, String viewId) Restore aUIViewRoot
from a previously created view.ViewDeclarationLanguageWrapper.restoreView
(FacesContext context, String viewId) Modifier and TypeMethodDescriptionabstract void
ViewDeclarationLanguage.buildView
(FacesContext context, UIViewRoot root) Take any actions specific to this VDL implementation to cause the argumentUIViewRoot
which must have been created via a call toViewDeclarationLanguage.createView(jakarta.faces.context.FacesContext, java.lang.String)
, to be populated with children.void
ViewDeclarationLanguageWrapper.buildView
(FacesContext context, UIViewRoot root) static Collection
<UIImportConstants> ViewMetadata.getImportConstants
(UIViewRoot root) Utility method to extract view metadata from the providedUIViewRoot
.static Collection
<UIViewAction> ViewMetadata.getViewActions
(UIViewRoot root) Utility method to extract view metadata from the providedUIViewRoot
.static Collection
<UIViewParameter> ViewMetadata.getViewParameters
(UIViewRoot root) Utility method to extract view metadata from the providedUIViewRoot
.static boolean
ViewMetadata.hasMetadata
(UIViewRoot root) Utility method to determine if the the providedUIViewRoot
has metadata.abstract void
ViewDeclarationLanguage.renderView
(FacesContext context, UIViewRoot view) Render a view rooted at argumentview
.void
ViewDeclarationLanguageWrapper.renderView
(FacesContext context, UIViewRoot view)