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>
public ViewDeclarationLanguage
getViewDeclarationLanguage(String
the viewId to be inspected for an appropriate ViewDeclarationLanguage implementation for the VDL used in the view.
viewId
)

Implements abstract javax.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 javax.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 javax.faces.view.ViewDeclarationLanguageFactory.getAllViewDeclarationLanguages.

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

Implements abstract javax.faces.view.ViewDeclarationLanguageFactory.getViewDeclarationLanguage.

Doc from javax.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 JSP, Faces XML Views, or Facelets for JSF 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
javax.faces.view.ViewDeclarationLanguageFactory#getViewDeclarationLanguage(String)
getViewHandlingStrategyManagerback to summary
private ViewHandlingStrategyManager getViewHandlingStrategyManager()