Difference between revisions of "Artefact:Template/org/ooem/templates/bundleentries-1.0-ooem-2.0"

From OOModels
Jump to navigationJump to search
(Created page with "{{Metabox | Meta_Type = Type:org/oogenerator/Template/2.0 | Meta_Domain = Domain:it/development/formatting | Meta_Category = Type:org/oomodels/wiki/Template | Meta_Download...")
 
Line 17: Line 17:
«  
«  
   try {
   try {
     Vector<String[]> entries = XMLBundleEntriesReader.getEntries(xml.toString());
     Vector<String[]> entries = XMLBundleEntriesReader.getEntries(xml.toString());
»…
»…
   ⋮«∀(entries){»…
   ⋮«∀(entries){»…

Revision as of 14:56, 5 March 2012

Classification
Type Type:org/oogenerator/Template/2.0
Domain Domain:it/development/formatting
Category Type:org/oomodels/wiki/Template
Maturity final
More
Download Code
Namespace (more)

OOEM main package

create new pages

Code[edit]


G-2.0-java_jpp-1.0 -*- coding: utf-8; -*-

import org.oomodels.*;
▼
⊏ signature(String xml_code) ⊐
« 
  try {
    Vector<String[]> entries = XMLBundleEntriesReader.getEntries(xml.toString());
»«∀(entries){»
      ◂((String[])(⊙))[0]▸«}/∀»
« 
  } catch (Throwable t) {
    org.oomodels.OOMStatusCode osc = new org.oomodels.OOMStatusCode(204);
    //osc.setCause(t);
    throw osc;
  }
»