public class FaceletViewDeclarationLanguageStrategy extends Object implements ViewDeclarationLanguageStrategy
Constructor and Description |
---|
FaceletViewDeclarationLanguageStrategy() |
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. |
public FaceletViewDeclarationLanguageStrategy()
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.