/** * Write an EDI Mapping Model configuration set from the specified EDI Specification Reader. * @param ediSpecificationReader The configuration reader for the EDI interchange configuration set. * @param modelSetOutFolder The output folder for the generated EDI Mapping Model configuration set. * @param urn The URN for the EDI Mapping model configuration set. * @throws IOException Error writing Mapping Model configuration set. */ public static void fromSpec(EdiSpecificationReader ediSpecificationReader, File modelSetOutFolder, String urn) throws IOException { AssertArgument.isNotNull(ediSpecificationReader, "ediSpecificationReader"); AssertArgument.isNotNull(modelSetOutFolder, "modelSetOutFolder"); Archive archive = createArchive(ediSpecificationReader, urn); // Now output the generated archive... archive.toFileSystem(modelSetOutFolder); }