Class ViewDeclarationLanguageFactory

java.lang.Object
jakarta.faces.view.ViewDeclarationLanguageFactory
All Implemented Interfaces:
FacesWrapper<ViewDeclarationLanguageFactory>
Direct Known Subclasses:
ViewDeclarationLanguageFactoryImpl

public abstract class ViewDeclarationLanguageFactory extends Object implements FacesWrapper<ViewDeclarationLanguageFactory>

ViewDeclarationLanguageFactory is a factory object that creates (if needed) and returns a new ViewDeclarationLanguage instance based on the VDL found in a specific view.

There must be one ViewDeclarationLanguageFactory instance per web application that is utilizing Jakarta Server Faces. This instance can be acquired, in a portable manner, by calling:

 
   ViewDeclarationLanguageFactory factory = (ViewDeclarationLanguageFactory)
    FactoryFinder.getFactory(FactoryFinder.VIEW_DECLARATION_LANGUAGE_FACTORY);
 
 

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
2.0