public abstract class FaceletsConfigurationHandler
extends java.lang.Object
| Constructor and Description |
|---|
FaceletsConfigurationHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
addFaceletsSuffix(Project project, java.lang.String suffix, boolean makeDefault)
Add the suffix to the configuration parameter "javax.faces.FACELETS_VIEW_MAPPINGS" If makeDefault is true, the suffix is prepended to the FACELETS_VIEW_MAPPINGS, so that it is returned by getDefaultFaceletsSuffix()
|
abstract void |
configureProject(Project project)
Configure the Project for Facelets
|
abstract java.lang.String |
getDefaultFaceletsSuffix(Project project)
Determine the default Facelets Suffix, as defined for the Project
|
abstract FaceletsConfigurationManager.FaceletsConfiguration |
getFaceletsConfiguration(Context projectContext)
Determine if the Project has been configured for Facelets.
|
abstract java.util.Collection<java.lang.String> |
getFaceletsIncludedSuffixes(Project project)
Get the list of suffixes configured in the configuration parameter "javax.faces.FACELETS_VIEW_MAPPINGS" and any other extensions that can be included in a facelets page such as fragments
|
abstract java.util.Collection<java.lang.String> |
getFaceletsSuffixes(Project project)
Get the list of suffixes configured in the configuration parameter "javax.faces.FACELETS_VIEW_MAPPINGS"
|
abstract boolean |
isFaceletsFile(Project project, java.net.URL url, boolean checkDefaults)
Determine if the URL is a Facelets file.
|
boolean |
isFaceletsSuffix(Project project, java.lang.String suffix, boolean checkDefaults)
Determine if the suffix corresponds to a Facelets view mapping suffix.
|
public abstract FaceletsConfigurationManager.FaceletsConfiguration getFaceletsConfiguration(Context projectContext)
projectContext -public abstract void configureProject(Project project)
project -public abstract boolean addFaceletsSuffix(Project project, java.lang.String suffix, boolean makeDefault)
project -suffix -makeDefault - if true, the suffix is prepended to the FACELETS_VIEW_MAPPINGSpublic abstract java.util.Collection<java.lang.String> getFaceletsSuffixes(Project project)
project -public abstract java.util.Collection<java.lang.String> getFaceletsIncludedSuffixes(Project project)
project -public abstract boolean isFaceletsFile(Project project, java.net.URL url, boolean checkDefaults)
project -url -checkDefaults -public boolean isFaceletsSuffix(Project project, java.lang.String suffix, boolean checkDefaults)
project -suffix -checkDefaults -public abstract java.lang.String getDefaultFaceletsSuffix(Project project)
project -