Top Description Fields Constructors Methods
com.sun.faces.application.view

public Class ViewDeclarationLanguageFactoryImpl

extends ViewDeclarationLanguageFactory
Class Inheritance
Static Imports
java.util.Arrays.asList

Default implementation of ViewDeclarationLanguageFactory.

Field Summary

Modifier and TypeField and Description
private List<ViewDeclarationLanguage>
private ViewHandlingStrategyManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<ViewDeclarationLanguage>
getAllViewDeclarationLanguages()

Overrides jakarta.faces.view.ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages.

Gets the list of all view declaration languages supported by this runtime.

public ViewDeclarationLanguage
getViewDeclarationLanguage(String
the viewId to be inspected for an appropriate ViewDeclarationLanguage implementation for the VDL used in the view.
viewId
)

Implements abstract jakarta.faces.view.ViewDeclarationLanguageFactory.getViewDeclarationLanguage.

Return the ViewDeclarationLanguage instance suitable for handling the VDL contained in the page referenced by the argument viewId.

private ViewHandlingStrategyManager
Inherited from jakarta.faces.view.ViewDeclarationLanguageFactory:
getWrapped

Field Detail

allViewDeclarationLanguagesback to summary
private List<ViewDeclarationLanguage> allViewDeclarationLanguages
viewHandlingStrategyManagerback to summary
private ViewHandlingStrategyManager viewHandlingStrategyManager

Constructor Detail

ViewDeclarationLanguageFactoryImplback to summary
public ViewDeclarationLanguageFactoryImpl()

Method Detail

getAllViewDeclarationLanguagesback to summary
public List<ViewDeclarationLanguage> getAllViewDeclarationLanguages()

Overrides jakarta.faces.view.ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages.

Doc from jakarta.faces.view.ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages.

Gets the list of all view declaration languages supported by this runtime.

Returns:List<ViewDeclarationLanguage>

the list of all view declaration languages supported by this runtime.

Annotations
@Override
See Also
jakarta.faces.view.ViewDeclarationLanguageFactory#getAllViewDeclarationLanguages()
getViewDeclarationLanguageback to summary
public ViewDeclarationLanguage getViewDeclarationLanguage(String viewId)

Implements abstract jakarta.faces.view.ViewDeclarationLanguageFactory.getViewDeclarationLanguage.

Doc from jakarta.faces.view.ViewDeclarationLanguageFactory.getViewDeclarationLanguage.

Return the ViewDeclarationLanguage instance suitable for handling the VDL contained in the page referenced by the argument viewId. The default implementation must return a valid ViewDeclarationLanguage instance for views written in either Jakarta Server Pages, Faces XML Views, or Facelets for Jakarta Faces 2.

Parameters
viewId:String

the viewId to be inspected for an appropriate ViewDeclarationLanguage implementation for the VDL used in the view.

Returns:ViewDeclarationLanguage

the ViewDeclarationLanguage corresponding to the argument viewId

Annotations
@Override
See Also
jakarta.faces.view.ViewDeclarationLanguageFactory#getViewDeclarationLanguage(String)
getViewHandlingStrategyManagerback to summary
private ViewHandlingStrategyManager getViewHandlingStrategyManager()