comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java @ 2741:0251393f037c

Refactor usage of now static xpath, other artifacts will follow in later commits. flys-artifacts/trunk@4475 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 23 May 2012 10:17:06 +0000
parents 64dc2997b2dd
children 02254d763bc0
comparison
equal deleted inserted replaced
2740:64dc2997b2dd 2741:0251393f037c
76 76
77 return desc; 77 return desc;
78 } 78 }
79 79
80 80
81 /**
82 * Return the value of id element in Datacage data document.
83 * @param data Document as passed by datacage.
84 * @return the id element value of data document.
85 */
86 public static String getDatacageIDValue(Document data) {
87 return XMLUtils.xpathString(data, XPATH_IDS,
88 ArtifactNamespaceContext.INSTANCE);
89 }
90
91
81 protected Element createOutputModes( 92 protected Element createOutputModes(
82 CallContext cc, 93 CallContext cc,
83 Document doc, 94 Document doc,
84 ElementCreator creator) 95 ElementCreator creator)
85 { 96 {

http://dive4elements.wald.intevation.org