org.apache.myfaces.view
Class ViewDeclarationLanguageFactoryImpl

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguageFactory
      extended by org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl
All Implemented Interfaces:
FacesWrapper<ViewDeclarationLanguageFactory>

public class ViewDeclarationLanguageFactoryImpl
extends ViewDeclarationLanguageFactory

This is the default PDL factory used as of JSF 2.0, it tries to use Facelet PDL whenever possible, but fallback on JSP if required.

Since:
2.0
Version:
$Revision: 1409476 $ $Date: 2012-11-14 17:14:40 -0500 (Wed, 14 Nov 2012) $
Author:
Simon Lessard (latest modification by $Author: lu4242 $)

Field Summary
static String PARAM_DISABLE_JSF_FACELET
          Disable facelets VDL from the current application project.
 
Constructor Summary
ViewDeclarationLanguageFactoryImpl()
           
 
Method Summary
 ViewDeclarationLanguage getViewDeclarationLanguage(String viewId)
          
 
Methods inherited from class javax.faces.view.ViewDeclarationLanguageFactory
getWrapped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_DISABLE_JSF_FACELET

@JSFWebConfigParam(since="2.0",
                   defaultValue="false",
                   expectedValues="true,false",
                   group="viewhandler")
public static final String PARAM_DISABLE_JSF_FACELET
Disable facelets VDL from the current application project.

See Also:
Constant Field Values
Constructor Detail

ViewDeclarationLanguageFactoryImpl

public ViewDeclarationLanguageFactoryImpl()
Method Detail

getViewDeclarationLanguage

public ViewDeclarationLanguage getViewDeclarationLanguage(String viewId)

Specified by:
getViewDeclarationLanguage in class ViewDeclarationLanguageFactory


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.