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.component |
Fundamental APIs for user
interface components.
|
javax.faces.component.behavior |
APIs for attaching additional
behavior to user interface components.
|
javax.faces.component.html |
Specialized user
interface component classes for HTML.
|
javax.faces.component.visit |
APIs for traversing a user interface component view. |
javax.faces.context |
Classes and interfaces
defining per-request state information.
|
javax.faces.convert |
Contains classes and interfaces
defining converters.
|
javax.faces.el |
DEPRECATED Classes and interfaces for evaluating and
processing reference expressions.
|
javax.faces.event |
Interfaces describing
events and event listeners, and concrete event implementation classes.
|
javax.faces.flow |
The runtime API for Faces Flows. |
javax.faces.lifecycle |
Classes and interfaces defining lifecycle management for the
JavaServer Faces implementation.
|
javax.faces.render |
Classes
and interfaces
defining the rendering model.
|
javax.faces.validator |
Interface defining the validator
model, and concrete validator implementation classes.
|
javax.faces.view |
Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces. |
javax.faces.view.facelets |
This package contains public classes for the Java code API of Facelets. |
javax.faces.webapp |
Classes required for integration of
JavaServer Faces into web applications, including a standard servlet,
base classes for JSP custom component
tags, and concrete tag implementations for core tags.
|
Modifier and Type | Method and Description |
---|---|
String |
ViewHandlerWrapper.calculateCharacterEncoding(FacesContext context)
The default behavior of this method is to
call
ViewHandler.calculateCharacterEncoding(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
String |
ViewHandler.calculateCharacterEncoding(FacesContext context)
Returns the correct character encoding to be used for this request.
|
Locale |
ViewHandlerWrapper.calculateLocale(FacesContext context)
The default behavior of this method is to
call
ViewHandler.calculateLocale(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
abstract Locale |
ViewHandler.calculateLocale(FacesContext context)
Returns an appropriate
Locale to use for this and
subsequent requests for the current client. |
String |
ViewHandlerWrapper.calculateRenderKitId(FacesContext context)
The default behavior of this method is to
call
ViewHandler.calculateRenderKitId(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
abstract String |
ViewHandler.calculateRenderKitId(FacesContext context)
Return an appropriate
renderKitId for this and
subsequent requests from the current client. |
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
Resource componentResource)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(FacesContext context,
Resource componentResource)
Instantiate and return
a new |
UIComponent |
ApplicationWrapper.createComponent(FacesContext context,
String componentType,
String rendererType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(FacesContext context,
String componentType,
String rendererType)
Like |
UIComponent |
ApplicationWrapper.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType)
Deprecated.
See superclass for alternative.
|
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType)
Deprecated.
This has been replaced by
Application.createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String) . |
UIComponent |
ApplicationWrapper.createComponent(ValueExpression componentExpression,
FacesContext context,
String componentType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
String componentType)
|
UIComponent |
ApplicationWrapper.createComponent(ValueExpression componentExpression,
FacesContext context,
String componentType,
String rendererType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
String componentType,
String rendererType)
Like |
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 . |
ViewResource |
ResourceHandlerWrapper.createViewResource(FacesContext context,
String resourceName)
The default behavior of this method
is to call |
ViewResource |
ResourceHandler.createViewResource(FacesContext context,
String resourceName)
Create an instance of |
String |
ViewHandlerWrapper.deriveLogicalViewId(FacesContext context,
String input)
The default behavior of this method is to
call |
String |
ViewHandler.deriveLogicalViewId(FacesContext context,
String rawViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.6.2. |
String |
ViewHandlerWrapper.deriveViewId(FacesContext context,
String input)
The default behavior of this method is to
call
ViewHandler.deriveViewId(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
String |
ViewHandler.deriveViewId(FacesContext context,
String rawViewId)
Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.6.2. |
<T> T |
ApplicationWrapper.evaluateExpressionGet(FacesContext context,
String expression,
Class<? extends T> expectedType)
Deprecated.
See superclass for alternative.
|
<T> T |
Application.evaluateExpressionGet(FacesContext context,
String expression,
Class<? extends T> expectedType)
Get a value by evaluating an expression.
|
URL |
NavigationCaseWrapper.getActionURL(FacesContext context) |
URL |
NavigationCase.getActionURL(FacesContext context)
Construct an absolute URL to this
|
String |
ViewHandlerWrapper.getActionURL(FacesContext context,
String viewId)
The default behavior of this method is to
call
ViewHandler.getActionURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
abstract String |
ViewHandler.getActionURL(FacesContext context,
String viewId)
If
the value returned from this
method is used as the |
URL |
NavigationCaseWrapper.getBookmarkableURL(FacesContext context) |
URL |
NavigationCase.getBookmarkableURL(FacesContext context)
Construct an absolute URL suitable for a
bookmarkable link to this |
String |
ViewHandlerWrapper.getBookmarkableURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
The default behavior of this method is to
call
ViewHandler.getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
on the wrapped ViewHandler object. |
String |
ViewHandler.getBookmarkableURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response. |
protected Object |
StateManagerWrapper.getComponentStateToSave(FacesContext context)
The default behavior of this method is to
call
StateManager.getComponentStateToSave(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
protected Object |
StateManager.getComponentStateToSave(FacesContext context)
Deprecated.
the distinction between tree structure and component
state is now an implementation detail. The default
implementation returns
null . |
Boolean |
NavigationCaseWrapper.getCondition(FacesContext context) |
Boolean |
NavigationCase.getCondition(FacesContext context)
Evaluates the
|
NavigationCase |
ConfigurableNavigationHandlerWrapper.getNavigationCase(FacesContext context,
String fromAction,
String outcome) |
abstract NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
String fromAction,
String outcome)
Return the |
NavigationCase |
ConfigurableNavigationHandlerWrapper.getNavigationCase(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId) |
NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId)
Return the |
URL |
NavigationCaseWrapper.getRedirectURL(FacesContext context) |
URL |
NavigationCase.getRedirectURL(FacesContext context)
Construct an absolute URL suitable for a
"redirect" to this |
String |
ViewHandlerWrapper.getRedirectURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
The default behavior of this method is to
call
ViewHandler.getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
on the wrapped ViewHandler object. |
String |
ViewHandler.getRedirectURL(FacesContext context,
String viewId,
Map<String,List<String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived
from the |
ResourceBundle |
ApplicationWrapper.getResourceBundle(FacesContext ctx,
String name)
The default behavior of this method
is to call |
ResourceBundle |
Application.getResourceBundle(FacesContext ctx,
String name)
Find a
ResourceBundle as defined in the
application configuration resources under the specified name. |
URL |
NavigationCaseWrapper.getResourceURL(FacesContext context) |
URL |
NavigationCase.getResourceURL(FacesContext context)
Construct an absolute URL to this
|
String |
ViewHandlerWrapper.getResourceURL(FacesContext context,
String path)
The default behavior of this method is to
call
ViewHandler.getResourceURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
abstract String |
ViewHandler.getResourceURL(FacesContext context,
String path)
If the value returned from this
method is used as the |
String |
NavigationCaseWrapper.getToViewId(FacesContext context) |
String |
NavigationCase.getToViewId(FacesContext context)
Evaluates the |
protected Object |
StateManagerWrapper.getTreeStructureToSave(FacesContext context)
The default behavior of this method is to
call
StateManager.getTreeStructureToSave(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
protected Object |
StateManager.getTreeStructureToSave(FacesContext context)
Deprecated.
the distinction between tree structure and component
state is now an implementation detail. The default
implementation returns
null . |
ViewDeclarationLanguage |
ViewHandlerWrapper.getViewDeclarationLanguage(FacesContext context,
String viewId)
The default behavior of this method is to
call
ViewHandler.getViewDeclarationLanguage(javax.faces.context.FacesContext, java.lang.String)
on the wrapped ViewHandler object. |
ViewDeclarationLanguage |
ViewHandler.getViewDeclarationLanguage(FacesContext context,
String viewId)
Return
the |
String |
StateManagerWrapper.getViewState(FacesContext context)
The default behavior of this method
is to call |
String |
StateManager.getViewState(FacesContext context)
Convenience method to return the view state as a |
void |
NavigationHandlerWrapper.handleNavigation(FacesContext context,
String fromAction,
String outcome) |
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
String fromAction,
String outcome)
Perform navigation
processing based on the state information in the specified
FacesContext , plus the outcome string returned by an executed
application action. |
void |
ConfigurableNavigationHandlerWrapper.handleNavigation(FacesContext context,
String fromAction,
String outcome) |
void |
NavigationHandlerWrapper.handleNavigation(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId) |
void |
NavigationHandler.handleNavigation(FacesContext context,
String fromAction,
String outcome,
String toFlowDocumentId)
Overloaded variant of |
void |
ResourceHandlerWrapper.handleResourceRequest(FacesContext context)
The default behavior of this method
is to call |
abstract void |
ResourceHandler.handleResourceRequest(FacesContext context)
This method specifies the contract for satisfying resource requests. |
void |
ViewHandlerWrapper.initView(FacesContext context)
The default behavior of this method is to
call
ViewHandler.initView(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
void |
ViewHandler.initView(FacesContext context)
Initialize the view
for the request processing lifecycle.
|
void |
ConfigurableNavigationHandlerWrapper.inspectFlow(FacesContext context,
Flow flow) |
void |
ConfigurableNavigationHandler.inspectFlow(FacesContext context,
Flow flow)
Called by the flow system to cause the flow to be inspected for navigation rules. |
boolean |
ResourceHandlerWrapper.isResourceRequest(FacesContext context)
The default behavior of this method
is to call |
abstract boolean |
ResourceHandler.isResourceRequest(FacesContext context)
Return |
boolean |
StateManagerWrapper.isSavingStateInClient(FacesContext context)
The default behavior of this method is to
call
StateManager.isSavingStateInClient(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
boolean |
StateManager.isSavingStateInClient(FacesContext context) |
void |
ApplicationWrapper.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
The default behavior of this method
is to call |
void |
Application.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
This method functions exactly like
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source)
The default behavior of this method
is to call |
void |
Application.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source)
If |
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.
|
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.
|
StateManager.SerializedView |
StateManagerWrapper.saveSerializedView(FacesContext context)
The default behavior of this method is to
call
StateManager.saveSerializedView(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
StateManager.SerializedView |
StateManager.saveSerializedView(FacesContext context)
Deprecated.
this has been replaced by
StateManager.saveView(javax.faces.context.FacesContext) . The
default implementation calls saveView and inspects the
return. If the return is an Object [] , it casts the
result to an Object [] wrapping the first and second
elements in an instance of StateManager.SerializedView , which it then
returns. Otherwise, it returns null |
Object |
StateManagerWrapper.saveView(FacesContext context)
The default behavior of this method is to
call
StateManager.saveView(javax.faces.context.FacesContext)
on the wrapped StateManager object. |
Object |
StateManager.saveView(FacesContext context)
Deprecated.
|
boolean |
ResourceWrapper.userAgentNeedsUpdate(FacesContext context)
The default behavior of this method
is to call |
abstract boolean |
Resource.userAgentNeedsUpdate(FacesContext context)
Return |
void |
ViewHandlerWrapper.writeState(FacesContext context)
The default behavior of this method is to
call
ViewHandler.writeState(javax.faces.context.FacesContext)
on the wrapped ViewHandler object. |
abstract void |
ViewHandler.writeState(FacesContext context)
Take any appropriate action to either immediately
write out the current state information (by calling
StateManager.writeState(javax.faces.context.FacesContext, java.lang.Object) , or noting where state information
should later be written. |
void |
StateManagerWrapper.writeState(FacesContext context,
Object state)
The default behavior of this method is to call
StateManager.writeState(javax.faces.context.FacesContext,
java.lang.Object) on the wrapped StateManager
object. |
void |
StateManager.writeState(FacesContext context,
Object state)
Save the state represented in the specified state
Object instance, in an implementation dependent
manner. |
void |
StateManagerWrapper.writeState(FacesContext context,
StateManager.SerializedView state)
The default behavior of this method is to
call
StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)
on the wrapped StateManager object. |
void |
StateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
This method has been replaced by
StateManager.writeState(javax.faces.context.FacesContext,java.lang.Object) .
The default implementation calls the non-deprecated variant
of the method passing an Object [] as the second
argument, where the first element of the array is the return from
getStructure() and the second is the return from
getState() on the argument state . |
Modifier and Type | Method and Description |
---|---|
protected FacesContext |
UIComponentBase.getFacesContext() |
protected abstract FacesContext |
UIComponent.getFacesContext()
Convenience method to return the
FacesContext instance
for the current request. |
Modifier and Type | Method and Description |
---|---|
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource)
Add argument |
void |
UIViewRoot.addComponentResource(FacesContext context,
UIComponent componentResource,
String target)
Add argument |
void |
UIViewRoot.broadcastEvents(FacesContext context,
PhaseId phaseId)
Broadcast any events that have been queued. |
String |
UniqueIdVendor.createUniqueId(FacesContext context,
String seed)
Generate an identifier for a component.
|
String |
UIViewRoot.createUniqueId(FacesContext context,
String seed)
Generate an identifier for a component.
|
String |
UINamingContainer.createUniqueId(FacesContext context,
String seed) |
String |
UIForm.createUniqueId(FacesContext context,
String seed)
Generate an identifier for a component. |
String |
UIData.createUniqueId(FacesContext context,
String seed) |
void |
UIViewParameter.decode(FacesContext context)
Override behavior from superclass to
pull a value from the incoming request parameter map under the
name given by |
void |
UIViewAction.decode(FacesContext context)
Override behavior from the
superclass to queue an |
void |
UIInput.decode(FacesContext context) |
void |
UIComponentBase.decode(FacesContext context) |
abstract void |
UIComponent.decode(FacesContext context)
Decode any new state of this
UIComponent from the
request contained in the specified FacesContext , and store
this state as needed. |
void |
UIViewParameter.encodeAll(FacesContext context)
Called specially by |
void |
UIComponent.encodeAll(FacesContext context)
If this component
returns
true from UIComponent.isRendered() , take the
following action. |
void |
UIViewRoot.encodeBegin(FacesContext context)
Override the default
UIComponentBase.encodeBegin(javax.faces.context.FacesContext) behavior. |
void |
UIData.encodeBegin(FacesContext context)
In addition to the default behavior, ensure that any saved per-row
state for our child input components is discarded unless it is needed to
rerender the current page with errors.
|
void |
UIComponentBase.encodeBegin(FacesContext context) |
abstract void |
UIComponent.encodeBegin(FacesContext context)
If our
rendered property is true , render the
beginning of the current state of this UIComponent to the
response contained in the specified FacesContext . |
void |
UIViewRoot.encodeChildren(FacesContext context)
If |
void |
UIComponentBase.encodeChildren(FacesContext context) |
abstract void |
UIComponent.encodeChildren(FacesContext context)
|
void |
UIViewRoot.encodeEnd(FacesContext context)
If |
void |
UIComponentBase.encodeEnd(FacesContext context) |
abstract void |
UIComponent.encodeEnd(FacesContext context)
|
String |
UIData.getClientId(FacesContext context)
Return a client identifier for this component that includes the
current value of the
rowIndex property, if it is not set to
-1. |
String |
UIComponentBase.getClientId(FacesContext context) |
abstract String |
UIComponent.getClientId(FacesContext context)
Return a client-side identifier for this component, generating
one if necessary.
|
List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context,
String target)
Return an unmodifiable
|
String |
UIForm.getContainerClientId(FacesContext context)
Override the
UIComponent.getContainerClientId(javax.faces.context.FacesContext) to allow
users to disable this form from prepending its clientId to
its descendent's clientIds depending on the value of
this form's UIForm.isPrependId() property. |
String |
UIComponent.getContainerClientId(FacesContext context)
Allow components that implement
NamingContainer to
selectively disable prepending their clientId to their
descendent's clientIds by breaking the prepending logic into a
seperately callable method. |
protected Object |
UIViewParameter.getConvertedValue(FacesContext context,
Object submittedValue)
Because this class has no |
protected Object |
UIInput.getConvertedValue(FacesContext context,
Object newSubmittedValue)
Convert the submitted value into a "local value" of the
appropriate data type, if necessary.
|
static UIComponent |
UIComponent.getCurrentComponent(FacesContext context)
Return the |
static UIComponent |
UIComponent.getCurrentCompositeComponent(FacesContext context)
Return the closest ancestor
component, relative to the component returned from |
protected Renderer |
UIComponentBase.getRenderer(FacesContext context) |
protected abstract Renderer |
UIComponent.getRenderer(FacesContext context)
Convenience method to return the
Renderer instance
associated with this component, if any; otherwise, return
null . |
static char |
UINamingContainer.getSeparatorChar(FacesContext context)
Return the character used to separate segments of a clientId. |
String |
UIViewParameter.getStringValue(FacesContext context)
If the value of this parameter comes
from a |
String |
UIViewParameter.getStringValueFromModel(FacesContext context)
Manually perform standard conversion steps to get a string value from the value expression. |
UIViewParameter |
UIViewParameter.Reference.getUIViewParameter(FacesContext context)
Return the
|
void |
ContextCallback.invokeContextCallback(FacesContext context,
UIComponent target)
This method will be called by an implementation of
UIComponent.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback) and must be passed the component
with the clientId given as an argument to
invokeOnComponent . |
boolean |
UIData.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Override behavior from
UIComponentBase.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback) to provide special care for
positioning the data properly before finding the component and
invoking the callback on it. |
boolean |
UIComponentBase.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Starting at this
component in the View hierarchy, search for a component with a
clientId equal to the argument clientId
and, if found, call the ContextCallback.invokeContextCallback(javax.faces.context.FacesContext, javax.faces.component.UIComponent) method on the argument
callback , passing the current FacesContext
and the found component as arguments. |
boolean |
UIComponent.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback)
Starting at this
component in the View hierarchy, search for a component with a
clientId equal to the argument clientId
and, if found, call the ContextCallback.invokeContextCallback(javax.faces.context.FacesContext, javax.faces.component.UIComponent) method on the argument
callback , passing the current FacesContext
and the found component as arguments. |
static boolean |
UIViewAction.isProcessingBroadcast(FacesContext context)
Returns |
void |
UIComponent.popComponentFromEL(FacesContext context)
Pop the current
|
void |
UIViewRoot.processApplication(FacesContext context)
Broadcast any events that have been queued for the Invoke
Application phase of the request processing lifecycle
and to clear out any events for later phases if the event processing
for this phase caused
renderResponse() or
responseComplete() to be called. |
void |
UIViewRoot.processDecodes(FacesContext context)
|
void |
UIInput.processDecodes(FacesContext context)
Specialized decode behavior on top of that provided by the
superclass.
|
void |
UIForm.processDecodes(FacesContext context)
Override
UIComponent.processDecodes(javax.faces.context.FacesContext) to ensure that the
form is decoded before its children. |
void |
UIData.processDecodes(FacesContext context)
Override the default
UIComponentBase.processDecodes(javax.faces.context.FacesContext) processing
to perform the following steps. |
void |
UIComponentBase.processDecodes(FacesContext context) |
abstract void |
UIComponent.processDecodes(FacesContext context)
Perform the
component tree processing required by the Apply Request
Values phase of the request processing lifecycle for all
facets of this component, all children of this component, and
this component itself, as follows.
|
void |
UIViewRoot.processRestoreState(FacesContext context,
Object state)
The default
implementation must call |
void |
UIComponentBase.processRestoreState(FacesContext context,
Object state) |
abstract void |
UIComponent.processRestoreState(FacesContext context,
Object state)
Perform the
component tree processing required by the Restore View
phase of the request processing lifecycle for all facets of this
component, all children of this component, and this component
itself, as follows.
|
Object |
UIComponentBase.processSaveState(FacesContext context) |
abstract Object |
UIComponent.processSaveState(FacesContext context)
Perform the
component tree processing required by the state saving portion of
the Render Response phase of the request processing
lifecycle for all facets of this component, all children of this
component, and this component itself, as follows.
|
void |
UIViewRoot.processUpdates(FacesContext context)
|
void |
UIInput.processUpdates(FacesContext context)
In addition to the standard
processUpdates behavior
inherited from UIComponentBase , calls
updateModel() . |
void |
UIForm.processUpdates(FacesContext context)
Override
UIComponent.processUpdates(javax.faces.context.FacesContext) to ensure that the
children of this UIForm instance are only processed
if UIForm.isSubmitted() returns true . |
void |
UIData.processUpdates(FacesContext context)
Override the default
UIComponentBase.processUpdates(javax.faces.context.FacesContext)
processing to perform the following steps. |
void |
UIComponentBase.processUpdates(FacesContext context) |
abstract void |
UIComponent.processUpdates(FacesContext context)
Perform the
component tree processing required by the Update Model
Values phase of the request processing lifecycle for all
facets of this component, all children of this component, and
this component itself, as follows.
|
void |
UIViewRoot.processValidators(FacesContext context)
|
void |
UIViewParameter.processValidators(FacesContext context)
Specialize superclass behavior to treat
|
void |
UIInput.processValidators(FacesContext context)
In addition to the standard
processValidators behavior
inherited from UIComponentBase , calls validate()
if the immediate property is false (which is the
default); if the component is invalid afterwards, calls
renderResponse() . |
void |
UIForm.processValidators(FacesContext context)
Override
UIComponent.processValidators(javax.faces.context.FacesContext) to ensure that
the children of this UIForm instance are only
processed if UIForm.isSubmitted() returns true . |
void |
UIData.processValidators(FacesContext context)
Override the default
UIComponentBase.processValidators(javax.faces.context.FacesContext)
processing to perform the following steps. |
void |
UIComponentBase.processValidators(FacesContext context) |
abstract void |
UIComponent.processValidators(FacesContext context)
Perform the component
tree processing required by the Process Validations
phase of the request processing lifecycle for all facets of this
component, all children of this component, and this component
itself, as follows.
|
void |
UIComponent.pushComponentToEL(FacesContext context,
UIComponent component)
Push the current
|
void |
UIViewRoot.removeComponentResource(FacesContext context,
UIComponent componentResource)
Remove argument |
void |
UIViewRoot.removeComponentResource(FacesContext context,
UIComponent componentResource,
String target)
Remove argument |
void |
UIViewRoot.resetValues(FacesContext context,
Collection<String> clientIds)
Visit the clientIds and, if the component is
an instance of |
static Object |
UIComponentBase.restoreAttachedState(FacesContext context,
Object stateObj)
This method is called by
UIComponent subclasses that
need to restore the objects they saved using UIComponentBase.saveAttachedState(javax.faces.context.FacesContext, java.lang.Object) . |
void |
UIViewRoot.restoreState(FacesContext context,
Object state) |
void |
UIOutput.restoreState(FacesContext context,
Object state) |
void |
UIInput.restoreState(FacesContext context,
Object state) |
void |
UIData.restoreState(FacesContext context,
Object state) |
void |
UIComponentBase.restoreState(FacesContext context,
Object state) |
void |
StateHolder.restoreState(FacesContext context,
Object state)
Perform any
processing required to restore the state from the entries in the
state Object.
|
void |
UIComponent.restoreTransientState(FacesContext context,
Object state)
For components that need to support
the concept of transient state, this method will restore any
state saved on a prior call to |
void |
TransientStateHolder.restoreTransientState(FacesContext context,
Object state)
Restore the "transient state" using the object passed as state. |
void |
UIViewRoot.restoreViewScopeState(FacesContext context,
Object state)
Restore ViewScope state. |
static Object |
UIComponentBase.saveAttachedState(FacesContext context,
Object attachedObject)
This method is called by |
Object |
UIViewRoot.saveState(FacesContext context) |
Object |
UIOutput.saveState(FacesContext context) |
Object |
UIInput.saveState(FacesContext context) |
Object |
UIData.saveState(FacesContext context) |
Object |
UIComponentBase.saveState(FacesContext context) |
Object |
StateHolder.saveState(FacesContext context)
Gets the state of the instance as a
Serializable Object. |
Object |
UIComponent.saveTransientState(FacesContext context)
For components that need to support the concept of transient state, this method will save any state that is known to be transient in nature. |
Object |
TransientStateHolder.saveTransientState(FacesContext context)
Return the object containing related "transient states". |
void |
UIViewParameter.updateModel(FacesContext context)
Call through to superclass |
void |
UIInput.updateModel(FacesContext context)
Perform
the following algorithm to update the model data
associated with this
UIInput , if any, as appropriate. |
void |
UIInput.validate(FacesContext context)
Perform the following algorithm to
validate the local value of this
UIInput . |
protected void |
UISelectOne.validateValue(FacesContext context,
Object value)
In addition to the
standard validation behavior inherited from
UIInput ,
ensure that any specified value is equal to one of the available
options. |
protected void |
UISelectMany.validateValue(FacesContext context,
Object value)
In addition to the standard
validation behavior inherited from
UIInput , ensure that
any specified values are equal to one of the available options. |
protected void |
UIInput.validateValue(FacesContext context,
Object newValue)
Set the "valid"
property according to the below algorithm.
|
Constructor and Description |
---|
Reference(FacesContext context,
UIViewParameter param,
int indexInParent,
String viewIdAtTimeOfConstruction)
Construct a reference to a
|
Modifier and Type | Method and Description |
---|---|
abstract FacesContext |
ClientBehaviorContext.getFacesContext()
Returns the |
Modifier and Type | Method and Description |
---|---|
static ClientBehaviorContext |
ClientBehaviorContext.createClientBehaviorContext(FacesContext context,
UIComponent component,
String eventName,
String sourceId,
Collection<ClientBehaviorContext.Parameter> parameters)
Creates a ClientBehaviorContext instance. |
void |
ClientBehaviorBase.decode(FacesContext context,
UIComponent component)
Default implementation of of |
void |
ClientBehavior.decode(FacesContext context,
UIComponent component)
Decode any new state of this
|
protected ClientBehaviorRenderer |
ClientBehaviorBase.getRenderer(FacesContext context)
Convenience method to return the
|
void |
BehaviorBase.restoreState(FacesContext context,
Object state)
Implementation of
|
void |
AjaxBehavior.restoreState(FacesContext context,
Object state) |
Object |
BehaviorBase.saveState(FacesContext context)
Implementation of
|
Object |
AjaxBehavior.saveState(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
HtmlInputFile.saveState(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
FacesContext |
VisitContextWrapper.getFacesContext() |
abstract FacesContext |
VisitContext.getFacesContext()
Returns the FacesContext for the current request. |
Modifier and Type | Method and Description |
---|---|
static VisitContext |
VisitContext.createVisitContext(FacesContext context)
Creates a VisitContext instance for use with
UIComponent.visitTree() . |
static VisitContext |
VisitContext.createVisitContext(FacesContext context,
Collection<String> ids,
Set<VisitHint> hints)
Returns a VisitContext instance that is initialized with the
specified ids and hintsfor use with
UIComponent.visitTree(javax.faces.component.visit.VisitContext, javax.faces.component.visit.VisitCallback) . |
abstract VisitContext |
VisitContextFactory.getVisitContext(FacesContext context,
Collection<String> ids,
Set<VisitHint> hints)
Return a new |
Modifier and Type | Class and Description |
---|---|
class |
FacesContextWrapper
Provides a simple
implementation of
FacesContext that can be subclassed by
developers wishing to provide specialized behavior to an existing
FacesContext instance. |
Modifier and Type | Method and Description |
---|---|
static FacesContext |
FacesContext.getCurrentInstance()
Return the |
abstract FacesContext |
FacesContextFactory.getFacesContext(Object context,
Object request,
Object response,
Lifecycle lifecycle)
Create (if needed)
and return a
FacesContext instance that is initialized
for the processing of the specified request and response objects,
utilizing the specified Lifecycle instance, for this web
application. |
abstract FacesContext |
FacesContextWrapper.getWrapped() |
Modifier and Type | Method and Description |
---|---|
void |
FlashWrapper.doPostPhaseActions(FacesContext ctx)
The default behavior of this method
is to call |
abstract void |
Flash.doPostPhaseActions(FacesContext ctx)
Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle. |
void |
FlashWrapper.doPrePhaseActions(FacesContext ctx)
The default behavior of this method
is to call |
abstract void |
Flash.doPrePhaseActions(FacesContext ctx)
Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle. |
abstract PartialViewContext |
PartialViewContextFactory.getPartialViewContext(FacesContext context)
Create (if needed)
and return a
PartialViewContext instance that is initialized
using the current FacesContext instance. |
protected static void |
FacesContext.setCurrentInstance(FacesContext context)
Set the
FacesContext instance for the request that is
being processed by the current thread. |
Modifier and Type | Method and Description |
---|---|
Object |
ShortConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
NumberConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
LongConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
IntegerConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
FloatConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
EnumConverter.getAsObject(FacesContext context,
UIComponent component,
String value)
Convert the
value argument to one of the enum
constants of the class provided in our constructor. |
Object |
DoubleConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
DateTimeConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
Converter.getAsObject(FacesContext context,
UIComponent component,
String value)
Convert the specified string value, which is associated with
the specified
UIComponent , into a model data object that
is appropriate for being stored during the Apply Request
Values phase of the request processing lifecycle. |
Object |
CharacterConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
ByteConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BooleanConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BigIntegerConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
Object |
BigDecimalConverter.getAsObject(FacesContext context,
UIComponent component,
String value) |
String |
ShortConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
NumberConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
LongConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
IntegerConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
FloatConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
EnumConverter.getAsString(FacesContext context,
UIComponent component,
Object value)
Convert the enum constant given by the
value
argument into a String. |
String |
DoubleConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
DateTimeConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
Converter.getAsString(FacesContext context,
UIComponent component,
Object value)
Convert the specified model object value, which is associated with
the specified
UIComponent , into a String that is suitable
for being included in the response generated during the
Render Response phase of the request processing
lifeycle. |
String |
CharacterConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
ByteConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BooleanConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BigIntegerConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
String |
BigDecimalConverter.getAsString(FacesContext context,
UIComponent component,
Object value) |
void |
NumberConverter.restoreState(FacesContext context,
Object state) |
void |
EnumConverter.restoreState(FacesContext facesContext,
Object object) |
void |
DateTimeConverter.restoreState(FacesContext context,
Object state) |
Object |
NumberConverter.saveState(FacesContext context) |
Object |
EnumConverter.saveState(FacesContext facesContext) |
Object |
DateTimeConverter.saveState(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
abstract Class |
ValueBinding.getType(FacesContext context)
Deprecated.
Return the type of the property represented by this
ValueBinding , relative to the specified FacesContext . |
abstract Class |
MethodBinding.getType(FacesContext context)
Deprecated.
Return the Java class representing the return type from the
method identified by this method binding expression.
|
abstract Object |
ValueBinding.getValue(FacesContext context)
Deprecated.
Return the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
abstract Object |
MethodBinding.invoke(FacesContext context,
Object[] params)
Deprecated.
Return the return value (if any) resulting from a call to the
method identified by this method binding expression, passing it
the specified parameters, relative to the specified
FacesContext . |
abstract boolean |
ValueBinding.isReadOnly(FacesContext context)
Deprecated.
Return
true if the specified property of the specified
property is known to be immutable; otherwise, return
false . |
abstract Object |
VariableResolver.resolveVariable(FacesContext context,
String name)
Deprecated.
Resolve the specified variable name, and return the corresponding
object, if any; otherwise, return
null . |
abstract void |
ValueBinding.setValue(FacesContext context,
Object value)
Deprecated.
Set the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
Modifier and Type | Method and Description |
---|---|
FacesContext |
ExceptionQueuedEventContext.getContext()
|
FacesContext |
PhaseEvent.getFacesContext()
Return the
FacesContext for the request being processed. |
Modifier and Type | Method and Description |
---|---|
void |
MethodExpressionValueChangeListener.restoreState(FacesContext context,
Object state)
Both |
void |
MethodExpressionActionListener.restoreState(FacesContext context,
Object state)
Both |
Object |
MethodExpressionValueChangeListener.saveState(FacesContext context)
Both |
Object |
MethodExpressionActionListener.saveState(FacesContext context)
Both |
Constructor and Description |
---|
ExceptionQueuedEventContext(FacesContext context,
Throwable thrown)
Instantiate a new
|
ExceptionQueuedEventContext(FacesContext context,
Throwable thrown,
UIComponent component)
Instantiate a new
|
ExceptionQueuedEventContext(FacesContext context,
Throwable thrown,
UIComponent component,
PhaseId phaseId)
Instantiate a new
|
PhaseEvent(FacesContext context,
PhaseId phaseId,
Lifecycle lifecycle)
Construct a new event object from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
FlowHandler.addFlow(FacesContext context,
Flow toAdd)
Add the argument |
abstract void |
FlowHandler.clientWindowTransition(FacesContext context)
Allow for flow transitions in the
case of components rendered by the renderers from
component-family |
FlowHandler |
FlowHandlerFactoryWrapper.createFlowHandler(FacesContext context) |
abstract FlowHandler |
FlowHandlerFactory.createFlowHandler(FacesContext context)
Create the singleton instance of
|
abstract String |
FlowCallNode.getCalledFlowDocumentId(FacesContext context) |
abstract String |
FlowCallNode.getCalledFlowId(FacesContext context) |
abstract Boolean |
SwitchCase.getCondition(FacesContext context)
Return |
abstract Flow |
FlowHandler.getCurrentFlow(FacesContext context)
Return the currently active |
abstract String |
SwitchNode.getDefaultOutcome(FacesContext context)
Return the default outcome in this switch. |
abstract Flow |
FlowHandler.getFlow(FacesContext context,
String definingDocumentId,
String id)
Return the |
abstract String |
ReturnNode.getFromOutcome(FacesContext context)
Return the |
abstract String |
FlowHandler.getLastDisplayedViewId(FacesContext context)
Return the last displayed viewId for the
current flow, as returned by |
abstract boolean |
FlowHandler.isActive(FacesContext context,
String definingDocument,
String id)
Return |
abstract void |
FlowHandler.popReturnMode(FacesContext context)
Enable the correct handling of navigation when processing a return node. |
abstract void |
FlowHandler.pushReturnMode(FacesContext context)
Enable the correct handling of navigation when processing a return node. |
abstract void |
FlowHandler.transition(FacesContext context,
Flow sourceFlow,
Flow targetFlow,
FlowCallNode outboundCallNode,
String toViewId)
Perform a transition in the flow
graph for the current user's |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleWrapper.attachWindow(FacesContext context) |
void |
Lifecycle.attachWindow(FacesContext context)
Create or restore the |
void |
ClientWindowWrapper.decode(FacesContext context) |
abstract void |
ClientWindow.decode(FacesContext context)
The implementation is responsible
for examining the incoming request and extracting the value that
must be returned from the |
void |
ClientWindowWrapper.disableClientWindowRenderMode(FacesContext context) |
void |
ClientWindow.disableClientWindowRenderMode(FacesContext context)
Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. |
void |
ClientWindowWrapper.enableClientWindowRenderMode(FacesContext context) |
void |
ClientWindow.enableClientWindowRenderMode(FacesContext context)
Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. |
void |
LifecycleWrapper.execute(FacesContext context) |
abstract void |
Lifecycle.execute(FacesContext context)
Execute all of the phases of the request processing lifecycle,
up to but not including the Render Response phase,
as described in the JavaServer Faces Specification, in the specified
order.
|
abstract ClientWindow |
ClientWindowFactory.getClientWindow(FacesContext context)
The implementation is responsible
for creating the |
Map<String,String> |
ClientWindowWrapper.getQueryURLParameters(FacesContext context) |
abstract Map<String,String> |
ClientWindow.getQueryURLParameters(FacesContext context)
This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. |
boolean |
ClientWindowWrapper.isClientWindowRenderModeEnabled(FacesContext context) |
boolean |
ClientWindow.isClientWindowRenderModeEnabled(FacesContext context)
Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. |
void |
LifecycleWrapper.render(FacesContext context) |
abstract void |
Lifecycle.render(FacesContext context)
Execute the Render Response phase of the request
processing lifecycle, unless the
responseComplete()
method has been called on the FacesContext instance
associated with the current request. |
Modifier and Type | Method and Description |
---|---|
String |
RendererWrapper.convertClientId(FacesContext context,
String clientId) |
String |
Renderer.convertClientId(FacesContext context,
String clientId)
Convert the component generated client id to a form suitable
for transmission to the client.
|
void |
RendererWrapper.decode(FacesContext context,
UIComponent component) |
void |
Renderer.decode(FacesContext context,
UIComponent component)
Decode any new state of the specified
UIComponent
from the request contained in the specified FacesContext ,
and store that state on the UIComponent . |
void |
ClientBehaviorRenderer.decode(FacesContext context,
UIComponent component,
ClientBehavior behavior)
Decode any new state of this |
void |
RendererWrapper.encodeBegin(FacesContext context,
UIComponent component) |
void |
Renderer.encodeBegin(FacesContext context,
UIComponent component)
Render the beginning specified
UIComponent to the
output stream or writer associated with the response we are creating. |
void |
RendererWrapper.encodeChildren(FacesContext context,
UIComponent component) |
void |
Renderer.encodeChildren(FacesContext context,
UIComponent component)
Render the child components of this
UIComponent , following
the rules described for encodeBegin() to acquire the
appropriate value to be rendered. |
void |
RendererWrapper.encodeEnd(FacesContext context,
UIComponent component) |
void |
Renderer.encodeEnd(FacesContext context,
UIComponent component)
Render the ending of the current state of the specified
UIComponent , following the rules described for
encodeBegin() to acquire the appropriate value
to be rendered. |
Object |
ResponseStateManager.getComponentStateToRestore(FacesContext context)
Deprecated.
This method has been replaced by
ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
Object |
RendererWrapper.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue)
Attempt to convert previously stored state information into an
object of the type required for this component (optionally using the
registered
Converter for this component,
if there is one). |
String |
ResponseStateManager.getCryptographicallyStrongTokenFromSession(FacesContext context)
Compliant implementations must return a cryptographically strong token for use to protect views in this application. |
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
String renderKitId)
Return a
RenderKit instance for the specified render
kit identifier, possibly customized based on dynamic
characteristics of the specified FacesContext , if
non-null . |
Object |
ResponseStateManager.getState(FacesContext context,
String viewId)
The implementation must
inspect the current request and return
an Object representing the tree structure and component state
passed in to a previous invocation of
ResponseStateManager.writeState(javax.faces.context.FacesContext,java.lang.Object) . |
Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
String viewId)
Deprecated.
This method has been replaced by
ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
String |
ResponseStateManager.getViewState(FacesContext context,
Object state)
Return the specified state as a
String without any markup
related to the rendering technology supported by this ResponseStateManager. |
boolean |
ResponseStateManager.isPostback(FacesContext context)
Return true if the current request is a postback.
|
boolean |
ResponseStateManager.isStateless(FacesContext context,
String viewId)
If the preceding call to |
void |
ResponseStateManager.writeState(FacesContext context,
Object state)
Take the argument
state and write it into the
output using the current ResponseWriter , which must be
correctly positioned already. |
void |
ResponseStateManager.writeState(FacesContext context,
StateManager.SerializedView state)
Deprecated.
This method has been replaced by
ResponseStateManager.writeState(javax.faces.context.FacesContext,java.lang.Object) .
The default implementation creates a two element
Object array with the first element being the return
from calling StateManager.SerializedView.getStructure() , and the second
being the return from StateManager.SerializedView.getState() . It then
passes this Object array to ResponseStateManager.writeState(javax.faces.context.FacesContext, java.lang.Object) . |
Modifier and Type | Method and Description |
---|---|
void |
RegexValidator.restoreState(FacesContext context,
Object state) |
void |
MethodExpressionValidator.restoreState(FacesContext context,
Object state) |
void |
LongRangeValidator.restoreState(FacesContext context,
Object state) |
void |
LengthValidator.restoreState(FacesContext context,
Object state) |
void |
DoubleRangeValidator.restoreState(FacesContext context,
Object state) |
void |
BeanValidator.restoreState(FacesContext context,
Object state) |
Object |
RegexValidator.saveState(FacesContext context) |
Object |
MethodExpressionValidator.saveState(FacesContext context) |
Object |
LongRangeValidator.saveState(FacesContext context) |
Object |
LengthValidator.saveState(FacesContext context) |
Object |
DoubleRangeValidator.saveState(FacesContext context) |
Object |
BeanValidator.saveState(FacesContext context) |
void |
Validator.validate(FacesContext context,
UIComponent component,
Object value)
|
void |
RequiredValidator.validate(FacesContext context,
UIComponent component,
Object value)
Verify that the converted object value is not null.
|
void |
RegexValidator.validate(FacesContext context,
UIComponent component,
Object value)
Validate a String against a regular expression pattern.
|
void |
MethodExpressionValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
LongRangeValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
LengthValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
DoubleRangeValidator.validate(FacesContext context,
UIComponent component,
Object value) |
void |
BeanValidator.validate(FacesContext context,
UIComponent component,
Object value)
Verify that the value is valid according to the Bean Validation constraints. |
Modifier and Type | Method and Description |
---|---|
void |
AttachedObjectHandler.applyAttachedObject(FacesContext context,
UIComponent parent)
Take the argument
|
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
|
List<String> |
ViewDeclarationLanguageWrapper.calculateResourceLibraryContracts(FacesContext context,
String viewId) |
List<String> |
ViewDeclarationLanguage.calculateResourceLibraryContracts(FacesContext context,
String viewId)
Return the list of resource library
contracts that will be made available for use in the view
specified by the argument |
UIComponent |
ViewDeclarationLanguageWrapper.createComponent(FacesContext context,
String taglibURI,
String tagName,
Map<String,Object> attributes) |
UIComponent |
ViewDeclarationLanguage.createComponent(FacesContext context,
String taglibURI,
String tagName,
Map<String,Object> attributes)
Create a component given a
|
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 |
BeanInfo |
ViewDeclarationLanguageWrapper.getComponentMetadata(FacesContext context,
Resource componentResource) |
abstract BeanInfo |
ViewDeclarationLanguage.getComponentMetadata(FacesContext context,
Resource componentResource)
Return a reference to the component
metadata for the composite component represented by the argument
|
Resource |
ViewDeclarationLanguageWrapper.getScriptComponentResource(FacesContext context,
Resource componentResource) |
abstract Resource |
ViewDeclarationLanguage.getScriptComponentResource(FacesContext context,
Resource componentResource)
Take implementation specific action
to discover a |
StateManagementStrategy |
ViewDeclarationLanguageWrapper.getStateManagementStrategy(FacesContext context,
String viewId) |
abstract StateManagementStrategy |
ViewDeclarationLanguage.getStateManagementStrategy(FacesContext context,
String viewId)
For implementations that want to
control the implementation of state saving and restoring, the
|
ViewMetadata |
ViewDeclarationLanguageWrapper.getViewMetadata(FacesContext context,
String viewId) |
abstract ViewMetadata |
ViewDeclarationLanguage.getViewMetadata(FacesContext context,
String viewId)
Return a reference to the view
metadata for the view represented by the argument
|
void |
ViewDeclarationLanguageWrapper.renderView(FacesContext context,
UIViewRoot view) |
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at
argument |
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. |
void |
ViewDeclarationLanguageWrapper.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
List<AttachedObjectHandler> handlers) |
void |
ViewDeclarationLanguage.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
List<AttachedObjectHandler> handlers)
Assuming the component
metadata for argument |
void |
ViewDeclarationLanguageWrapper.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent) |
void |
ViewDeclarationLanguage.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent)
Assuming the component metadata for
argument |
abstract Object |
StateManagementStrategy.saveView(FacesContext context)
Return the state of the
current view in an |
boolean |
ViewDeclarationLanguageWrapper.viewExists(FacesContext context,
String viewId) |
boolean |
ViewDeclarationLanguage.viewExists(FacesContext context,
String viewId)
Tests whether a physical resource corresponding to the specified viewId exists. |
Modifier and Type | Method and Description |
---|---|
abstract FacesContext |
FaceletContext.getFacesContext()
The current FacesContext bound to this "request". |
Modifier and Type | Method and Description |
---|---|
abstract void |
Facelet.apply(FacesContext facesContext,
UIComponent parent)
The passed
UIComponent parent will be populated/restored in accordance with
the Facelets chapter in the
spec prose document.
|
void |
FaceletsAttachedObjectHandler.applyAttachedObject(FacesContext ctx,
UIComponent parent)
Take the necessary actions to apply
the attached object represented by the tag for the concrete
subclass of this class to the argument |
Modifier and Type | Method and Description |
---|---|
protected abstract FacesContext |
UIComponentTagBase.getFacesContext()
Return the
FacesContext instance for the current
request. |
protected FacesContext |
UIComponentClassicTagBase.getFacesContext() |
Modifier and Type | Method and Description |
---|---|
protected UIComponent |
UIComponentTag.createComponent(FacesContext context,
String newId)
Deprecated.
Implement
createComponent using Faces 1.1 EL
API. |
protected UIComponent |
UIComponentELTag.createComponent(FacesContext context,
String newId)
Create and return a new child component of the type returned by
calling
getComponentType() . |
protected abstract UIComponent |
UIComponentClassicTagBase.createComponent(FacesContext context,
String newId)
Create and return a new child component of the type returned
by calling
getComponentType() . |
protected UIComponent |
UIComponentClassicTagBase.findComponent(FacesContext context)
Find and return the
UIComponent , from the component
tree, that corresponds to this tag handler instance. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.