Uses of Class
jakarta.faces.component.UIViewRoot
-
Uses of UIViewRoot in com.sun.faces.application
Methods in com.sun.faces.application that return UIViewRoot Modifier and Type Method Description UIViewRoot
ViewHandlerImpl. createView(FacesContext context, String viewId)
Deprecated.UIViewRoot
StateManagerImpl. restoreView(FacesContext context, String viewId, String renderKitId)
Restores the view.UIViewRoot
ViewHandlerImpl. restoreView(FacesContext context, String viewId)
Deprecated.Methods in com.sun.faces.application with parameters of type UIViewRoot Modifier and Type Method Description void
ViewHandlerImpl. renderView(FacesContext context, UIViewRoot viewToRender)
Deprecated. -
Uses of UIViewRoot in com.sun.faces.application.view
Methods in com.sun.faces.application.view that return UIViewRoot Modifier and Type Method Description UIViewRoot
ViewMetadataImpl. createMetadataView(FacesContext context)
UIViewRoot
FaceletViewHandlingStrategy. createView(FacesContext ctx, String viewId)
UIViewRoot
MultiViewHandler. createView(FacesContext context, String viewId)
Derive the physical view ID (i.e.UIViewRoot
ViewHandlingStrategy. createView(FacesContext ctx, String viewId)
UIViewRoot
FaceletFullStateManagementStrategy. restoreView(FacesContext context, String viewId, String renderKitId)
Restore the view.UIViewRoot
FaceletPartialStateManagementStrategy. restoreView(FacesContext context, String viewId, String renderKitId)
Restore the view.UIViewRoot
FaceletViewHandlingStrategy. restoreView(FacesContext context, String viewId)
IfUIDebug.debugRequest(jakarta.faces.context.FacesContext)
} istrue
, simply return a new UIViewRoot(), otherwise, call the default logic.UIViewRoot
JspStateManagementStrategy. restoreView(FacesContext context, String viewId, String renderKitId)
Restore the view.UIViewRoot
MultiViewHandler. restoreView(FacesContext context, String viewId)
UIViewRoot
ViewHandlingStrategy. restoreView(FacesContext ctx, String viewId)
Methods in com.sun.faces.application.view with parameters of type UIViewRoot Modifier and Type Method Description void
FaceletViewHandlingStrategy. buildView(FacesContext ctx, UIViewRoot view)
void
JspViewHandlingStrategy. buildView(FacesContext context, UIViewRoot view)
void
ViewScopeContextManager. fireDestroyedEvent(FacesContext facesContext, UIViewRoot root)
void
ViewScopedCDIEventFireHelper. fireDestroyedEvent(UIViewRoot root)
void
ViewScopedCDIEventFireHelperImpl. fireDestroyedEvent(UIViewRoot root)
void
ViewScopeContextManager. fireInitializedEvent(FacesContext facesContext, UIViewRoot root)
void
ViewScopedCDIEventFireHelper. fireInitializedEvent(UIViewRoot root)
void
ViewScopedCDIEventFireHelperImpl. fireInitializedEvent(UIViewRoot root)
void
FaceletViewHandlingStrategy. renderView(FacesContext ctx, UIViewRoot viewToRender)
void
JspViewHandlingStrategy. renderView(FacesContext context, UIViewRoot view)
void
MultiViewHandler. renderView(FacesContext context, UIViewRoot viewToRender)
CallViewDeclarationLanguage.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot)
if the view can be rendered. -
Uses of UIViewRoot in com.sun.faces.config
Methods in com.sun.faces.config that return UIViewRoot Modifier and Type Method Description UIViewRoot
InitFacesContext. getViewRoot()
-
Uses of UIViewRoot in com.sun.faces.config.initfacescontext
Methods in com.sun.faces.config.initfacescontext with parameters of type UIViewRoot Modifier and Type Method Description void
NoOpFacesContext. setViewRoot(UIViewRoot root)
-
Uses of UIViewRoot in com.sun.faces.context
Methods in com.sun.faces.context that return UIViewRoot Modifier and Type Method Description UIViewRoot
FacesContextImpl. getViewRoot()
Methods in com.sun.faces.context with parameters of type UIViewRoot Modifier and Type Method Description void
FacesContextImpl. setViewRoot(UIViewRoot root)
void
StateContext. startTrackViewModifications(FacesContext ctx, UIViewRoot root)
Installs aSystemEventListener
on theUIViewRoot
to track components added to or removed from the view. -
Uses of UIViewRoot in com.sun.faces.facelets.tag.jsf
Methods in com.sun.faces.facelets.tag.jsf that return UIViewRoot Modifier and Type Method Description static UIViewRoot
ComponentSupport. getViewRoot(FaceletContext ctx, UIComponent parent)
Tries to walk up the parent to find the UIViewRoot, if not found, then go to FaceletContext's FacesContext for the view root. -
Uses of UIViewRoot in com.sun.faces.util
Methods in com.sun.faces.util with parameters of type UIViewRoot Modifier and Type Method Description static boolean
Util. isViewPopulated(FacesContext ctx, UIViewRoot viewToRender)
static void
Util. setViewPopulated(FacesContext ctx, UIViewRoot viewToRender)
Flag the specifiedUIViewRoot
as populated. -
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.protected UIViewRoot
StateManager. restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
Deprecated.the distinction between tree structure and component state is now an implementation detail.protected UIViewRoot
StateManagerWrapper. restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
The default behavior of this method is to callStateManager.restoreTreeStructure(jakarta.faces.context.FacesContext, String, String)
on the wrappedStateManager
object.abstract UIViewRoot
StateManager. restoreView(FacesContext context, String viewId, String renderKitId)
Deprecated.UIViewRoot
StateManagerWrapper. restoreView(FacesContext context, String viewId, String renderKitId)
The default behavior of this method is to callStateManager.restoreView(jakarta.faces.context.FacesContext, String, String)
on the wrappedStateManager
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.protected void
StateManager. restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
Deprecated.the distinction between tree structure and component state is now an implementation detail.protected void
StateManagerWrapper. restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
The default behavior of this method is to callStateManager.restoreComponentState(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot, String)
on the wrappedStateManager
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)