java.lang.Object
com.sun.faces.config.manager.Documents
- 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
Documents
public Documents() 
 - 
 - 
Method Details
- 
getXMLDocuments
public static DocumentInfo[] getXMLDocuments(ServletContext servletContext, List<ConfigurationResourceProvider> providers, ExecutorService executor, boolean validating) Obtains an array of
Documents to be processed- Parameters:
 servletContext- theServletContextfor the application to be processedproviders-ListofConfigurationResourceProviderinstances that provide the URL of the documents to parse.executor- theExecutorServiceused to dispatch parse request tovalidating- flag indicating whether or not the documents should be validated- Returns:
 - an array of 
DocumentInfos 
 - 
getProgrammaticDocuments
public static List<DocumentInfo> getProgrammaticDocuments(List<ApplicationConfigurationPopulator> configPopulators) throws ParserConfigurationException - Throws:
 ParserConfigurationException
 - 
mergeDocuments
public static DocumentInfo[] mergeDocuments(DocumentInfo[] facesDocuments, List<DocumentInfo> programmaticDocuments)  - 
sortDocuments
public 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 allfaces-configdocumentswebInfFacesConfig- FacesConfigInfo representing the WEB-INF/faces-config.xml for this app- Returns:
 - the sorted documents
 
 
 -