Modifier and Type | Method and Description |
---|---|
Behavior |
ApplicationImpl.createBehavior(String behaviorId) |
UIComponent |
ApplicationImpl.createComponent(FacesContext context,
Resource componentResource) |
UIComponent |
ApplicationImpl.createComponent(String componentType) |
UIComponent |
ApplicationImpl.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType) |
UIComponent |
ApplicationImpl.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
String componentType) |
Validator<?> |
ApplicationImpl.createValidator(String validatorId) |
void |
ViewHandlerImpl.initView(FacesContext context)
Deprecated.
Do not call the default implementation of
ViewHandler.initView(javax.faces.context.FacesContext) if the
ExternalContext.getRequestCharacterEncoding() returns a
non-null result. |
void |
ViewHandlerImpl.renderView(FacesContext context,
UIViewRoot viewToRender)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Behavior |
InstanceFactory.createBehavior(String behaviorId) |
UIComponent |
InstanceFactory.createComponent(FacesContext context,
Resource componentResource,
javax.el.ExpressionFactory expressionFactory) |
UIComponent |
InstanceFactory.createComponent(String componentType) |
UIComponent |
InstanceFactory.createComponent(ValueBinding componentBinding,
FacesContext context,
String componentType) |
UIComponent |
InstanceFactory.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
String componentType) |
Validator<?> |
InstanceFactory.createValidator(String validatorId) |
Modifier and Type | Class and Description |
---|---|
class |
ViewHandlingStrategyNotFoundException
Indicates that no
ViewHandlingStrategy
instances were found appropriate to a particulare view ID. |
Modifier and Type | Method and Description |
---|---|
void |
MultiViewHandler.initView(FacesContext context)
Call the default implementation of
ViewHandler.initView(javax.faces.context.FacesContext) |
void |
MultiViewHandler.renderView(FacesContext context,
UIViewRoot viewToRender)
Call
ViewDeclarationLanguage.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)
if the view can be rendered. |
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationException
This represents any configuration processing problems that could
occur.
|
Modifier and Type | Method and Description |
---|---|
void |
ExternalContextImpl.dispatch(String requestURI) |
ExternalContext |
ExternalContextFactoryImpl.getExternalContext(Object servletContext,
Object request,
Object response) |
FacesContext |
FacesContextFactoryImpl.getFacesContext(Object sc,
Object request,
Object response,
Lifecycle lifecycle) |
FacesContext |
InjectionFacesContextFactory.getFacesContext(Object context,
Object request,
Object response,
Lifecycle lifecycle) |
void |
AjaxExceptionHandlerImpl.handle() |
void |
ExceptionHandlerImpl.handle() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
FaceletContextImplBase.includeDefinition(UIComponent parent,
String name)
This method will walk through the TemplateClient stack to resolve and
apply the definition for the passed name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UIRepeat.invokeOnComponent(FacesContext faces,
String clientId,
ContextCallback callback) |
Modifier and Type | Method and Description |
---|---|
TagHandler |
TagLibrary.createTagHandler(String ns,
String localName,
TagConfig tag)
Create a new instance of a TagHandler, using the passed TagConfig
|
TagHandler |
CompositeTagLibrary.createTagHandler(String ns,
String localName,
TagConfig tag) |
TagHandler |
AbstractTagLibrary.createTagHandler(String ns,
String localName,
TagConfig tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
BehaviorHolderWrapper.invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
CompositeComponentTagHandler.applyNextHandler(FaceletContext ctx,
UIComponent c) |
TagHandler |
FacesComponentTagLibrary.createTagHandler(String ns,
String localName,
TagConfig tag) |
TagHandler |
CompositeComponentTagLibrary.createTagHandler(String ns,
String localName,
TagConfig tag) |
static void |
ComponentSupport.encodeRecursive(FacesContext context,
UIComponent viewToRender) |
Modifier and Type | Method and Description |
---|---|
protected Converter |
ConvertDelegateHandler.createConverter(FaceletContext ctx)
Uses the specified "converterId" to pull an instance from the Application
|
protected Converter |
ConvertDateTimeHandler.createConverter(FaceletContext ctx)
Returns a new DateTimeConverter
|
protected Converter |
ConvertNumberHandler.createConverter(FaceletContext ctx)
Returns a new NumberConverter
|
Modifier and Type | Method and Description |
---|---|
void |
IfHandler.apply(FaceletContext ctx,
UIComponent parent) |
Modifier and Type | Method and Description |
---|---|
TagHandler |
FunctionLibrary.createTagHandler(String ns,
String localName,
TagConfig tag) |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleImpl.execute(FacesContext context) |
void |
InvokeApplicationPhase.execute(FacesContext facesContext) |
void |
ApplyRequestValuesPhase.execute(FacesContext facesContext) |
void |
ProcessValidationsPhase.execute(FacesContext facesContext) |
void |
RestoreViewPhase.execute(FacesContext facesContext)
PRECONDITION: the necessary factories have been installed in the
ServletContext attr set.
|
abstract void |
Phase.execute(FacesContext context)
Perform all state transitions required by the current phase of the
request processing
Lifecycle for a
particular request. |
void |
RenderResponsePhase.execute(FacesContext facesContext) |
Lifecycle |
LifecycleFactoryImpl.getLifecycle(String lifecycleId) |
void |
LifecycleImpl.render(FacesContext context) |
Modifier and Type | Class and Description |
---|---|
class |
ManagedBeanCreationException
Indicates an error in the ManagedBean, be it a user error or runtime error.
|
class |
ManagedBeanPreProcessingException
Represents errors from managed bean pre-processing.
|
Modifier and Type | Method and Description |
---|---|
static void |
RenderKitUtils.renderHtmlErrorPage(FacesContext ctx,
FacesException fe) |
Modifier and Type | Method and Description |
---|---|
static ResponseStateManager |
RenderKitUtils.getResponseStateManager(FacesContext context,
String renderKitId)
Obtain and return the
ResponseStateManager for
the specified #renderKitId. |
Constructor and Description |
---|
HtmlResponseWriter(Writer writer,
String contentType,
String encoding)
Constructor sets the
ResponseWriter and
encoding, and enables script hiding by default. |
HtmlResponseWriter(Writer writer,
String contentType,
String encoding,
Boolean isScriptHidingEnabled,
Boolean isScriptInAttributeValueEnabled,
WebConfiguration.DisableUnicodeEscaping disableUnicodeEscaping,
boolean isPartial)
Constructor sets the
ResponseWriter and
encoding. |
Modifier and Type | Method and Description |
---|---|
static ClassLoader |
Util.getContextClassLoader2()
Identify and return the class loader that is associated with the calling web application.
|
static StateManager |
Util.getStateManager(FacesContext context) |
static ViewHandler |
Util.getViewHandler(FacesContext context) |
Modifier and Type | Method and Description |
---|---|
static Object |
FactoryFinder.getFactory(String factoryName)
Create (if necessary) and return a
per-web-application instance of the appropriate implementation class for the specified
Jakarta Server Faces factory class, based on the discovery algorithm described in the class
description.
|
static void |
FactoryFinder.releaseFactories()
Release any references to factory instances
associated with the class loader for the calling web application.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtectedViewException
This exception is thrown by the runtime when a violation of the view protection mechanism is encountered. |
class |
ViewExpiredException
Implementations must throw this
FacesException when attempting to restore the view
StateManager.restoreView(javax.faces.context.FacesContext, String, String) results in
failure on postback. |
Modifier and Type | Method and Description |
---|---|
Behavior |
ApplicationWrapper.createBehavior(String behaviorId)
The default behavior of this method is to call |
Behavior |
Application.createBehavior(String behaviorId)
Instantiate and return a new
Behavior instance
of the class specified by a previous call to addBehavior() for the specified
behavior id. |
UIComponent |
ApplicationWrapper.createComponent(String componentType)
The default behavior of this method is to call |
abstract UIComponent |
Application.createComponent(String componentType)
Instantiate and return a new
UIComponent
instance of the class specified by a previous call to addComponent() for the
specified component type. |
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(javax.el.ValueExpression componentExpression,
FacesContext context,
String componentType)
The default behavior of this method is to call
|
UIComponent |
Application.createComponent(javax.el.ValueExpression componentExpression,
FacesContext context,
String componentType)
Call the
getValue() method on the
specified ValueExpression . |
Validator |
ApplicationWrapper.createValidator(String validatorId)
The default behavior of this method is to call |
abstract Validator |
Application.createValidator(String validatorId)
Instantiate and return a new
Validator
instance of the class specified by a previous call to addValidator() for the
specified validator id. |
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 |
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 . |
Modifier and Type | Class and Description |
---|---|
class |
UpdateModelException
This exception indicates a failure to
update the model and is created to wrap any exception
that occurs during |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
ComponentNotFoundException
Typed |
Modifier and Type | Method and Description |
---|---|
abstract ExternalContext |
ExternalContextFactory.getExternalContext(Object context,
Object request,
Object response)
Create (if needed)
and return an
ExternalContext instance that is initialized
for the processing of the specified request and response objects,
for this web application. |
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. |
void |
ExceptionHandlerWrapper.handle()
The default behavior of this method is to
call
ExceptionHandler.handle()
on the wrapped ExceptionHandler object. |
abstract void |
ExceptionHandler.handle()
Take action to handle the
|
Modifier and Type | Class and Description |
---|---|
class |
ConverterException
ConverterException is an exception thrown by the
getAsObject() or getAsText() method of a
Converter , to indicate that the requested conversion cannot
be performed. |
Modifier and Type | Class and Description |
---|---|
class |
EvaluationException
Deprecated.
This has been replaced by
ELException . |
class |
MethodNotFoundException
Deprecated.
This has been replaced by
MethodNotFoundException . |
class |
PropertyNotFoundException
Deprecated.
This has been replaced by
PropertyNotFoundException . |
class |
ReferenceSyntaxException
Deprecated.
This has been replaced by
ELException . |
Modifier and Type | Class and Description |
---|---|
class |
AbortProcessingException
An exception that may be thrown by event listeners to terminate the
processing of the current event.
|
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 Jakarta Server Faces Specification, in the specified
order.
|
void |
LifecycleWrapper.execute(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. |
void |
LifecycleWrapper.render(FacesContext context) |
Modifier and Type | Class and Description |
---|---|
class |
ValidatorException
A ValidatorException is an exception
thrown by the
validate() method of a
Validator to indicate that validation failed. |
Modifier and Type | Class and Description |
---|---|
class |
FaceletException
An Exception from the Facelet implementation |
class |
TagAttributeException
An Exception caused by a |
class |
TagException
An Exception caused by a |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingMetaTagHandler.applyNextHandler(FaceletContext ctx,
UIComponent c)
Invoke the |
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.