Class LTMTemplateImporter

java.lang.Object
net.ontopia.topicmaps.utils.ltm.LTMTemplateImporter

public class LTMTemplateImporter extends Object
PUBLIC: Imports an LTM fragment with references to parameter values specified externally.
Since:
3.2.4
  • Constructor Details

    • LTMTemplateImporter

      public LTMTemplateImporter()
  • Method Details

    • read

      public static Map<String,TopicIF> read(TopicMapIF topicmap, String ltm, Map<String,Object> parameters) throws IOException
      PUBLIC: Imports an LTM fragment with references to parameter values specified externally.
      Parameters:
      topicmap - The topic map to import the LTM into.
      ltm - The LTM fragment.
      parameters - The %foo% parameters referenced from the LTM.
      Returns:
      A Map containing references to the %new% topics created.
      Throws:
      IOException