Class CacheConfigNamespaceHandler
java.lang.Object
com.tangosol.config.xml.AbstractNamespaceHandler
com.tangosol.coherence.config.xml.CacheConfigNamespaceHandler
- All Implemented Interfaces:
NamespaceHandler
The
CacheConfigNamespaceHandler
is responsible for capturing and creating Coherence
Cache Configurations when processing a Coherence Configuration file.- Since:
- Coherence 12.1.2
- Author:
- bo 2011.05.26
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A class that can add extensions to theCacheConfigNamespaceHandler
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionObtains theOverrideProcessor
that is suitable for processing the xml override.void
onStartNamespace
(ProcessingContext context, XmlElement element, String prefix, URI uri) Called when the xml namespace associated with theNamespaceHandler
is first encountered in an xml document.Methods inherited from class com.tangosol.config.xml.AbstractNamespaceHandler
getAttributeProcessor, getAttributeProcessor, getDocumentPreprocessor, getElementProcessor, getElementProcessor, onEndNamespace, onUnknownAttribute, onUnknownElement, registerAttributeType, registerElementType, registerProcessor, registerProcessor, registerProcessor, setDocumentPreprocessor
-
Constructor Details
-
CacheConfigNamespaceHandler
public CacheConfigNamespaceHandler()Standard Constructor.
-
-
Method Details
-
onStartNamespace
Called when the xml namespace associated with theNamespaceHandler
is first encountered in an xml document.- Specified by:
onStartNamespace
in interfaceNamespaceHandler
- Overrides:
onStartNamespace
in classAbstractNamespaceHandler
- Parameters:
context
- the documentProcessingContext
in which the xml namespace was encounteredelement
- theXmlElement
in which the xml namespace was encounteredprefix
- the prefix of the declared xml namespaceuri
- theURI
of the declared xml namespace
-
getOverrideProcessor
Obtains theOverrideProcessor
that is suitable for processing the xml override.- Returns:
- the
OverrideProcessor
ornull
if a suitableOverrideProcessor
could not be found
-