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.DefaultDependencies

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

All Implemented Interfaces:
DocumentProcessor.Dependencies
Enclosing class:
DocumentProcessor

public static class DocumentProcessor.DefaultDependencies
extends java.lang.Object
implements DocumentProcessor.Dependencies

The DocumentProcessor.DefaultDependencies is the default implementation of the DocumentProcessor DocumentProcessor.Dependencies interface.


Constructor Summary
DocumentProcessor.DefaultDependencies()
          Constructs a DocumentProcessor.DefaultDependencies.
DocumentProcessor.DefaultDependencies(NamespaceHandler handler)
          Constructs a DocumentProcessor.DefaultDependencies with a default NamespaceHandler.

 

Method Summary
 java.lang.ClassLoader getContextClassLoader()
          Obtains the ClassLoader to use for dynamically loading classes during processing.
 NamespaceHandler getDefaultNamespaceHandler()
          The NamespaceHandler for the default (ie: unspecified) xml namespace.
 com.tangosol.config.expression.ParameterResolver getDefaultParameterResolver()
          Obtains the default ParameterResolver that may be used for resolving externally defined configuration parameters, like those from the operating system or container.
 com.tangosol.config.expression.ExpressionParser getExpressionParser()
          Obtains the ExpressionParser to use for parsing Expressions during document processing.
 ResourceRegistry getResourceRegistry()
          Obtains the ResourceRegistry for the DocumentProcessor.
 DocumentProcessor.DefaultDependencies setClassLoader(java.lang.ClassLoader classLoader)
          Sets the ClassLoader that will be used to dynamically load classes.
 DocumentProcessor.DefaultDependencies setDefaultNamespaceHandler(NamespaceHandler handler)
          Sets the NamespaceHandler for the default namespace of documents to be processed
 DocumentProcessor.DefaultDependencies setDefaultParameterResolver(com.tangosol.config.expression.ParameterResolver parameterResolver)
          Sets the default ParameterResolver to use for resolving externally defined (ie: operating system/container) level parameters.
 DocumentProcessor.DefaultDependencies setExpressionParser(com.tangosol.config.expression.ExpressionParser parser)
          Sets the ExpressionParser to use for parsing Expressions during document processing.
 DocumentProcessor.DefaultDependencies setResourceRegistry(ResourceRegistry registry)
          Sets the ResourceRegistry that will be used when processing a document.

 

Constructor Detail

DocumentProcessor.DefaultDependencies

public DocumentProcessor.DefaultDependencies()
Constructs a DocumentProcessor.DefaultDependencies.

DocumentProcessor.DefaultDependencies

public DocumentProcessor.DefaultDependencies(NamespaceHandler handler)
Constructs a DocumentProcessor.DefaultDependencies with a default NamespaceHandler.
Parameters:
handler - the default NamespaceHandler

Method Detail

getResourceRegistry

public ResourceRegistry getResourceRegistry()
Obtains the ResourceRegistry for the DocumentProcessor.
Specified by:
getResourceRegistry in interface DocumentProcessor.Dependencies
Returns:
a ResourceRegistry

getContextClassLoader

public java.lang.ClassLoader getContextClassLoader()
Obtains the ClassLoader to use for dynamically loading classes during processing.
Specified by:
getContextClassLoader in interface DocumentProcessor.Dependencies
Returns:
the ClassLoader

getDefaultNamespaceHandler

public NamespaceHandler getDefaultNamespaceHandler()
The NamespaceHandler for the default (ie: unspecified) xml namespace.
Specified by:
getDefaultNamespaceHandler in interface DocumentProcessor.Dependencies
Returns:
the default NamespaceHandler

getExpressionParser

public com.tangosol.config.expression.ExpressionParser getExpressionParser()
Obtains the ExpressionParser to use for parsing Expressions during document processing.
Specified by:
getExpressionParser in interface DocumentProcessor.Dependencies
Returns:
the ExpressionParser

getDefaultParameterResolver

public com.tangosol.config.expression.ParameterResolver getDefaultParameterResolver()
Obtains the default ParameterResolver that may be used for resolving externally defined configuration parameters, like those from the operating system or container. This ParameterResolver is used when one is not provide or one is required during parsing and processing the document.
Specified by:
getDefaultParameterResolver in interface DocumentProcessor.Dependencies
Returns:
the default ParameterResolver

setResourceRegistry

public DocumentProcessor.DefaultDependencies setResourceRegistry(ResourceRegistry registry)
Sets the ResourceRegistry that will be used when processing a document.
Parameters:
registry - the ResourceRegistry
Returns:
the DocumentProcessor.DefaultDependencies so that fluent-method-chaining may be used

setClassLoader

public DocumentProcessor.DefaultDependencies setClassLoader(java.lang.ClassLoader classLoader)
Sets the ClassLoader that will be used to dynamically load classes.
Parameters:
classLoader - the ClassLoader
Returns:
the DocumentProcessor.DefaultDependencies so that fluent-method-chaining may be used

setDefaultNamespaceHandler

public DocumentProcessor.DefaultDependencies setDefaultNamespaceHandler(NamespaceHandler handler)
Sets the NamespaceHandler for the default namespace of documents to be processed
Parameters:
handler - the default NamespaceHandler
Returns:
the DocumentProcessor.DefaultDependencies so that fluent-method-chaining may be used

setExpressionParser

public DocumentProcessor.DefaultDependencies setExpressionParser(com.tangosol.config.expression.ExpressionParser parser)
Sets the ExpressionParser to use for parsing Expressions during document processing.
Parameters:
parser - the ExpressionParser
Returns:
the DocumentProcessor.DefaultDependencies so that fluent-method-chaining may be used

setDefaultParameterResolver

public DocumentProcessor.DefaultDependencies setDefaultParameterResolver(com.tangosol.config.expression.ParameterResolver parameterResolver)
Sets the default ParameterResolver to use for resolving externally defined (ie: operating system/container) level parameters.
Parameters:
parameterResolver - the ParameterResolver
Returns:
the DocumentProcessor.DefaultDependencies so that fluent-method-chaining may be used

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.