comparison flys-artifacts/src/main/java/de/intevation/flys/collections/OutputParser.java @ 932:9ff7e06bcb77

Artifacts and Collections now support the 'type' member of Outputs. flys-artifacts/trunk@2311 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 08 Jul 2011 08:26:18 +0000
parents 853dceead0f4
children c256061287d7
comparison
equal deleted inserted replaced
931:057cc0bf4aef 932:9ff7e06bcb77
110 110
111 String uri = ArtifactNamespaceContext.NAMESPACE_URI; 111 String uri = ArtifactNamespaceContext.NAMESPACE_URI;
112 112
113 String desc = out.getAttributeNS(uri, "description"); 113 String desc = out.getAttributeNS(uri, "description");
114 String mimetype = out.getAttributeNS(uri, "mime-type"); 114 String mimetype = out.getAttributeNS(uri, "mime-type");
115 String type = out.getAttributeNS(uri, "type");
115 116
116 Output o = new DefaultOutput(name, desc, mimetype); 117 Output o = new DefaultOutput(name, desc, mimetype, type);
117 118
118 outs.put(name, o); 119 outs.put(name, o);
119 } 120 }
120 121
121 122

http://dive4elements.wald.intevation.org