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 ofViewDeclarationLanguageFactory.
-
-
Constructor Summary
Constructors Constructor Description ViewDeclarationLanguageFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ViewDeclarationLanguage>getAllViewDeclarationLanguages()Gets the list of all view declaration languages supported by this runtime.ViewDeclarationLanguagegetViewDeclarationLanguage(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
-
-
-
-
Method Detail
-
getViewDeclarationLanguage
public ViewDeclarationLanguage getViewDeclarationLanguage(String viewId)
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:
ViewDeclarationLanguageFactory.getViewDeclarationLanguage(String)
-
getAllViewDeclarationLanguages
public List<ViewDeclarationLanguage> 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:
ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages()
-
-