Package com.tangosol.config.xml
Class DocumentProcessor
java.lang.Object
com.tangosol.config.xml.DocumentProcessor
A 
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.
- Since:
- Coherence 12.1.2
- Author:
- bo 2011.06.15
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classTheDocumentProcessor.DefaultDependenciesis the default implementation of theDocumentProcessorDocumentProcessor.Dependenciesinterface.static interface
- 
Constructor SummaryConstructorsConstructorDescriptionDocumentProcessor(DocumentProcessor.Dependencies dependencies) Construct aDocumentProcessor.
- 
Method SummaryModifier and TypeMethodDescription<T> Tprocess(XmlDocumentReference refDocument, XmlDocumentReference... aOverrides) Processes theXmlDocumentlocated at the specifiedXmlDocumentReference.
- 
Constructor Details- 
DocumentProcessorConstruct aDocumentProcessor.- Parameters:
- dependencies- the- DocumentProcessor.Dependenciesfor the- DocumentProcessor
 
 
- 
- 
Method Details- 
processpublic <T> T process(XmlDocumentReference refDocument, XmlDocumentReference... aOverrides) throws ConfigurationException Processes theXmlDocumentlocated at the specifiedXmlDocumentReference.- Type Parameters:
- T- the resource type
- Parameters:
- refDocument- the- XmlDocumentReference
- aOverrides- reference overrides
- Returns:
- a configured resource based on processing the root element (and children when required)
 of the XmlDocumentspecified by theXmlDocumentReference
- Throws:
- ConfigurationException- when a configuration problem was encountered
 
 
-