Package com.sun.faces.application.view
Class ViewDeclarationLanguageFactoryImpl
java.lang.Object
jakarta.faces.view.ViewDeclarationLanguageFactory
com.sun.faces.application.view.ViewDeclarationLanguageFactoryImpl
- All Implemented Interfaces:
FacesWrapper<ViewDeclarationLanguageFactory>
public class ViewDeclarationLanguageFactoryImpl extends ViewDeclarationLanguageFactory
Default implementation of
ViewDeclarationLanguageFactory.-
Constructor Summary
Constructors Constructor Description ViewDeclarationLanguageFactoryImpl() -
Method Summary
Modifier and Type Method Description List<ViewDeclarationLanguage>getAllViewDeclarationLanguages()ViewDeclarationLanguagegetViewDeclarationLanguage(String viewId)Return theViewDeclarationLanguageinstance suitable for handling the VDL contained in the page referenced by the argumentviewId.
-
Constructor Details
-
ViewDeclarationLanguageFactoryImpl
public ViewDeclarationLanguageFactoryImpl()
-
-
Method Details
-
getViewDeclarationLanguage
Description copied from class:ViewDeclarationLanguageFactoryReturn the
ViewDeclarationLanguageinstance suitable for handling the VDL contained in the page referenced by the argumentviewId. The default implementation must return a validViewDeclarationLanguageinstance for views written in either Jakarta Server Pages, Faces XML Views, or Facelets for Jakarta Server Faces 2.- Specified by:
getViewDeclarationLanguagein classViewDeclarationLanguageFactory- Parameters:
viewId- the viewId to be inspected for an appropriateViewDeclarationLanguageimplementation for the VDL used in the view.- Returns:
- the
ViewDeclarationLanguagecorresponding to the argumentviewId - See Also:
ViewDeclarationLanguageFactory.getViewDeclarationLanguage(String)
-
getAllViewDeclarationLanguages
- Overrides:
getAllViewDeclarationLanguagesin classViewDeclarationLanguageFactory- See Also:
ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages()
-