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()
ViewDeclarationLanguage
getViewDeclarationLanguage(String viewId)
Return theViewDeclarationLanguage
instance 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: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 Server 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:
ViewDeclarationLanguageFactory.getViewDeclarationLanguage(String)
-
getAllViewDeclarationLanguages
- Overrides:
getAllViewDeclarationLanguages
in classViewDeclarationLanguageFactory
- See Also:
ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages()
-