Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.config.xml
Class DocumentProcessor

java.lang.Object
  extended by com.tangosol.config.xml.DocumentProcessor


public class DocumentProcessor
extends java.lang.Object

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 Summary
static class DocumentProcessor.DefaultDependencies
          The DocumentProcessor.DefaultDependencies is the default implementation of the DocumentProcessor DocumentProcessor.Dependencies interface.
static interface DocumentProcessor.Dependencies
          The DocumentProcessor.Dependencies of DocumentProcessors.

 

Constructor Summary
DocumentProcessor(DocumentProcessor.Dependencies dependencies)
          Construct a DocumentProcessor.

 

Method Summary
 java.lang.Object process(XmlDocumentReference refDocument, XmlDocumentReference[] aOverrides)
          Processes the XmlDocument located at the specified XmlDocumentReference.

 

Constructor Detail

DocumentProcessor

public DocumentProcessor(DocumentProcessor.Dependencies dependencies)
Construct a DocumentProcessor.
Parameters:
dependencies - the DocumentProcessor.Dependencies for the DocumentProcessor

Method Detail

process

public java.lang.Object process(XmlDocumentReference refDocument,
                                XmlDocumentReference[] aOverrides)
                         throws ConfigurationException
Processes the XmlDocument located at the specified XmlDocumentReference.
Parameters:
refDocument - the XmlDocumentReference
Returns:
a configured resource based on processing the root element (and children when required) of the XmlDocument specified by the XmlDocumentReference
Throws:
ConfigurationException - when a configuration problem was encountered

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.