Uses of Class
jakarta.faces.component.UIViewRoot
-
Packages that use UIViewRoot Package Description jakarta.faces.application jakarta.faces.context jakarta.faces.event jakarta.faces.view -
-
Uses of UIViewRoot in jakarta.faces.application
Methods in jakarta.faces.application that return UIViewRoot Modifier and Type Method Description abstract UIViewRoot
ViewHandler. createView(FacesContext context, String viewId)
Create and return a newUIViewRoot
instance initialized with information from the argumentFacesContext
andviewId
.UIViewRoot
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
.UIViewRoot
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.Methods in jakarta.faces.application with parameters of type UIViewRoot Modifier and Type Method Description abstract 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
Methods in jakarta.faces.context that return UIViewRoot Modifier and Type Method Description abstract UIViewRoot
FacesContext. getViewRoot()
Return the root component that is associated with the this request.UIViewRoot
FacesContextWrapper. getViewRoot()
The default behavior of this method is to callFacesContext.getViewRoot()
on the wrappedFacesContext
object.Methods in jakarta.faces.context with parameters of type UIViewRoot Modifier and Type Method Description abstract 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
Constructors in jakarta.faces.event with parameters of type UIViewRoot Constructor Description PostConstructViewMapEvent(UIViewRoot root)
Instantiate 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.PostRenderViewEvent(UIViewRoot root)
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.PreDestroyViewMapEvent(UIViewRoot root)
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
Methods in jakarta.faces.view that return UIViewRoot Modifier and Type Method Description abstract 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
.UIViewRoot
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.UIViewRoot
ViewDeclarationLanguageWrapper. restoreView(FacesContext context, String viewId)
Methods in jakarta.faces.view with parameters of type UIViewRoot Modifier and Type Method Description abstract 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)
-