@XmlSimpleName(value="topic-mapping") public class TopicMappingProcessor extends Object implements ElementProcessor<TopicMapping>
TopicMappingProcessor
is responsible for processing <topic-mapping>
XmlElement
s to produce a TopicMapping
.Constructor and Description |
---|
TopicMappingProcessor(String sNameElementName,
Class<? extends TopicScheme> clsScheme)
Create a
TopicMappingProcessor . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
TopicMapping |
process(ProcessingContext context,
XmlElement element)
Process an
XmlElement to return a specific type of value. |
public TopicMappingProcessor(String sNameElementName, Class<? extends TopicScheme> clsScheme)
TopicMappingProcessor
.sNameElementName
- the name of the elementclsScheme
- the type of the topic schemepublic TopicMapping process(ProcessingContext context, XmlElement element) throws ConfigurationException
ElementProcessor
XmlElement
to return a specific type of value.process
in interface ElementProcessor<TopicMapping>
context
- the ProcessingContext
in which the
XmlElement
is being processedelement
- the XmlElement
to processConfigurationException
- when a configuration problem was encountered