Class FaceletCache<V>

java.lang.Object
jakarta.faces.view.facelets.FaceletCache<V>

public abstract class FaceletCache<V> extends Object

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

The cache handles two different kinds of Facelets: View Facelets and View Metadata Facelets. The former is the usual Facelet that provides for the construction of a UIComponent tree. This kind of Facelet is accessed via the getFacelet(URL) and isFaceletCached(URL) methods. The latter is a special kind of Facelet that corresponds to ViewDeclarationLanguage.getViewMetadata(FacesContext, String). This kind of Facelet is accessed via the getViewMetadataFacelet(URL) and isViewMetadataFaceletCached(URL) methods.

Since:
2.1