public class DocumentProcessor extends Object
DocumentProcessor is responsible for processing in an XmlDocument to produce a resulting configured resource.
During the processing of the XmlDocument, the provided ResourceRegistry may be accessed/mutated.
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentProcessor.DefaultDependencies
The
DocumentProcessor.DefaultDependencies is the default implementation of the DocumentProcessor DocumentProcessor.Dependencies interface. |
static interface |
DocumentProcessor.Dependencies
|
| Constructor and Description |
|---|
DocumentProcessor(DocumentProcessor.Dependencies dependencies)
Construct a
DocumentProcessor. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
process(XmlDocumentReference refDocument, XmlDocumentReference... aOverrides)
Processes the
XmlDocument located at the specified XmlDocumentReference. |
public DocumentProcessor(DocumentProcessor.Dependencies dependencies)
DocumentProcessor.dependencies - the DocumentProcessor.Dependencies for the DocumentProcessorpublic <T> T process(XmlDocumentReference refDocument, XmlDocumentReference... aOverrides) throws ConfigurationException
XmlDocument located at the specified XmlDocumentReference.refDocument - the XmlDocumentReferenceXmlDocument specified by the XmlDocumentReferenceConfigurationException - when a configuration problem was encountered