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 ViewDeclarationLanguageStrategyViewDeclarationLanguage 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 ViewDeclarationLanguageStrategyviewId - 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)
ViewDeclarationLanguageStrategygetMinimalImplicitOutcome in interface ViewDeclarationLanguageStrategyCopyright © 2022 The Apache Software Foundation. All rights reserved.