public class JspViewDeclarationLanguageStrategy extends Object implements ViewDeclarationLanguageStrategy
Modifier and Type | Field and Description |
---|---|
static String |
JSP_SUFFIX_DEFAULT |
static String |
JSP_SUFFIX_PARAM_NAME |
Constructor and Description |
---|
JspViewDeclarationLanguageStrategy() |
Modifier and Type | Method and 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 the
ViewDeclarationLanguage represented by this support. |
boolean |
handles(String viewId)
Determines if the
ViewDeclarationLanguage represented by this support should be used
to handle the specified view identifier. |
@JSFWebConfigParam(defaultValue=".jsp", since="2.3", group="viewhandler") public static final String JSP_SUFFIX_PARAM_NAME
public static final String JSP_SUFFIX_DEFAULT
public ViewDeclarationLanguage getViewDeclarationLanguage()
ViewDeclarationLanguage
represented by this support.getViewDeclarationLanguage
in interface ViewDeclarationLanguageStrategy
ViewDeclarationLanguage
represented by this supportpublic boolean handles(String viewId)
ViewDeclarationLanguage
represented by this support should be used
to handle the specified view identifier.handles
in interface ViewDeclarationLanguageStrategy
viewId
- the view identifiertrue
if the ViewDeclarationLanguage
represented by this support
should be used to handle the specified view identifier, false
otherwisepublic String getMinimalImplicitOutcome(String viewId)
ViewDeclarationLanguageStrategy
getMinimalImplicitOutcome
in interface ViewDeclarationLanguageStrategy
Copyright © 2020 The Apache Software Foundation. All rights reserved.