Package javax.faces.view.facelets
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()
.
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.
-
ClassDescriptionAn interface that allows other code to identify FaceletHandlers that correspond to component attributes.Convey the id of a behavior declared in a view.The
FaceletHandler
that corresponds to attached objects that represent an instance ofClientBehavior
that must be added to the parent component, which must implementClientBehaviorHolder
, with a call toClientBehaviorHolder.addClientBehavior(java.lang.String, javax.faces.component.behavior.ClientBehavior)
.Passed to the constructor ofComponentHandler
.Public base class for markup element instances that map toUIComponent
instances in the view.A FaceletHandler that is derived of 1 or more, inner FaceletHandlers.A Facelet version of the JSPConverterTag
.Handles setting aConverter
instance on aValueHolder
parent.Enable the JSF implementation to provide the appropriate behavior for the kind ofMetaTagHandler
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.The parent or root object in a FaceletHandler composition.FaceletCache<V>This API defines the facility by which the FaceletsViewDeclarationLanguage
creates and caches instances of Facelets.Factory interface for creating Facelet or View Metadata Facelet instances.Allows customization of the implementation ofFaceletCache
.Context representative of a single request from a Facelet.An Exception from the Facelet implementationThis is the root class for markup elements in Facelets VDL.Root class for all tag handlers that represent attached objetcts in a Facelets page.The presence of this annotation on a class automatically registers the class with the runtime as aResourceResolver
.An interface that allows other code to identify FaceletHandlers that correspond to component facets.There are concrete subclasses within the implementation that map concepts in the Facelet VDL page to JSF Java API calls the appropriate instances.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.Deprecated.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.An Exception caused by aTagAttribute
A set of TagAttributes, usually representing all attributes on a Tag.Passed to the constructor ofTagHandler
subclass, it defines the document definition of the handler we are instantiating.Provides the ability to completely change the Tag before it's processed for compiling with the associatedTagHandler
.An Exception caused by aTag
Foundation class forFaceletHandler
s 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 ofTagHandlerDelegate
.An interface that allows other code to identify FaceletHandlers that may provide text (String) content.Used in creatingValidatorHandler
and all implementations.Handles setting aValidator
instance on anEditableValueHolder
parent.