Package | Description |
---|---|
javax.faces | |
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.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.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 |
---|---|
private boolean |
FactoryFinder.FactoryManagerCache.detectSpecialInitializationCase(FacesContext facesContext)
This method is used to detect the following special initialization case.
|
Constructor and Description |
---|
FactoryManagerCacheKey(FacesContext facesContext,
java.lang.ClassLoader cl,
java.util.Map<FactoryFinder.FactoryManagerCacheKey,FactoryFinder.FactoryManager> factoryMap) |
Modifier and Type | Method and Description |
---|---|
java.lang.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. |
java.lang.String |
ViewHandler.calculateCharacterEncoding(FacesContext context)
Returns the correct character encoding to be used for this request.
|
java.util.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 java.util.Locale |
ViewHandler.calculateLocale(FacesContext context)
Returns an appropriate
Locale to use for this and
subsequent requests for the current client. |
java.lang.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 java.lang.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,
java.lang.String componentType,
java.lang.String rendererType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
Like |
UIComponent |
ApplicationWrapper.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
The default behavior of this method
is to call |
abstract UIComponent |
Application.createComponent(ValueBinding componentBinding,
FacesContext context,
java.lang.String componentType)
Deprecated.
This has been replaced by
Application.createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String) . |
UIComponent |
ApplicationWrapper.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType)
Call the
getValue() method on the specified ValueExpression . |
UIComponent |
ApplicationWrapper.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
java.lang.String componentType,
java.lang.String rendererType)
Like |
UIViewRoot |
ViewHandlerWrapper.createView(FacesContext context,
java.lang.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,
java.lang.String viewId)
Create and
return a new
UIViewRoot instance initialized with
information from the argument FacesContext and
viewId . |
java.lang.String |
ViewHandlerWrapper.deriveLogicalViewId(FacesContext context,
java.lang.String input)
The default behavior of this method is to
call |
java.lang.String |
ViewHandler.deriveLogicalViewId(FacesContext context,
java.lang.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.5.2. |
java.lang.String |
ViewHandlerWrapper.deriveViewId(FacesContext context,
java.lang.String input)
The default behavior of this method is to
call
ViewHandler.deriveViewId(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
java.lang.String |
ViewHandler.deriveViewId(FacesContext context,
java.lang.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.5.2. |
<T> T |
ApplicationWrapper.evaluateExpressionGet(FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
The default behavior of this method
is to call |
<T> T |
Application.evaluateExpressionGet(FacesContext context,
java.lang.String expression,
java.lang.Class<? extends T> expectedType)
Get a value by evaluating an expression.
|
(package private) static java.util.List<java.lang.String> |
SharedUtils.evaluateExpressions(FacesContext context,
java.util.List<java.lang.String> values) |
(package private) static java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
SharedUtils.evaluateExpressions(FacesContext context,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> map) |
java.net.URL |
NavigationCase.getActionURL(FacesContext context)
Construct an absolute URL to this
|
java.lang.String |
ViewHandlerWrapper.getActionURL(FacesContext context,
java.lang.String viewId)
The default behavior of this method is to
call
ViewHandler.getActionURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
abstract java.lang.String |
ViewHandler.getActionURL(FacesContext context,
java.lang.String viewId)
If the value returned from this
method is used as the |
java.net.URL |
NavigationCase.getBookmarkableURL(FacesContext context)
Construct an absolute URL suitable for a
bookmarkable link to this |
java.lang.String |
ViewHandlerWrapper.getBookmarkableURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.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. |
java.lang.String |
ViewHandler.getBookmarkableURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.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 java.lang.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 java.lang.Object |
StateManager.getComponentStateToSave(FacesContext context)
Deprecated.
the distinction between tree structure and component
state is now an implementation detail. The default
implementation returns
null . |
java.lang.Boolean |
NavigationCase.getCondition(FacesContext context)
Evaluates the
|
abstract NavigationCase |
ConfigurableNavigationHandler.getNavigationCase(FacesContext context,
java.lang.String fromAction,
java.lang.String outcome)
Return the |
java.net.URL |
NavigationCase.getRedirectURL(FacesContext context)
Construct an absolute URL suitable for a
"redirect" to this |
java.lang.String |
ViewHandlerWrapper.getRedirectURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.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. |
java.lang.String |
ViewHandler.getRedirectURL(FacesContext context,
java.lang.String viewId,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters,
boolean includeViewParams)
Return a JSF action URL derived
from the |
java.util.ResourceBundle |
ApplicationWrapper.getResourceBundle(FacesContext ctx,
java.lang.String name)
The default behavior of this method
is to call |
java.util.ResourceBundle |
Application.getResourceBundle(FacesContext ctx,
java.lang.String name)
Find a
ResourceBundle as defined in the
application configuration resources under the specified name. |
java.net.URL |
NavigationCase.getResourceURL(FacesContext context)
Construct an absolute URL to this
|
java.lang.String |
ViewHandlerWrapper.getResourceURL(FacesContext context,
java.lang.String path)
The default behavior of this method is to
call
ViewHandler.getResourceURL(javax.faces.context.FacesContext, String)
on the wrapped ViewHandler object. |
abstract java.lang.String |
ViewHandler.getResourceURL(FacesContext context,
java.lang.String path)
If the value returned from this
method is used as the |
java.lang.String |
NavigationCase.getToViewId(FacesContext context)
Evaluates the |
protected java.lang.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 java.lang.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,
java.lang.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,
java.lang.String viewId)
Return
the |
java.lang.String |
StateManagerWrapper.getViewState(FacesContext context)
The default behavior of this method
is to call |
java.lang.String |
StateManager.getViewState(FacesContext context)
Convenience method to return the view state as a |
abstract void |
NavigationHandler.handleNavigation(FacesContext context,
java.lang.String fromAction,
java.lang.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 |
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.
|
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,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Class<?> sourceBaseType,
java.lang.Object source)
The default behavior of this method
is to call |
void |
Application.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Class<?> sourceBaseType,
java.lang.Object source)
This method functions exactly like
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.Object source)
The default behavior of this method
is to call |
void |
Application.publishEvent(FacesContext context,
java.lang.Class<? extends SystemEvent> systemEventClass,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.String viewId,
java.lang.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,
java.lang.String viewId,
java.lang.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,
java.lang.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,
java.lang.String viewId)
Perform whatever
actions are required to restore the view associated with the
specified
FacesContext and viewId . |
UIViewRoot |
StateManagerWrapper.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.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,
java.lang.String viewId,
java.lang.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 . |
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 return null |
java.lang.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. |
java.lang.Object |
StateManager.saveView(FacesContext context)
Return an opaque
Object containing sufficient
information for this same instance to restore the state of the
current UIViewRoot on a subsequent request. |
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,
java.lang.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,
java.lang.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 | Field and Description |
---|---|
private FacesContext |
SelectItemsIterator.ctx
The
FacesContext for the current request. |
private FacesContext |
SelectItemsIterator.ArrayIterator.ctx |
private FacesContext |
SelectItemsIterator.IterableItemIterator.ctx |
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,
java.lang.String target)
Add argument |
private void |
UIInput.addConversionErrorMessage(FacesContext context,
ConverterException ce) |
void |
UIViewRoot.broadcastEvents(FacesContext context,
PhaseId phaseId)
Broadcast any events that have been queued. |
private void |
UIViewRoot.clearFacesEvents(FacesContext context) |
private static java.lang.Object |
SelectUtils.coerceToModelType(FacesContext ctx,
java.lang.Object value,
java.lang.Class toType)
Coerce the provided value to the specified type using EL coercion.
|
private boolean |
UIInput.considerEmptyStringNull(FacesContext ctx) |
private boolean |
UIData.contextHasErrorMessages(FacesContext context) |
private static PhaseEvent |
UIViewRoot.createPhaseEvent(FacesContext context,
PhaseId phaseId) |
java.lang.String |
UniqueIdVendor.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component.
|
java.lang.String |
UIViewRoot.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component.
|
java.lang.String |
UINamingContainer.createUniqueId(FacesContext context,
java.lang.String seed) |
java.lang.String |
UIForm.createUniqueId(FacesContext context,
java.lang.String seed)
Generate an identifier for a component. |
java.lang.String |
UIData.createUniqueId(FacesContext context,
java.lang.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 |
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. |
private static void |
UIComponentBase.disconnectFromView(FacesContext context,
Application application,
UIComponent component) |
private static java.lang.Object |
SelectUtils.doConversion(FacesContext ctx,
UIComponent component,
SelectItem item,
java.lang.Object value,
Converter converter) |
private void |
UIComponentBase.doPostAddProcessing(FacesContext context,
UIComponent added) |
private void |
UIComponentBase.doPreRemoveProcessing(FacesContext context,
UIComponent toRemove) |
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)
|
private void |
UIViewRoot.encodeViewParameters(FacesContext context) |
(package private) static java.util.List<java.lang.String> |
SharedUtils.evaluateExpressions(FacesContext context,
java.util.List<java.lang.String> values) |
(package private) static java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
SharedUtils.evaluateExpressions(FacesContext context,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> map) |
private void |
UIInput.executeValidate(FacesContext context)
Executes validation logic.
|
private Resource |
UIComponent.findComponentResourceBundleLocaleMatch(FacesContext context,
java.lang.String resourceName,
java.lang.String libraryName) |
java.lang.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. |
java.lang.String |
UIComponentBase.getClientId(FacesContext context) |
abstract java.lang.String |
UIComponent.getClientId(FacesContext context)
Return a client-side identifier for this component, generating
one if necessary.
|
java.util.List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context,
java.lang.String target)
Return an unmodifiable
|
private java.util.List<UIComponent> |
UIViewRoot.getComponentResources(FacesContext context,
java.lang.String target,
boolean create) |
java.lang.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. |
java.lang.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 java.lang.Object |
UIViewParameter.getConvertedValue(FacesContext context,
java.lang.Object submittedValue)
Because this class has no |
protected java.lang.Object |
UIInput.getConvertedValue(FacesContext context,
java.lang.Object newSubmittedValue)
Convert the submitted value into a "local value" of the
appropriate data type, if necessary.
|
private Converter |
UIInput.getConverterWithType(FacesContext context) |
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 |
private Renderer |
UIViewParameter.getInputTextRenderer(FacesContext context) |
(package private) static java.lang.Object |
MessageFactory.getLabel(FacesContext context,
UIComponent component)
Returns the
label property from the specified
component. |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
FacesMessage.Severity severity,
java.lang.Object... params) |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
java.lang.Object... params)
Creates and returns a FacesMessage for the specified Locale.
|
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 . |
protected SelectItem |
SelectItemsIterator.GenericObjectSelectItemIterator.getSelectItemFor(FacesContext ctx,
java.lang.Object value) |
static char |
UINamingContainer.getSeparatorChar(FacesContext context)
Return the character used to separate segments of a clientId. |
java.lang.String |
UIViewParameter.getStringValue(FacesContext context)
If the value of this parameter comes
from a |
java.lang.String |
UIViewParameter.getStringValueFromModel(FacesContext context)
Manually perform standard conversion steps to get a string value from the value expression. |
java.lang.Class |
ValueBindingValueExpressionAdapter.getType(FacesContext context) |
java.lang.Class |
MethodBindingMethodExpressionAdapter.getType(FacesContext context) |
UIViewParameter |
UIViewParameter.Reference.getUIViewParameter(FacesContext context)
Return the
|
java.lang.Object |
ValueBindingValueExpressionAdapter.getValue(FacesContext context) |
java.lang.Object |
MethodBindingMethodExpressionAdapter.invoke(FacesContext context,
java.lang.Object[] params) |
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,
java.lang.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,
java.lang.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,
java.lang.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. |
private boolean |
UIInput.isBeansValidationAvailable(FacesContext context) |
boolean |
ValueBindingValueExpressionAdapter.isReadOnly(FacesContext context) |
private void |
UIData.iterate(FacesContext context,
PhaseId phaseId)
Perform the appropriate phase-specific processing and per-row
iteration for the specified phase, as follows:
Set the
rowIndex property to -1, and process the facets
of this UIData component exactly once.
Set the rowIndex property to -1, and process the facets
of the UIColumn children of this UIData component
exactly once.
Iterate over the relevant rows, based on the first
and row properties, and process the children
of the UIColumn children of this UIData component
once per row.
|
private boolean |
UIData.keepSaved(FacesContext context)
Return
true if we need to keep the saved
per-child state information. |
(package private) static boolean |
SelectUtils.matchValue(FacesContext ctx,
UIComponent component,
java.lang.Object value,
java.util.Iterator<SelectItem> items,
Converter converter)
Return
true if the specified value matches one of the
available options, performing a recursive search if if a SelectItemGroup instance is detected. |
private void |
UIViewRoot.notifyAfter(FacesContext context,
PhaseId phaseId) |
private void |
UIViewRoot.notifyBefore(FacesContext context,
PhaseId phaseId) |
private void |
UIViewRoot.notifyPhaseListeners(FacesContext context,
PhaseId phaseId,
boolean isBefore)
Utility method that notifies phaseListeners for the given
phaseId.
|
void |
UIComponent.popComponentFromEL(FacesContext context)
Pop the current
|
private void |
UIData.preDecode(FacesContext context) |
private void |
UIData.preEncode(FacesContext context) |
private void |
UIData.preUpdate(FacesContext context) |
private void |
UIData.preValidate(FacesContext context) |
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,
java.lang.Object state)
The default
implementation must call |
void |
UIComponentBase.processRestoreState(FacesContext context,
java.lang.Object state) |
abstract void |
UIComponent.processRestoreState(FacesContext context,
java.lang.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.
|
java.lang.Object |
UIComponentBase.processSaveState(FacesContext context) |
abstract java.lang.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.
|
private static void |
UIComponentBase.publishAfterViewEvents(FacesContext context,
Application application,
UIComponent component) |
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,
java.lang.String target)
Remove argument |
java.lang.Object |
StateHolderSaver.restore(FacesContext context) |
static java.lang.Object |
UIComponentBase.restoreAttachedState(FacesContext context,
java.lang.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) . |
private void |
UIComponentBase.restoreBehaviors(FacesContext ctx,
java.util.List<ClientBehavior> existingBehaviors,
java.lang.Object[] state) |
private UIComponentBase.BehaviorsMap |
UIComponentBase.restoreBehaviorsState(FacesContext context,
java.lang.Object state) |
private static java.util.Map<java.lang.String,javax.el.ValueExpression> |
UIComponentBase.restoreBindingsState(FacesContext context,
java.lang.Object state) |
private void |
UIData.restoreDescendantState(UIComponent component,
FacesContext context)
Restore state information for the specified component and its
descendants.
|
private void |
UIData.restoreFullDescendantComponentDeltaStates(FacesContext facesContext,
java.util.Iterator<UIComponent> childIterator,
java.lang.Object state,
java.lang.Object initialState,
boolean restoreChildFacets) |
private void |
UIData.restoreFullDescendantComponentStates(FacesContext facesContext,
java.util.Iterator<UIComponent> childIterator,
java.lang.Object state,
boolean restoreChildFacets) |
void |
ValueExpressionValueBindingAdapter.restoreState(FacesContext context,
java.lang.Object state) |
void |
ValueBindingValueExpressionAdapter.restoreState(FacesContext context,
java.lang.Object state) |
void |
UIViewRoot.restoreState(FacesContext context,
java.lang.Object state) |
void |
UIOutput.restoreState(FacesContext context,
java.lang.Object state) |
void |
UIInput.restoreState(FacesContext context,
java.lang.Object state) |
void |
UIData.restoreState(FacesContext context,
java.lang.Object state) |
void |
UIComponentBase.restoreState(FacesContext context,
java.lang.Object state) |
void |
UIComponent.ComponentSystemEventListenerAdapter.restoreState(FacesContext context,
java.lang.Object state) |
void |
StateHolder.restoreState(FacesContext context,
java.lang.Object state)
Perform any
processing required to restore the state from the entries in the
state Object.
|
void |
MethodExpressionMethodBindingAdapter.restoreState(FacesContext context,
java.lang.Object state) |
void |
MethodBindingValueChangeListener.restoreState(FacesContext context,
java.lang.Object state) |
void |
MethodBindingValidator.restoreState(FacesContext context,
java.lang.Object state) |
void |
MethodBindingMethodExpressionAdapter.restoreState(FacesContext context,
java.lang.Object state) |
void |
ComponentStateHelper.restoreState(FacesContext context,
java.lang.Object state)
One and only implementation of
restore state.
|
void |
AttachedObjectListHolder.restoreState(FacesContext context,
java.lang.Object state) |
private java.util.Map<java.lang.Class<? extends SystemEvent>,java.util.List<SystemEventListener>> |
UIComponentBase.restoreSystemEventListeners(FacesContext ctx,
java.lang.Object state) |
private void |
UIData.restoreTransientDescendantComponentStates(FacesContext facesContext,
java.util.Iterator<UIComponent> childIterator,
java.util.Map<java.lang.String,java.lang.Object> state,
boolean restoreChildFacets) |
void |
UIComponent.restoreTransientState(FacesContext context,
java.lang.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,
java.lang.Object state)
Restore the "transient state" using the object passed as state. |
void |
ComponentStateHelper.restoreTransientState(FacesContext context,
java.lang.Object state) |
static java.lang.Object |
UIComponentBase.saveAttachedState(FacesContext context,
java.lang.Object attachedObject)
This method is called by |
private java.lang.Object |
UIComponentBase.saveBehavior(FacesContext ctx,
ClientBehavior behavior) |
private java.lang.Object |
UIComponentBase.saveBehaviorsState(FacesContext context)
Save state of the behaviors map.
|
private java.lang.Object |
UIComponentBase.saveBindingsState(FacesContext context) |
private java.util.Collection<java.lang.Object[]> |
UIData.saveDescendantInitialComponentStates(FacesContext facesContext,
java.util.Iterator<UIComponent> childIterator,
boolean saveChildFacets) |
private void |
UIData.saveDescendantState(UIComponent component,
FacesContext context)
Save state information for the specified component and its
descendants.
|
private java.util.Map<java.lang.String,java.lang.Object> |
UIData.saveFullDescendantComponentStates(FacesContext facesContext,
java.util.Map<java.lang.String,java.lang.Object> stateMap,
java.util.Iterator<UIComponent> childIterator,
boolean saveChildFacets) |
private java.lang.Object |
ComponentStateHelper.saveMap(FacesContext context,
java.util.Map<java.io.Serializable,java.lang.Object> map) |
java.lang.Object |
ValueExpressionValueBindingAdapter.saveState(FacesContext context) |
java.lang.Object |
ValueBindingValueExpressionAdapter.saveState(FacesContext context) |
java.lang.Object |
UIViewRoot.saveState(FacesContext context) |
java.lang.Object |
UIOutput.saveState(FacesContext context) |
java.lang.Object |
UIInput.saveState(FacesContext context) |
java.lang.Object |
UIData.saveState(FacesContext context) |
java.lang.Object |
UIComponentBase.saveState(FacesContext context) |
java.lang.Object |
UIComponent.ComponentSystemEventListenerAdapter.saveState(FacesContext context) |
java.lang.Object |
StateHolder.saveState(FacesContext context)
Gets the state of the instance as a
Serializable Object. |
java.lang.Object |
MethodExpressionMethodBindingAdapter.saveState(FacesContext context) |
java.lang.Object |
MethodBindingValueChangeListener.saveState(FacesContext context) |
java.lang.Object |
MethodBindingValidator.saveState(FacesContext context) |
java.lang.Object |
MethodBindingMethodExpressionAdapter.saveState(FacesContext context) |
java.lang.Object |
ComponentStateHelper.saveState(FacesContext context)
One and only implementation of
save-state - makes all other implementations
unnecessary.
|
java.lang.Object |
AttachedObjectListHolder.saveState(FacesContext context) |
private java.lang.Object |
UIComponentBase.saveSystemEventListeners(FacesContext ctx) |
private java.util.Map<java.lang.String,java.lang.Object> |
UIData.saveTransientDescendantComponentStates(FacesContext facesContext,
java.util.Map<java.lang.String,java.lang.Object> childStates,
java.util.Iterator<UIComponent> childIterator,
boolean saveChildFacets) |
java.lang.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. |
java.lang.Object |
TransientStateHolder.saveTransientState(FacesContext context)
Return the object containing related "transient states". |
java.lang.Object |
ComponentStateHelper.saveTransientState(FacesContext context) |
void |
ValueBindingValueExpressionAdapter.setValue(FacesContext context,
java.lang.Object value) |
private void |
SelectItemsIterator.GenericObjectSelectItemIterator.GenericObjectSelectItem.updateItem(FacesContext ctx,
java.lang.Object value)
Updates the
SelectItem properties based on the
current value. |
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 . |
void |
MethodBindingValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value) |
private boolean |
UIInput.validateEmptyFields(FacesContext ctx) |
protected void |
UISelectOne.validateValue(FacesContext context,
java.lang.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,
java.lang.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,
java.lang.Object newValue)
Set the "valid"
property according to the below algorithm.
|
(package private) static boolean |
SelectUtils.valueIsNoSelectionOption(FacesContext ctx,
UIComponent component,
java.lang.Object value,
java.util.Iterator<SelectItem> items,
Converter converter)
Returns true iff component has a
UISelectItem child
whose itemValue exactly matches the argument value |
Constructor and Description |
---|
ArrayIterator(FacesContext ctx,
UISelectItems sourceComponent,
java.lang.Object array) |
IterableItemIterator(FacesContext ctx,
UISelectItems sourceComponent,
java.lang.Iterable<?> iterable) |
Reference(FacesContext context,
UIViewParameter param,
int indexInParent,
java.lang.String viewIdAtTimeOfConstruction)
Construct a reference to a
|
SelectItemsIterator(FacesContext ctx,
UIComponent parent)
Construct an iterator instance for the specified parent component.
|
StateHolderSaver(FacesContext context,
java.lang.Object toSave) |
Modifier and Type | Field and Description |
---|---|
private FacesContext |
ClientBehaviorContext.ClientBehaviorContextImpl.context |
Modifier and Type | Method and Description |
---|---|
abstract FacesContext |
ClientBehaviorContext.getFacesContext()
Returns the |
FacesContext |
ClientBehaviorContext.ClientBehaviorContextImpl.getFacesContext() |
Modifier and Type | Method and Description |
---|---|
static ClientBehaviorContext |
ClientBehaviorContext.createClientBehaviorContext(FacesContext context,
UIComponent component,
java.lang.String eventName,
java.lang.String sourceId,
java.util.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
|
private static java.util.Map<java.lang.String,javax.el.ValueExpression> |
AjaxBehavior.restoreBindings(FacesContext context,
java.lang.Object state) |
void |
BehaviorBase.restoreState(FacesContext context,
java.lang.Object state)
Implementation of
|
void |
AjaxBehavior.restoreState(FacesContext context,
java.lang.Object state) |
private static java.lang.Object |
AjaxBehavior.saveBindings(FacesContext context,
java.util.Map<java.lang.String,javax.el.ValueExpression> bindings) |
java.lang.Object |
BehaviorBase.saveState(FacesContext context)
Implementation of
|
java.lang.Object |
AjaxBehavior.saveState(FacesContext context) |
Constructor and Description |
---|
ClientBehaviorContextImpl(FacesContext context,
UIComponent component,
java.lang.String eventName,
java.lang.String sourceId,
java.util.Collection<ClientBehaviorContext.Parameter> parameters) |
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,
java.util.Collection<java.lang.String> ids,
java.util.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,
java.util.Collection<java.lang.String> ids,
java.util.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 | Field and Description |
---|---|
private FacesContext |
FacesContext.defaultFacesContext |
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<FacesContext> |
FacesContext.instance
The
ThreadLocal variable used to record the
FacesContext instance for each processing thread. |
Modifier and Type | Method and Description |
---|---|
static FacesContext |
FacesContext.getCurrentInstance()
Return the |
abstract FacesContext |
FacesContextFactory.getFacesContext(java.lang.Object context,
java.lang.Object request,
java.lang.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 |
---|---|
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. |
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 |
---|---|
java.lang.Object |
ShortConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
NumberConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
LongConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
IntegerConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
FloatConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
EnumConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value)
Convert the
value argument to one of the enum
constants of the class provided in our constructor. |
java.lang.Object |
DoubleConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
DateTimeConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
Converter.getAsObject(FacesContext context,
UIComponent component,
java.lang.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. |
java.lang.Object |
CharacterConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
ByteConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
BooleanConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
BigIntegerConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.Object |
BigDecimalConverter.getAsObject(FacesContext context,
UIComponent component,
java.lang.String value) |
java.lang.String |
ShortConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
NumberConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
LongConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
IntegerConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
FloatConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
EnumConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value)
Convert the enum constant given by the
value
argument into a String. |
java.lang.String |
DoubleConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
DateTimeConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
Converter.getAsString(FacesContext context,
UIComponent component,
java.lang.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. |
java.lang.String |
CharacterConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
ByteConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
BooleanConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
BigIntegerConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
java.lang.String |
BigDecimalConverter.getAsString(FacesContext context,
UIComponent component,
java.lang.Object value) |
(package private) static java.lang.Object |
MessageFactory.getLabel(FacesContext context,
UIComponent component)
Returns the
label property from the specified
component. |
private java.util.Locale |
NumberConverter.getLocale(FacesContext context)
Return the
Locale we will use for localizing our
formatting and parsing processing. |
private java.util.Locale |
DateTimeConverter.getLocale(FacesContext context)
Return the
Locale we will use for localizing our
formatting and parsing processing. |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
FacesMessage.Severity severity,
java.lang.Object... params) |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
java.lang.Object... params)
Creates and returns a FacesMessage for the specified Locale.
|
void |
NumberConverter.restoreState(FacesContext context,
java.lang.Object state) |
void |
EnumConverter.restoreState(FacesContext facesContext,
java.lang.Object object) |
void |
DateTimeConverter.restoreState(FacesContext context,
java.lang.Object state) |
java.lang.Object |
NumberConverter.saveState(FacesContext context) |
java.lang.Object |
EnumConverter.saveState(FacesContext facesContext) |
java.lang.Object |
DateTimeConverter.saveState(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class |
ValueBinding.getType(FacesContext context)
Deprecated.
Return the type of the property represented by this
ValueBinding , relative to the specified FacesContext . |
abstract java.lang.Class |
MethodBinding.getType(FacesContext context)
Deprecated.
Return the Java class representing the return type from the
method identified by this method binding expression.
|
abstract java.lang.Object |
ValueBinding.getValue(FacesContext context)
Deprecated.
Return the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
abstract java.lang.Object |
MethodBinding.invoke(FacesContext context,
java.lang.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 java.lang.Object |
VariableResolver.resolveVariable(FacesContext context,
java.lang.String name)
Deprecated.
Resolve the specified variable name, and return the corresponding
object, if any; otherwise, return
null . |
abstract void |
ValueBinding.setValue(FacesContext context,
java.lang.Object value)
Deprecated.
Set the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
Modifier and Type | Field and Description |
---|---|
private FacesContext |
PhaseEvent.context |
private FacesContext |
ExceptionQueuedEventContext.context |
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,
java.lang.Object state)
Both |
void |
MethodExpressionActionListener.restoreState(FacesContext context,
java.lang.Object state)
Both |
java.lang.Object |
MethodExpressionValueChangeListener.saveState(FacesContext context)
Both |
java.lang.Object |
MethodExpressionActionListener.saveState(FacesContext context)
Both |
Constructor and Description |
---|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown)
Instantiate a new
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.Throwable thrown,
UIComponent component)
Instantiate a new
|
ExceptionQueuedEventContext(FacesContext context,
java.lang.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 |
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 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 |
---|---|
java.lang.String |
Renderer.convertClientId(FacesContext context,
java.lang.String clientId)
Convert the component generated client id to a form suitable
for transmission to the client.
|
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 |
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 |
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 |
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. |
java.lang.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 . |
java.lang.Object |
Renderer.getConvertedValue(FacesContext context,
UIComponent component,
java.lang.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). |
abstract RenderKit |
RenderKitFactory.getRenderKit(FacesContext context,
java.lang.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 . |
java.lang.Object |
ResponseStateManager.getState(FacesContext context,
java.lang.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) . |
java.lang.Object |
ResponseStateManager.getTreeStructureToRestore(FacesContext context,
java.lang.String viewId)
Deprecated.
This method has been replaced by
ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String) .
The default implementation returns null . |
java.lang.String |
ResponseStateManager.getViewState(FacesContext context,
java.lang.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.
|
void |
ResponseStateManager.writeState(FacesContext context,
java.lang.Object state) |
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 | Field and Description |
---|---|
private FacesContext |
BeanValidator.JsfAwareMessageInterpolator.context |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.Object |
MessageFactory.getLabel(FacesContext context,
UIComponent component)
Returns the
label property from the specified
component. |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
FacesMessage.Severity severity,
java.lang.Object... params) |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
java.lang.Object... params)
Creates and returns a FacesMessage for the specified Locale.
|
private static java.lang.String |
LengthValidator.integerToString(UIComponent component,
java.lang.Integer toConvert,
FacesContext context) |
void |
RegexValidator.restoreState(FacesContext context,
java.lang.Object state) |
void |
MethodExpressionValidator.restoreState(FacesContext context,
java.lang.Object state) |
void |
LongRangeValidator.restoreState(FacesContext context,
java.lang.Object state) |
void |
LengthValidator.restoreState(FacesContext context,
java.lang.Object state) |
void |
DoubleRangeValidator.restoreState(FacesContext context,
java.lang.Object state) |
void |
BeanValidator.restoreState(FacesContext context,
java.lang.Object state) |
java.lang.Object |
RegexValidator.saveState(FacesContext context) |
java.lang.Object |
MethodExpressionValidator.saveState(FacesContext context) |
java.lang.Object |
LongRangeValidator.saveState(FacesContext context) |
java.lang.Object |
LengthValidator.saveState(FacesContext context) |
java.lang.Object |
DoubleRangeValidator.saveState(FacesContext context) |
java.lang.Object |
BeanValidator.saveState(FacesContext context) |
private static java.lang.String |
DoubleRangeValidator.stringValue(UIComponent component,
java.lang.Double toConvert,
FacesContext context) |
private static java.lang.String |
LongRangeValidator.stringValue(UIComponent component,
java.lang.Long toConvert,
FacesContext context) |
void |
Validator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
|
void |
RequiredValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Verify that the converted object value is not null.
|
void |
RegexValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Validate a String against a regular expression pattern.
|
void |
MethodExpressionValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value) |
void |
LongRangeValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value) |
void |
LengthValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value) |
void |
DoubleRangeValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value) |
void |
BeanValidator.validate(FacesContext context,
UIComponent component,
java.lang.Object value)
Verify that the value is valid according to the Bean Validation constraints. |
Constructor and Description |
---|
JsfAwareMessageInterpolator(FacesContext context,
javax.validation.MessageInterpolator delegate) |
Modifier and Type | Method and Description |
---|---|
void |
AttachedObjectHandler.applyAttachedObject(FacesContext context,
UIComponent parent)
Take the argument
|
abstract void |
ViewDeclarationLanguage.buildView(FacesContext context,
UIViewRoot root)
Take any actions specific to
this VDL implementation to cause the argument
|
abstract UIViewRoot |
ViewMetadata.createMetadataView(FacesContext context)
Creates a new |
abstract UIViewRoot |
ViewDeclarationLanguage.createView(FacesContext context,
java.lang.String viewId)
Create a |
abstract java.beans.BeanInfo |
ViewDeclarationLanguage.getComponentMetadata(FacesContext context,
Resource componentResource)
Return a reference to the component
metadata for the composite component represented by the argument
|
abstract Resource |
ViewDeclarationLanguage.getScriptComponentResource(FacesContext context,
Resource componentResource)
Take implementation specific action
to discover a |
abstract StateManagementStrategy |
ViewDeclarationLanguage.getStateManagementStrategy(FacesContext context,
java.lang.String viewId)
For implementations that want to
control the implementation of state saving and restoring, the
|
abstract ViewMetadata |
ViewDeclarationLanguage.getViewMetadata(FacesContext context,
java.lang.String viewId)
Return a reference to the view
metadata for the view represented by the argument
|
abstract void |
ViewDeclarationLanguage.renderView(FacesContext context,
UIViewRoot view)
Render a view rooted at
argument |
abstract UIViewRoot |
ViewDeclarationLanguage.restoreView(FacesContext context,
java.lang.String viewId)
Restore a |
abstract UIViewRoot |
StateManagementStrategy.restoreView(FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId)
Restore the state of the view with information in the request. |
void |
ViewDeclarationLanguage.retargetAttachedObjects(FacesContext context,
UIComponent topLevelComponent,
java.util.List<AttachedObjectHandler> handlers)
Assuming the component
metadata for argument |
void |
ViewDeclarationLanguage.retargetMethodExpressions(FacesContext context,
UIComponent topLevelComponent)
Assuming the component metadata for
argument |
abstract java.lang.Object |
StateManagementStrategy.saveView(FacesContext context)
Return the state of the current view
in an |
boolean |
ViewDeclarationLanguage.viewExists(FacesContext context,
java.lang.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 |
---|---|
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 | Field and Description |
---|---|
private FacesContext |
UIComponentClassicTagBase.context
The
FacesContext for the request being processed, if any. |
Modifier and Type | Method and Description |
---|---|
protected abstract FacesContext |
UIComponentTagBase.getFacesContext()
Return the
FacesContext instance for the current
request. |
protected FacesContext |
UIComponentClassicTagBase.getFacesContext() |
private static FacesContext |
UIComponentClassicTagBase.getFacesContext(javax.servlet.jsp.PageContext pageContext) |
Modifier and Type | Method and Description |
---|---|
private static UIComponentClassicTagBase |
UIComponentClassicTagBase._getParentUIComponentClassicTagBase(FacesContext facesContext) |
private UIComponent |
UIComponentClassicTagBase.createChild(FacesContext context,
UIComponent parent,
UIComponentClassicTagBase parentTag,
java.lang.String componentId)
Create a new child component using
createComponent ,
initialize its properties, and add it to its parent as a child. |
protected UIComponent |
UIComponentTag.createComponent(FacesContext context,
java.lang.String newId)
Deprecated.
Implement
createComponent using Faces 1.1 EL
API. |
protected UIComponent |
UIComponentELTag.createComponent(FacesContext context,
java.lang.String newId)
Create and return a new child component of the type returned by
calling
getComponentType() . |
protected abstract UIComponent |
UIComponentClassicTagBase.createComponent(FacesContext context,
java.lang.String newId)
Create and return a new child component of the type returned
by calling
getComponentType() . |
private UIComponent |
UIComponentClassicTagBase.createFacet(FacesContext context,
UIComponent parent,
java.lang.String name,
java.lang.String newId)
Create a new child component using
createComponent ,
initialize its properties, and add it to its parent as a facet. |
private java.lang.String |
UIComponentClassicTagBase.createId(FacesContext context)
Create the component identifier to be used for this component.
|
protected UIComponent |
UIComponentClassicTagBase.findComponent(FacesContext context)
Find and return the
UIComponent , from the component
tree, that corresponds to this tag handler instance. |
(package private) static java.lang.Object |
MessageFactory.getLabel(FacesContext context,
UIComponent component)
Returns the
label property from the specified
component. |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
FacesMessage.Severity severity,
java.lang.Object... params) |
(package private) static FacesMessage |
MessageFactory.getMessage(FacesContext context,
java.lang.String messageId,
java.lang.Object... params)
Creates and returns a FacesMessage for the specified Locale.
|
Constructor and Description |
---|
UIComponentClassicTagBase(javax.servlet.jsp.PageContext pageContext,
FacesContext facesContext) |