Artefact:Template/org/ooem/templates/bundleentries-1.0-xmi-2.0

Code
 G-2.0-java_jpp-1.0 -*- coding: utf-8; -*- ▼… import org.oomodels.*; import java.util.Vector; import java.util.Map; ▼… ⊏ signature(String xml_code, Map page_properties,                            Map predefined_arguments,                             Map conversion_arguments,                             Map request_arguments) ⊐…   root  «  try { Vector entries = XMLBundleEntriesReader.getEntries(xml_code.toString); »… ⋮«∀(entries){»… ⋮«       String pagename = ((String[])(⊙))[0]; OOMPage oomp = new OOMPage(pagename, null); String data; if (pagename.matches("Artefact:Model/.*")) { OOMResource oomr = oomp.getResource("raw--wiml-1.0-ooem-class-2.0-fragment"); data = oomr.getData; } else if (pagename.matches("Artefact:Aggregate/.*")) { OOMResource oomr = oomp.getResource("raw--wiml-1.0-ooem-aggregate-2.0-fragment"); data = oomr.getData; } else { data = ""; }     »… ◂data▸ ⋮«}/∀»…  «  } catch (Throwable t) { org.oomodels.OOMStatusCode osc = new org.oomodels.OOMStatusCode(204); //osc.setCause(t); throw osc; } »… 