Top Description Methods
jakarta.faces.view.facelets

public Interface FaceletHandler

Known Direct Implementers
jakarta.faces.view.facelets.TagHandler, com.sun.faces.facelets.compiler.AbstractUIHandler, com.sun.faces.facelets.compiler.EncodingHandler, com.sun.faces.facelets.compiler.NamespaceHandler, jakarta.faces.view.facelets.CompositeFaceletHandler
Imports
java.io.IOException, jakarta.faces.component.UIComponent

This is the root class for markup elements in Facelets VDL. Facelets is XHTML, and XHTML is XML, and the root unit of abstraction in XML is the element. A FaceletHandler instance represents an XML element at runtime. Two direct implementations exist to embody the contract for more specific behavior.

CompositeFaceletHandler
A container for other FaceletHandlers
TagHandler
The foundation class for FaceletHandlers associated with markup in a Facelet document.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
apply(FaceletContext
the current FaceletContext instance for this execution
ctx
,
UIComponent
the parent UIComponent to operate upon
parent
)

Process changes on a particular UIComponent

Method Detail

applyback to summary
public void apply(FaceletContext ctx, UIComponent parent) throws IOException

Process changes on a particular UIComponent

Parameters
ctx:FaceletContext

the current FaceletContext instance for this execution

parent:UIComponent

the parent UIComponent to operate upon

Exceptions
IOException:
if unable to load relativePath
FaceletException:
if unable to parse the markup loaded from relativePath
FacesException:
if unable to create child UIComponent instances
ELException:
if any of the expressions in the markup loaded from relativePath fail
Since
2.0