Class CacheConfigNamespaceHandler
- java.lang.Object
-
- com.tangosol.config.xml.AbstractNamespaceHandler
-
- com.tangosol.coherence.config.xml.CacheConfigNamespaceHandler
-
- All Implemented Interfaces:
NamespaceHandler
public class CacheConfigNamespaceHandler extends AbstractNamespaceHandler
TheCacheConfigNamespaceHandler
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
Nested Classes Modifier and Type Class Description static interface
CacheConfigNamespaceHandler.Extension
A class that can add extensions to theCacheConfigNamespaceHandler
.
-
Constructor Summary
Constructors Constructor Description CacheConfigNamespaceHandler()
Standard Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OverrideProcessor
getOverrideProcessor()
Obtains 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
-
-
-
-
Method Detail
-
onStartNamespace
public 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.- 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
public OverrideProcessor getOverrideProcessor()
Obtains theOverrideProcessor
that is suitable for processing the xml override.- Returns:
- the
OverrideProcessor
ornull
if a suitableOverrideProcessor
could not be found
-
-