Package javax.faces.view.facelets

This package contains public classes for the Java code API of Facelets.


Interface Summary

An interface that allows other code to identify FaceletHandlers that correspond to component attributes.


Convey the id of a behavior declared in a view.


Passed to the constructor of ComponentHandler.


A Facelet version of the JSP ConverterTag.


Factory interface for creating Facelet or View Metadata Facelet instances.


This is the root class for markup elements in Facelets VDL.


An interface that allows other code to identify FaceletHandlers that correspond to component facets.


Passed to the constructor of TagHandler subclass, it defines the document definition of the handler we are instantiating.

TagDecorator Provides the ability to completely change the Tag before it's processed for compiling with the associated TagHandler.

An interface that allows other code to identify FaceletHandlers that may provide text (String) content.


Used in creating ValidatorHandler and all implementations.


Class Summary

The FaceletHandler that corresponds to attached objects that represent an instance of ClientBehavior that must be added to the parent component, which must implement ClientBehaviorHolder, with a call to ClientBehaviorHolder.addClientBehavior(java.lang.String, javax.faces.component.behavior.ClientBehavior).


Public base class for markup element instances that map to UIComponent instances in the view.


A FaceletHandler that is derived of 1 or more, inner FaceletHandlers.


Handles setting a Converter instance on a ValueHolder parent.


Enable the JSF implementation to provide the appropriate behavior for the kind of MetaTagHandler subclass for each kind of element in the view, while providing a base-class from which those wanting to make a Java language custom tag handler can inherit.


This API defines the facility by which the Facelets ViewDeclarationLanguage creates and caches instances of Facelets.


Allows customization of the implementation of FaceletCache.


Context representative of a single request from a Facelet.


Root class for all tag handlers that represent attached objetcts in a Facelets page.


There are concrete subclasses within the implementation that map concepts in the Facelet VDL page to JSF Java API calls the appropriate instances.


Information used with MetaRule for determining how and what Metadata should be wired.


The root class of the abstraction that dictates how attributes on a markup element in a Facelets VDL page are wired to the JSF API object instance associated with that element.


A mutable set of rules to be used in auto-wiring state to a particular object instance.


Every kind of markup element in Facelets VDL that has attributes that need to take action on a JSF Java API artifact is associated with an instance of this class.


Provide a hook to decorate or override the way that Facelets loads template files.


The runtime must create an instance of this class for each element in the Facelets XHTML view.


Representation of an XML attribute name=value pair on an XML element in a Facelet file.


A set of TagAttributes, usually representing all attributes on a Tag.


Foundation class for FaceletHandlers associated with a markup element in a Facelet document.


Abstract class that defines methods relating to helping tag handler instances.


Abstract factory for creating instances of TagHandlerDelegate.


Handles setting a Validator instance on an EditableValueHolder parent.


Exception Summary

An Exception from the Facelet implementation


An Exception caused by a TagAttribute


An Exception caused by a Tag


Package javax.faces.view.facelets Description

This package contains public classes for the Java code API of Facelets. The vast majority of Facelets users have no need to access the Java API and can get all their work done using the tag-level API. These classes are provided for users that have a need for a Java API that allows participation in the execution of a Facelets View, which happens as a result of the runtime calling ViewDeclarationLanguage.buildView().

UML Class Diagram of classes in this package

The most common usecase for participating in the execution of a Facelets View is to provide a custom tag handler in those cases when the non-Java API methods for doing so is not sufficient. In such cases, Java classes may extend from ComponentHandler, BehaviorHandler, ConverterHandler, or ValidatorHandler depending upon the kind of JSF Java API artifact they want to represent in the Facelets VDL page.

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.