Module jakarta.faces
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>
Default implementation of
ViewDeclarationLanguageFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of all view declaration languages supported by this runtime.getViewDeclarationLanguage(String viewId) Return theViewDeclarationLanguageinstance suitable for handling the VDL contained in the page referenced by the argumentviewId.Methods inherited from class jakarta.faces.view.ViewDeclarationLanguageFactory
getWrapped
-
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 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:
-
getAllViewDeclarationLanguages
Description copied from class:ViewDeclarationLanguageFactoryGets the list of all view declaration languages supported by this runtime.- Overrides:
getAllViewDeclarationLanguagesin classViewDeclarationLanguageFactory- Returns:
- the list of all view declaration languages supported by this runtime.
- See Also:
-