TagEmulationFactory factory = new TagEmulationFactory(device);
for (Iterator i = emulatedElements.entrySet().iterator(); i.hasNext();) {
Map.Entry entry = (Map.Entry) i.next();
String elementName = (String) entry.getKey();
String prefix = (String) entry.getValue();
EmulateEmphasisTag tag = factory.getTagEmphasisEmulation(prefix);
elementName2EmulatedTag.put(elementName, tag);
}
}