Package org.apache.myfaces.view.facelets
Class FaceletViewDeclarationLanguageStrategy
- java.lang.Object
-
- org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguageStrategy
-
- All Implemented Interfaces:
ViewDeclarationLanguageStrategy
public class FaceletViewDeclarationLanguageStrategy extends Object implements ViewDeclarationLanguageStrategy
- Since:
- 2.0
- Version:
- $Revision$ $Date$
- Author:
- Simon Lessard (latest modification by $Author$)
-
-
Constructor Summary
Constructors Constructor Description FaceletViewDeclarationLanguageStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMinimalImplicitOutcome(String viewId)
Return a string that can be used as a outcome for the viewId, usually removing the extension.ViewDeclarationLanguage
getViewDeclarationLanguage()
Gets theViewDeclarationLanguage
represented by this support.boolean
handles(String viewId)
Determines if theViewDeclarationLanguage
represented by this support should be used to handle the specified view identifier.
-
-
-
Method Detail
-
getViewDeclarationLanguage
public ViewDeclarationLanguage getViewDeclarationLanguage()
Description copied from interface:ViewDeclarationLanguageStrategy
Gets theViewDeclarationLanguage
represented by this support.- Specified by:
getViewDeclarationLanguage
in interfaceViewDeclarationLanguageStrategy
- Returns:
- the
ViewDeclarationLanguage
represented by this support
-
handles
public boolean handles(String viewId)
Description copied from interface:ViewDeclarationLanguageStrategy
Determines if theViewDeclarationLanguage
represented by this support should be used to handle the specified view identifier.- Specified by:
handles
in interfaceViewDeclarationLanguageStrategy
- Parameters:
viewId
- the view identifier- Returns:
true
if theViewDeclarationLanguage
represented by this support should be used to handle the specified view identifier,false
otherwise
-
getMinimalImplicitOutcome
public String getMinimalImplicitOutcome(String viewId)
Description copied from interface:ViewDeclarationLanguageStrategy
Return a string that can be used as a outcome for the viewId, usually removing the extension.- Specified by:
getMinimalImplicitOutcome
in interfaceViewDeclarationLanguageStrategy
- Returns:
-
-