Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DefaultState.java @ 1743:8a2cbf947395
Prepared the DESCRIBE document of a WINFO Artifact so that named main values for Qs are displayed.
flys-artifacts/trunk@3035 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 19 Oct 2011 15:32:22 +0000 |
parents | 17648043429f |
children | 41ba2276d785 |
comparison
equal
deleted
inserted
replaced
1742:809acad6a320 | 1743:8a2cbf947395 |
---|---|
104 return; | 104 return; |
105 } | 105 } |
106 | 106 |
107 logger.debug("Append element '" + name + "' (" + value + ")"); | 107 logger.debug("Append element '" + name + "' (" + value + ")"); |
108 | 108 |
109 Element e = createStaticData(cr, context, name, value, data.getType()); | 109 Element e = createStaticData( |
110 flys, cr, context, name, value, data.getType()); | |
110 | 111 |
111 ui.appendChild(e); | 112 ui.appendChild(e); |
112 | 113 |
113 } | 114 } |
114 | 115 |
123 * @param value The value as string. | 124 * @param value The value as string. |
124 * | 125 * |
125 * @return an Element. | 126 * @return an Element. |
126 */ | 127 */ |
127 protected Element createStaticData( | 128 protected Element createStaticData( |
129 FLYSArtifact flys, | |
128 ElementCreator creator, | 130 ElementCreator creator, |
129 CallContext cc, | 131 CallContext cc, |
130 String name, | 132 String name, |
131 String value, | 133 String value, |
132 String type | 134 String type |