Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/utils/ArtifactXMLUtilities.java @ 456:b8080695ea62
Splitted code pathes of dynamic and static nodes. Static nodes contain the selected value only instead of transfering the whole stack of options again.
gnv-artifacts/trunk@506 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 04 Jan 2010 15:41:29 +0000 |
parents | 2f7a28f211c7 |
children | dde7f51dbe1e |
comparison
equal
deleted
inserted
replaced
455:363236fc462d | 456:b8080695ea62 |
---|---|
112 log.error(e, e); | 112 log.error(e, e); |
113 } | 113 } |
114 return document; | 114 return document; |
115 } | 115 } |
116 | 116 |
117 public Element createXFormElement(Document document, String name) { | 117 public static Element createXFormElement(Document document, String name) { |
118 Element node = document.createElementNS(XFORM_URL, name); | 118 Element node = document.createElementNS(XFORM_URL, name); |
119 node.setPrefix(XFORM_PREFIX); | 119 node.setPrefix(XFORM_PREFIX); |
120 return node; | 120 return node; |
121 } | 121 } |
122 | 122 |