public class Documents extends Object
| Constructor and Description |
|---|
Documents() |
| Modifier and Type | Method and Description |
|---|---|
static List<DocumentInfo> |
getProgrammaticDocuments(List<jakarta.faces.application.ApplicationConfigurationPopulator> configPopulators) |
static DocumentInfo[] |
getXMLDocuments(jakarta.servlet.ServletContext servletContext,
List<ConfigurationResourceProvider> providers,
ExecutorService executor,
boolean validating)
Obtains an array of
Documents to be processed |
static DocumentInfo[] |
mergeDocuments(DocumentInfo[] facesDocuments,
List<DocumentInfo> programmaticDocuments) |
static DocumentInfo[] |
sortDocuments(DocumentInfo[] facesDocuments,
FacesConfigInfo webInfFacesConfig)
Sort the
faces-config documents found on the classpath and those specified by the
jakarta.faces.CONFIG_FILES context init parameter. |
public static DocumentInfo[] getXMLDocuments(jakarta.servlet.ServletContext servletContext, List<ConfigurationResourceProvider> providers, ExecutorService executor, boolean validating)
Obtains an array of Documents to be processed
servletContext - the ServletContext for the application to be processedproviders - List of ConfigurationResourceProvider instances that provide the URL of
the documents to parse.executor - the ExecutorService used to dispatch parse request tovalidating - flag indicating whether or not the documents should be validatedDocumentInfospublic static List<DocumentInfo> getProgrammaticDocuments(List<jakarta.faces.application.ApplicationConfigurationPopulator> configPopulators) throws ParserConfigurationException
ParserConfigurationExceptionpublic static DocumentInfo[] mergeDocuments(DocumentInfo[] facesDocuments, List<DocumentInfo> programmaticDocuments)
public static DocumentInfo[] sortDocuments(DocumentInfo[] facesDocuments, FacesConfigInfo webInfFacesConfig)
Sort the faces-config documents found on the classpath and those specified by the
jakarta.faces.CONFIG_FILES context init parameter.
facesDocuments - an array of all faces-config documentswebInfFacesConfig - FacesConfigInfo representing the WEB-INF/faces-config.xml for this appCopyright © 2010–2022 JBoss by Red Hat. All rights reserved.