comparison flys-client/src/main/java/de/intevation/flys/client/server/MetaDataServiceImpl.java @ 916:a1a5dc2b9e34

Improved the DEM datacage panel to display the DEMs only. flys-client/trunk@2779 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 16 Sep 2011 13:24:36 +0000
parents bd56dc762e7f
children ab8eb2f544f2
comparison
equal deleted inserted replaced
915:89a47098bcbd 916:a1a5dc2b9e34
33 public DataCageTree getMetaData( 33 public DataCageTree getMetaData(
34 String url, 34 String url,
35 String locale, 35 String locale,
36 String artifactId, 36 String artifactId,
37 String userId, 37 String userId,
38 String outs 38 String outs,
39 String parameters
39 ) throws ServerException 40 ) throws ServerException
40 { 41 {
41 System.out.println("MetaDataService.getMetaData"); 42 System.out.println("MetaDataService.getMetaData");
42 43
43 Document doc = XMLUtils.newDocument(); 44 Document doc = XMLUtils.newDocument();
65 Element outsEl = ec.create("outs"); 66 Element outsEl = ec.create("outs");
66 outsEl.setAttribute("value", outs); 67 outsEl.setAttribute("value", outs);
67 meta.appendChild(outsEl); 68 meta.appendChild(outsEl);
68 } 69 }
69 70
71 if (parameters != null) {
72 Element paramsEl = ec.create("parameters");
73 paramsEl.setAttribute("value", parameters);
74 meta.appendChild(paramsEl);
75 }
76
70 doc.appendChild(meta); 77 doc.appendChild(meta);
71 78
72 HttpClient client = new HttpClientImpl(url, locale); 79 HttpClient client = new HttpClientImpl(url, locale);
73 80
74 try { 81 try {

http://dive4elements.wald.intevation.org