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
-
Method Summary
Modifier and TypeMethodDescriptionGets the list of all view declaration languages supported by this runtime.getViewDeclarationLanguage
(String viewId) Return theViewDeclarationLanguage
instance 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:ViewDeclarationLanguageFactory
Return the
ViewDeclarationLanguage
instance suitable for handling the VDL contained in the page referenced by the argumentviewId
. The default implementation must return a validViewDeclarationLanguage
instance for views written in either Jakarta Server Pages, Faces XML Views, or Facelets for Jakarta Faces 2.- Specified by:
getViewDeclarationLanguage
in classViewDeclarationLanguageFactory
- Parameters:
viewId
- the viewId to be inspected for an appropriateViewDeclarationLanguage
implementation for the VDL used in the view.- Returns:
- the
ViewDeclarationLanguage
corresponding to the argumentviewId
- See Also:
-
getAllViewDeclarationLanguages
Description copied from class:ViewDeclarationLanguageFactory
Gets the list of all view declaration languages supported by this runtime.- Overrides:
getAllViewDeclarationLanguages
in classViewDeclarationLanguageFactory
- Returns:
- the list of all view declaration languages supported by this runtime.
- See Also:
-