public class ParseConfigResourceToDOMTask extends Object implements Callable<DocumentInfo>
This Callable will be used by
ConfigManager#getXMLDocuments(javax.servlet.ServletContext, java.util.List, java.util.concurrent.ExecutorService, boolean).
It represents a single configuration resource to be parsed into a DOM.
| Modifier and Type | Field and Description |
|---|---|
static String |
WEB_INF_MARKER
Name of the attribute added by ParseTask to indicate a
Document instance as a representation of
/WEB-INF/faces-config.xml. |
| Constructor and Description |
|---|
ParseConfigResourceToDOMTask(javax.servlet.ServletContext servletContext,
boolean validating,
URI documentURI)
Constructs a new ParseTask instance
|
public static final String WEB_INF_MARKER
Document instance as a representation of
/WEB-INF/faces-config.xml.public ParseConfigResourceToDOMTask(javax.servlet.ServletContext servletContext,
boolean validating,
URI documentURI)
throws Exception
Constructs a new ParseTask instance
servletContext - the servlet context.validating - whether or not we're validatingdocumentURI - a URL to the configuration resource to be parsedException - general errorpublic DocumentInfo call() throws Exception
call in interface Callable<DocumentInfo>Exception - if an error occurs during the parsing processComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.