java.lang.Object
com.sun.faces.config.manager.FacesConfigInfo
Wrapper around the /WEB-INF/faces-config.xml, if present, to expose information relevant to the
intialization of the runtime.
-
Constructor Summary
ConstructorsConstructorDescriptionFacesConfigInfo(DocumentInfo documentInfo) Creates a newWebInfFacesConfigdocument based on the providedDocument. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisVersionGreaterOrEqual(double version) boolean
-
Constructor Details
-
FacesConfigInfo
Creates a newWebInfFacesConfigdocument based on the providedDocument. If theDocumentdoes not represent theWEB-INF/faces-config.xmltheisWebInfFacesConfig()method will returnfalse- Parameters:
documentInfo- DocumentInfo representing the/WEB-INF/faces-config.xml
-
-
Method Details
-
isVersionGreaterOrEqual
public boolean isVersionGreaterOrEqual(double version) - Parameters:
version- version to check- Returns:
trueifversionis greater or equal to the version of the/WEB-INF/faces-config.xml
-
isWebInfFacesConfig
public boolean isWebInfFacesConfig()- Returns:
trueif theDocumentprovided at construction time represents the/WEB-INF/faces-config.xml.
-
isMetadataComplete
public boolean isMetadataComplete()- Returns:
trueif theDocumentprovided at construction time represents the/WEB-INF/faces-config.xmland is metadata complete.
-
getAbsoluteOrdering
- Returns:
- a
Listof document names that in the order that they should be processed. The presense of the keyword "others" indicates all documents not explicitly referenced by name in the list should be places in the final parsing order at same location. If there are multiple documents that aren't named and the others element is present, the order that these documents are inserted into the final list is unspecified at this time.
-