| Package | Description |
|---|---|
| com.sun.faces.application | |
| com.sun.faces.application.view | |
| com.sun.faces.config | |
| com.sun.faces.config.initfacescontext | |
| com.sun.faces.context | |
| com.sun.faces.facelets.tag.jsf | |
| com.sun.faces.util | |
| javax.faces.application |
APIs that are used to link an application's
business logic objects to JavaServer Faces, as well as convenient
pluggable mechanisms to manage the execution of an application that is
based on JavaServer Faces.
|
| javax.faces.context |
Classes and interfaces
defining per-request state information.
|
| javax.faces.event |
Interfaces describing
events and event listeners, and concrete event implementation classes.
|
| javax.faces.view |
Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces. |
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
ViewHandlerImpl.createView(FacesContext context,
String viewId)
Deprecated.
|
UIViewRoot |
ViewHandlerImpl.restoreView(FacesContext context,
String viewId)
Deprecated.
|
UIViewRoot |
StateManagerImpl.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restores the view.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ViewHandlerImpl.renderView(FacesContext context,
UIViewRoot viewToRender)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
ViewMetadataImpl.createMetadataView(FacesContext context) |
UIViewRoot |
ViewHandlingStrategy.createView(FacesContext ctx,
String viewId) |
UIViewRoot |
MultiViewHandler.createView(FacesContext context,
String viewId)
Derive the physical view ID (i.e.
|
UIViewRoot |
FaceletViewHandlingStrategy.createView(FacesContext ctx,
String viewId) |
UIViewRoot |
ViewHandlingStrategy.restoreView(FacesContext ctx,
String viewId) |
UIViewRoot |
MultiViewHandler.restoreView(FacesContext context,
String viewId)
|
UIViewRoot |
FaceletViewHandlingStrategy.restoreView(FacesContext context,
String viewId)
If
UIDebug.debugRequest(javax.faces.context.FacesContext)} is true,
simply return a new UIViewRoot(), otherwise, call the default logic. |
UIViewRoot |
JspStateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the view.
|
UIViewRoot |
FaceletPartialStateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the view.
|
UIViewRoot |
FaceletFullStateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the view.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JspViewHandlingStrategy.buildView(FacesContext context,
UIViewRoot view) |
void |
FaceletViewHandlingStrategy.buildView(FacesContext ctx,
UIViewRoot view) |
void |
ViewScopeContextManager.fireDestroyedEvent(FacesContext facesContext,
UIViewRoot root) |
void |
ViewScopedCDIEventFireHelperImpl.fireDestroyedEvent(UIViewRoot root) |
void |
ViewScopedCDIEventFireHelper.fireDestroyedEvent(UIViewRoot root) |
void |
ViewScopeContextManager.fireInitializedEvent(FacesContext facesContext,
UIViewRoot root) |
void |
ViewScopedCDIEventFireHelperImpl.fireInitializedEvent(UIViewRoot root) |
void |
ViewScopedCDIEventFireHelper.fireInitializedEvent(UIViewRoot root) |
void |
MultiViewHandler.renderView(FacesContext context,
UIViewRoot viewToRender)
Call
ViewDeclarationLanguage.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)
if the view can be rendered. |
void |
JspViewHandlingStrategy.renderView(FacesContext context,
UIViewRoot view) |
void |
FaceletViewHandlingStrategy.renderView(FacesContext ctx,
UIViewRoot viewToRender) |
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
InitFacesContext.getViewRoot() |
| Modifier and Type | Method and Description |
|---|---|
void |
NoOpFacesContext.setViewRoot(UIViewRoot root) |
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
FacesContextImpl.getViewRoot() |
| Modifier and Type | Method and Description |
|---|---|
void |
FacesContextImpl.setViewRoot(UIViewRoot root) |
void |
StateContext.startTrackViewModifications(FacesContext ctx,
UIViewRoot root)
Installs a
SystemEventListener on the UIViewRoot
to track components added to or removed from the view. |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Util.isViewPopulated(FacesContext ctx,
UIViewRoot viewToRender) |
static void |
Util.setViewPopulated(FacesContext ctx,
UIViewRoot viewToRender)
Flag the specified
UIViewRoot as populated. |
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
ViewHandlerWrapper.createView(FacesContext context,
String viewId)
The default behavior of this method is to call
ViewHandler.createView(javax.faces.context.FacesContext, String) on the wrapped
ViewHandler object. |
abstract UIViewRoot |
ViewHandler.createView(FacesContext context,
String viewId)
Create and return a new
UIViewRoot
instance initialized with information from the argument FacesContext and
viewId. |
protected UIViewRoot |
StateManagerWrapper.restoreTreeStructure(FacesContext context,
String viewId,
String renderKitId)
The default behavior of this method is to call
StateManager.restoreTreeStructure(javax.faces.context.FacesContext, String, String)
on the wrapped StateManager 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. The default implementation returns
null. |
UIViewRoot |
ViewHandlerWrapper.restoreView(FacesContext context,
String viewId)
The default behavior of this method is to call
ViewHandler.restoreView(javax.faces.context.FacesContext, String) on the wrapped
ViewHandler object. |
abstract UIViewRoot |
ViewHandler.restoreView(FacesContext context,
String viewId)
Perform whatever actions are required to restore
the view associated with the specified
FacesContext and viewId. |
UIViewRoot |
StateManagerWrapper.restoreView(FacesContext context,
String viewId,
String renderKitId)
The default behavior of this method is to call
StateManager.restoreView(javax.faces.context.FacesContext, String, String) on the
wrapped StateManager object. |
abstract UIViewRoot |
StateManager.restoreView(FacesContext context,
String viewId,
String renderKitId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ViewHandlerWrapper.renderView(FacesContext context,
UIViewRoot viewToRender)
The default behavior of this method is to call
ViewHandler.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)
on the wrapped ViewHandler object. |
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 current
FacesContext. |
protected void |
StateManagerWrapper.restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
String renderKitId)
The default behavior of this method is to call
StateManager.restoreComponentState(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot, String)
on the wrapped StateManager 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. The default implementation does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
UIViewRoot |
FacesContextWrapper.getViewRoot()
The default behavior of this method is to
call
FacesContext.getViewRoot()
on the wrapped FacesContext object. |
abstract UIViewRoot |
FacesContext.getViewRoot()
Return the root
component that is associated with the this request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FacesContextWrapper.setViewRoot(UIViewRoot root)
The default behavior of this method is to
call
FacesContext.setViewRoot(UIViewRoot)
on the wrapped FacesContext object. |
abstract void |
FacesContext.setViewRoot(UIViewRoot root)
Set the root component that is
associated with this request.
|
| Constructor and Description |
|---|
PostConstructViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new
|
PostConstructViewMapEvent(UIViewRoot root)
Instantiate a new
|
PostRenderViewEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PostRenderViewEvent(UIViewRoot root)
Instantiate a new |
PreDestroyViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new
|
PreDestroyViewMapEvent(UIViewRoot root)
Instantiate a new
|
PreRenderViewEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new
|
PreRenderViewEvent(UIViewRoot root)
Instantiate a new
|
| Modifier and Type | Method and Description |
|---|---|
abstract UIViewRoot |
ViewMetadata.createMetadataView(FacesContext context)
Creates a new |
UIViewRoot |
ViewDeclarationLanguageWrapper.createView(FacesContext context,
String viewId) |
abstract UIViewRoot |
ViewDeclarationLanguage.createView(FacesContext context,
String viewId)
Create
a |
UIViewRoot |
ViewDeclarationLanguageWrapper.restoreView(FacesContext context,
String viewId) |
abstract UIViewRoot |
ViewDeclarationLanguage.restoreView(FacesContext context,
String viewId)
Restore a |
abstract UIViewRoot |
StateManagementStrategy.restoreView(FacesContext context,
String viewId,
String renderKitId)
Restore the state of the view with information in the request. |
| Modifier and Type | Method and Description |
|---|---|
void |
ViewDeclarationLanguageWrapper.buildView(FacesContext context,
UIViewRoot root) |
abstract void |
ViewDeclarationLanguage.buildView(FacesContext context,
UIViewRoot root)
Take any actions specific to
this VDL implementation to cause the argument
|
static Collection<UIImportConstants> |
ViewMetadata.getImportConstants(UIViewRoot root)
Utility method to extract view metadata from the provided |
static Collection<UIViewAction> |
ViewMetadata.getViewActions(UIViewRoot root)
Utility method to extract view
metadata from the provided |
static Collection<UIViewParameter> |
ViewMetadata.getViewParameters(UIViewRoot root)
Utility method to extract view
metadata from the provided |
static boolean |
ViewMetadata.hasMetadata(UIViewRoot root)
Utility method to determine if the
the provided |
void |
ViewDeclarationLanguageWrapper.renderView(FacesContext context,
UIViewRoot view) |
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at
argument |
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.