Class TopicMappingProcessor
java.lang.Object
com.tangosol.coherence.config.xml.processor.TopicMappingProcessor
- All Implemented Interfaces:
ElementProcessor<TopicMapping>
@XmlSimpleName("topic-mapping")
public class TopicMappingProcessor
extends Object
implements ElementProcessor<TopicMapping>
An
TopicMappingProcessor
is responsible for processing <topic-mapping>
XmlElement
s to produce a TopicMapping
.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.05.21
-
Constructor Summary
ConstructorDescriptionTopicMappingProcessor
(String sNameElementName, Class<? extends TopicScheme> clsScheme) Create aTopicMappingProcessor
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
process
(ProcessingContext context, XmlElement element) Process anXmlElement
to return a specific type of value.
-
Constructor Details
-
TopicMappingProcessor
Create aTopicMappingProcessor
.- Parameters:
sNameElementName
- the name of the elementclsScheme
- the type of the topic scheme
-
-
Method Details
-
process
public TopicMapping process(ProcessingContext context, XmlElement element) throws ConfigurationException Description copied from interface:ElementProcessor
Process anXmlElement
to return a specific type of value.- Specified by:
process
in interfaceElementProcessor<TopicMapping>
- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedelement
- theXmlElement
to process- Returns:
- a value of type T
- Throws:
ConfigurationException
- when a configuration problem was encountered
-
equals
-
hashCode
public int hashCode()
-