Commit 9c999542 authored by Georg Vinogradov's avatar Georg Vinogradov
Browse files

Add MqttToEmamTagSchema

parent 20913ac6
Pipeline #175981 passed with stage
in 2 minutes and 31 seconds
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.embeddedmontiarc.tagging.middleware.mqtt;
import de.monticore.lang.tagging._symboltable.TaggingResolver;
import de.monticore.symboltable.resolving.CommonResolvingFilter;
public class MqttToEmamTagSchema {
protected static MqttToEmamTagSchema instance = null;
protected MqttToEmamTagSchema() {
}
protected static MqttToEmamTagSchema getInstance() {
if (instance == null) {
instance = new MqttToEmamTagSchema();
}
return instance;
}
protected void doRegisterTagTypes(TaggingResolver tagging) {
tagging.addTagSymbolCreator(new MqttConnectionSymbolCreator());
tagging.addTagSymbolResolvingFilter(CommonResolvingFilter.create(MqttConnectionSymbol.KIND));
}
public static void registerTagTypes(TaggingResolver tagging) {
getInstance().doRegisterTagTypes(tagging);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment