Package | Description |
---|---|
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 |
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)
Restore the tree structure and the component state of the view
for the specified
viewId , in an implementation dependent
manner, and return the restored UIViewRoot . |
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 |
---|---|
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
call
FacesContext.getViewRoot()
on the wrapped FacesContext object. |
Modifier and Type | Method and 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
call
FacesContext.setViewRoot(UIViewRoot)
on the wrapped FacesContext object. |
Constructor and Description |
---|
PostConstructViewMapEvent(UIViewRoot root)
Instantiate a new
|
PreDestroyViewMapEvent(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 |
abstract UIViewRoot |
ViewDeclarationLanguage.createView(FacesContext context,
String viewId)
Create a |
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 |
---|---|
abstract void |
ViewDeclarationLanguage.buildView(FacesContext context,
UIViewRoot root)
Take any actions specific to
this VDL implementation to cause the argument
|
static Collection<UIViewParameter> |
ViewMetadata.getViewParameters(UIViewRoot root)
Utility method to extract view
metadata from the provided |
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at
argument |
Copyright © 2022 JBoss by Red Hat. All rights reserved.