comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVDefaultArtifact.java @ 789:0dc115cbef0d

Added javadoc for artifact package. gnv-artifacts/trunk@871 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 31 Mar 2010 09:09:05 +0000
parents c4156275c1e1
children 05bf8534a35a
comparison
equal deleted inserted replaced
788:e8a9e84a0328 789:0dc115cbef0d
13 13
14 import org.w3c.dom.Document; 14 import org.w3c.dom.Document;
15 import org.w3c.dom.Element; 15 import org.w3c.dom.Element;
16 16
17 /** 17 /**
18 * The default gnv artifact. The only thing defined here is a method to append
19 * the selected fis to the describe document.
20 *
18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 21 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
19 */ 22 */
20 public class GNVDefaultArtifact extends DefaultArtifact { 23 public class GNVDefaultArtifact extends DefaultArtifact {
21 24
22 private static Logger logger = Logger.getLogger(GNVDefaultArtifact.class); 25 private static Logger logger = Logger.getLogger(GNVDefaultArtifact.class);
23 26
27 /**
28 *
29 */
24 public static final String EXCEPTION_NO_INPUT = "no.input.data"; 30 public static final String EXCEPTION_NO_INPUT = "no.input.data";
25 31
26 32
33 /**
34 * Constructor.
35 */
27 public GNVDefaultArtifact() { 36 public GNVDefaultArtifact() {
28 super(); 37 super();
29 } 38 }
30 39
31 40
41 /**
42 * Append the selected fis to the describe document.
43 *
44 * @param document
45 * @param staticNode
46 * @param context
47 * @param fisName
48 */
32 protected void appendFis( 49 protected void appendFis(
33 Document document, 50 Document document,
34 Element staticNode, 51 Element staticNode,
35 CallContext context, 52 CallContext context,
36 String fisName 53 String fisName
81 selectNode.appendChild(choicesNode); 98 selectNode.appendChild(choicesNode);
82 99
83 staticNode.appendChild(selectNode); 100 staticNode.appendChild(selectNode);
84 } 101 }
85 } 102 }
103 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org