Package | Description |
---|---|
javax.faces |
Top level classes for the
JavaServer(tm) Faces API.
|
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.search |
APIs for searching for components in the component tree by using expressions. |
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.validator |
Interface
defining the validator model, and concrete validator implementation classes.
|
javax.faces.view.facelets |
This package contains public classes for the Java code API of Facelets. |
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 JavaServer
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(ValueExpression componentExpression,
FacesContext context,
String componentType)
The default behavior of this method
is to call |
UIComponent |
Application.createComponent(ValueExpression componentExpression,
FacesContext context,
String componentType)
|
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 |
---|---|
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.
|
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 | 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 |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.