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()

registerFaceletsConfigurationHandler

isConfiguredForFacelets

Determine if the Project is configured to use Facelets.
Returns false if the project has facelets disabled or simply hasn't been
explicitly configured. (if FaceletsConfiguration is greater than DEFAULT_CONFIGURED)

Parameters:

projectContext -

Returns:

isConfiguredForFacelets

Determine if the Project is configured to use Facelets.
Returns false if the project has facelets disabled or simply hasn't been
explicitly configured.
if defaultOk is true, returns true if the Project is >= DEFAULT_CONFIGURED
Otherwise returns true only if the Project is > DEFAULT_CONFIGURED

isConfiguredForFacelets

Determine if the Project is configured to use Facelets.
Returns false if the project has facelets disabled or simply hasn't been
explicitly configured. (if FaceletsConfiguration is greater than DEFAULT_CONFIGURED)

addFaceletsSuffix

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()

Parameters:

project -

suffix -

makeDefault - if true, the suffix is prepended to the FACELETS_VIEW_MAPPINGS

isFaceletsFile

Determine if the URL is a Facelets file.
Checks the URL against the prefixes and suffixes in configuration
parameter "javax.faces.FACELETS_VIEW_MAPPINGS".
If not present there, checks against the default Facelets Suffix
If none of these match, and checkDefaults is true, then the URL is checked
against the suffixes that would be added if the project is configured for
default facelets by the registered FaceletsConfigurationHandlers
FaceletsConfigurationHandler implementations may inspect the contents of
the file to determine if the file is rendered in facelets. This is useful
for fragment file types that aren't toplevel facelets so aren't wouldn't
necessarily have a view mapping.

Parameters:

project -

url -

checkDefaults -

Returns:

true if the url is a facelets file

isFaceletsFile

Determine if the URL is a Facelets file.
Checks the URL against the prefixes and suffixes in configuration
parameter "javax.faces.FACELETS_VIEW_MAPPINGS".
If not present there, checks against the default Facelets Suffix
FaceletsConfigurationHandler implementations may inspect the contents of
the file to determine if the file is rendered in facelets. This is useful
for fragment file types that aren't toplevel facelets so aren't wouldn't
necessarily have a view mapping.

Parameters:

project -

url -

Returns:

true if the url is a facelets file

isFaceletsSuffix

Determine if the suffix corresponds to a Facelets view mapping suffix.
Checks the suffix against the suffixes in configuration
parameter "javax.faces.FACELETS_VIEW_MAPPINGS".
If not present there, checks against the default Facelets Suffix
If none of these match, and checkDefaults is true, then the suffix is checked
against the suffixes that would be added if the project is configured for
default facelets by the registered FaceletsConfigurationHandlers