java.lang.Object
com.sun.faces.config.manager.tasks.ParseConfigResourceToDOMTask
- All Implemented Interfaces:
Callable<DocumentInfo>
This
Callable
will be used by getXMLDocuments
It represents a single configuration resource (such as faces-config.xml) to be parsed into a DOM.-
Field Summary
-
Constructor Summary
ConstructorDescriptionParseConfigResourceToDOMTask
(ServletContext servletContext, boolean validating, URI documentURI) Constructs a new ParseTask instance -
Method Summary
-
Field Details
-
WEB_INF_MARKER
-
-
Constructor Details
-
ParseConfigResourceToDOMTask
public ParseConfigResourceToDOMTask(ServletContext servletContext, boolean validating, URI documentURI) throws Exception Constructs a new ParseTask instance
- Parameters:
servletContext
- the servlet context.validating
- whether or not we're validatingdocumentURI
- a URL to the configuration resource to be parsed- Throws:
Exception
- general error
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<DocumentInfo>
- Returns:
- the result of the parse operation (a DOM)
- Throws:
Exception
- if an error occurs during the parsing process
-