Home » Mojarra-2.0.1 » javax » faces »

javax.faces

Sub Packages:

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.bean   These javadoc files constitute the “Faces Managed Bean Annotation Specification for Containers Conforming to Servlet 2.5 and Beyond” At the time of this writing, a forthcoming JCP effort is being planned to extract the specification for managed beans from JSF and place it into its own specification.  
javax.faces.component   Fundamental APIs for user interface components. For your convenience here is a UML class diagram of the classes in this package.  
javax.faces.component.behavior   APIs for attaching additional behavior to user interface components.  
javax.faces.component.html   Specialized user interface component classes for HTML.  
javax.faces.component.visit   APIs for traversing a user interface component view. The following example visits all nodes in the view. UIViewRoot root = facesContext. getViewRoot ( ) ; root. visitTree ( VisitContext. createVisitContext ( context ) ,                new VisitCallback ( ) {                    public VisitResult visit ( VisitContext context,                                             UIComponent target ) {                        // take some action on target                        return VisitResult. ACCEPT ;                    }                } ) ; The following example visits two subtrees within the component view. Set<String> toVisit = getSet ( "form1:optionsPanel" , "form2:detailPanel" ) ; UIViewRoot root = facesContext. getViewRoot ( ) ; root. visitTree ( VisitContext. createVisitContext ( context, toVisit, null ) ,                new VisitCallback ( ) {                    public VisitResult visit ( VisitContext context,                                             UIComponent target ) {                        // take some action on target                        return VisitResult. ACCEPT ;                    }                } ) ; Note that every child node of those two subtrees is visited.  
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.model   Standard model data beans for JavaServer Faces.  
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.  

Interfaces:

FacesWrapper  

Any wrapper class in JSF that must provide access to the object it wraps must implement this interface.

 
code | html

Classes:

FacesException  

This class encapsulates general JavaServer Faces exceptions.

 
code | html
FactoryFinder  

FactoryFinder implements the standard discovery algorithm for all factory objects specified in the JavaServer Faces APIs. 

code | html
FactoryFinder.FactoryManager   Maintains the factories for a single web application.  code | html
FactoryFinder.FactoryManagerCache   Managed the mappings between a web application and its configured factories.  code | html
TypedCollections     code | html