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