public abstract class ViewDeclarationLanguageFactory
is a factory object that creates (if needed) and returns a new
ViewDeclarationLanguage instance based on the VDL found in a specific
There must be one
ViewDeclarationLanguageFactory instance per web
application that is utilizing JavaServer Faces. This instance can be
acquired, in a portable manner, by calling:
ViewDeclarationLanguageFactory factory = (ViewDeclarationLanguageFactory) FactoryFinder.getFactory(FactoryFinder.VIEW_DECLARATION_LANGUAGE_FACTORY);
If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
|Methods inherited from class java.lang.Object|
public ViewDeclarationLanguageFactory getWrapped()
If this factory has been decorated, the
implementation doing the decorating may override this method to provide
access to the implementation being wrapped. A default implementation
is provided that returns
public abstract ViewDeclarationLanguage getViewDeclarationLanguage(java.lang.String viewId)
ViewDeclarationLanguage instance suitable for
handling the VDL contained in the page referenced by the argument
viewId. The default implementation must return a
ViewDeclarationLanguage instance for views
written in either JSP or Facelets for JSF 2.
viewId- the viewId to be inspected for an appropriate
ViewDeclarationLanguageimplementation for the VDL used in the view.