Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 943:5de90b0cff8e
The WMSLayerFacet now writes the WMS URL and layernames to its XML representation.
flys-artifacts/trunk@2353 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 18 Jul 2011 15:07:47 +0000 |
parents | 9e813e9137a5 |
children | 3f3988bb6284 |
comparison
equal
deleted
inserted
replaced
942:796c54058dc4 | 943:5de90b0cff8e |
---|---|
192 | 192 |
193 logger.debug("Found " + fs.size() + " facets in previous states."); | 193 logger.debug("Found " + fs.size() + " facets in previous states."); |
194 | 194 |
195 List<Output> generated = generateOutputs(list, fs); | 195 List<Output> generated = generateOutputs(list, fs); |
196 | 196 |
197 ProtocolUtils.appendOutputModes(creator, outs, generated); | 197 ProtocolUtils.appendOutputModes(doc, outs, generated); |
198 } | 198 } |
199 | 199 |
200 try { | 200 try { |
201 DefaultState cur = (DefaultState) getCurrentState(context); | 201 DefaultState cur = (DefaultState) getCurrentState(context); |
202 if (cur.validate(this, context)) { | 202 if (cur.validate(this, context)) { |
210 List<Output> generated = generateOutputs(list, fs); | 210 List<Output> generated = generateOutputs(list, fs); |
211 | 211 |
212 logger.debug("Found " + fs.size() + " current facets."); | 212 logger.debug("Found " + fs.size() + " current facets."); |
213 if (!generated.isEmpty()) { | 213 if (!generated.isEmpty()) { |
214 ProtocolUtils.appendOutputModes( | 214 ProtocolUtils.appendOutputModes( |
215 creator, outs, generated); | 215 doc, outs, generated); |
216 } | 216 } |
217 } | 217 } |
218 else { | 218 else { |
219 logger.debug("No facets found for the current state."); | 219 logger.debug("No facets found for the current state."); |
220 } | 220 } |