java.lang.Object
com.sun.faces.config.manager.Documents
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic List<DocumentInfo> getProgrammaticDocuments(List<ApplicationConfigurationPopulator> configPopulators) static DocumentInfo[]getXMLDocuments(ServletContext servletContext, List<ConfigurationResourceProvider> providers, ExecutorService executor, boolean validating) Obtains an array ofDocuments to be processedstatic DocumentInfo[]mergeDocuments(DocumentInfo[] facesDocuments, List<DocumentInfo> programmaticDocuments) static DocumentInfo[]sortDocuments(DocumentInfo[] facesDocuments, FacesConfigInfo webInfFacesConfig) Sort thefaces-configdocuments found on the classpath and those specified by thejakarta.faces.CONFIG_FILEScontext init parameter.
- 
Constructor Details- 
Documentspublic Documents()
 
- 
- 
Method Details- 
getXMLDocumentspublic static DocumentInfo[] getXMLDocuments(ServletContext servletContext, List<ConfigurationResourceProvider> providers, ExecutorService executor, boolean validating) Obtains an array of Documents to be processed- Parameters:
- servletContext- the- ServletContextfor the application to be processed
- providers-- Listof- ConfigurationResourceProviderinstances that provide the URL of the documents to parse.
- executor- the- ExecutorServiceused to dispatch parse request to
- validating- flag indicating whether or not the documents should be validated
- Returns:
- an array of DocumentInfos
 
- 
getProgrammaticDocumentspublic static List<DocumentInfo> getProgrammaticDocuments(List<ApplicationConfigurationPopulator> configPopulators) throws ParserConfigurationException - Throws:
- ParserConfigurationException
 
- 
mergeDocumentspublic static DocumentInfo[] mergeDocuments(DocumentInfo[] facesDocuments, List<DocumentInfo> programmaticDocuments) 
- 
sortDocumentspublic static DocumentInfo[] sortDocuments(DocumentInfo[] facesDocuments, FacesConfigInfo webInfFacesConfig) Sort the faces-configdocuments found on the classpath and those specified by thejakarta.faces.CONFIG_FILEScontext init parameter.- Parameters:
- facesDocuments- an array of all- faces-configdocuments
- webInfFacesConfig- FacesConfigInfo representing the WEB-INF/faces-config.xml for this app
- Returns:
- the sorted documents
 
 
-