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
TheCacheConfigNamespaceHandleris 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 interfaceCacheConfigNamespaceHandler.ExtensionA 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 OverrideProcessorgetOverrideProcessor()Obtains theOverrideProcessorthat is suitable for processing the xml override.voidonStartNamespace(ProcessingContext context, XmlElement element, String prefix, URI uri)Called when the xml namespace associated with theNamespaceHandleris 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 theNamespaceHandleris first encountered in an xml document.- Specified by:
onStartNamespacein interfaceNamespaceHandler- Overrides:
onStartNamespacein classAbstractNamespaceHandler- Parameters:
context- the documentProcessingContextin which the xml namespace was encounteredelement- theXmlElementin which the xml namespace was encounteredprefix- the prefix of the declared xml namespaceuri- theURIof the declared xml namespace
-
getOverrideProcessor
public OverrideProcessor getOverrideProcessor()
Obtains theOverrideProcessorthat is suitable for processing the xml override.- Returns:
- the
OverrideProcessorornullif a suitableOverrideProcessorcould not be found
-
-