Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java @ 1826:8d9b573d1b9a
Minor comsetics.
flys-artifacts/trunk@3156 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 04 Nov 2011 08:18:41 +0000 |
parents | a97764363ba2 |
children | da286eb91c9b bfaa5578e79d |
comparison
equal
deleted
inserted
replaced
1825:02cd002205a3 | 1826:8d9b573d1b9a |
---|---|
46 "/art:action/art:ids/@value"; | 46 "/art:action/art:ids/@value"; |
47 | 47 |
48 public static final String STATIC_STATE_NAME = | 48 public static final String STATIC_STATE_NAME = |
49 "state.additional_wkms.static"; | 49 "state.additional_wkms.static"; |
50 | 50 |
51 | |
52 /** One and only state to be in. */ | 51 /** One and only state to be in. */ |
53 protected transient State state = null; | 52 protected transient State state = null; |
54 | 53 |
55 | 54 |
56 /** | 55 /** |
78 | 77 |
79 List<Facet> fs = new ArrayList<Facet>(); | 78 List<Facet> fs = new ArrayList<Facet>(); |
80 logger.debug(XMLUtils.toString(data)); | 79 logger.debug(XMLUtils.toString(data)); |
81 String code = XMLUtils.xpathString( | 80 String code = XMLUtils.xpathString( |
82 data, XPATH_DATA, ArtifactNamespaceContext.INSTANCE); | 81 data, XPATH_DATA, ArtifactNamespaceContext.INSTANCE); |
83 | |
84 logger.debug("makes: " + code); | |
85 | 82 |
86 // TODO Go for JSON, one day. | 83 // TODO Go for JSON, one day. |
87 //ex.: flood_protection-wstv-114-12 | 84 //ex.: flood_protection-wstv-114-12 |
88 if (code != null) { | 85 if (code != null) { |
89 String [] parts = code.split("-"); | 86 String [] parts = code.split("-"); |