Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.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 | 2f7fed1eb4bf |
comparison
equal
deleted
inserted
replaced
2740:64dc2997b2dd | 2741:0251393f037c |
---|---|
72 CallMeta callMeta, | 72 CallMeta callMeta, |
73 Document data) | 73 Document data) |
74 { | 74 { |
75 logger.debug("GaugeDischargeArtifact.setup"); | 75 logger.debug("GaugeDischargeArtifact.setup"); |
76 super.setup(identifier, factory, context, callMeta, data); | 76 super.setup(identifier, factory, context, callMeta, data); |
77 String ids = XMLUtils.xpathString( | 77 String ids = StaticFLYSArtifact.getDatacageIDValue(data); |
78 data, StaticFLYSArtifact.XPATH_IDS, | |
79 ArtifactNamespaceContext.INSTANCE); | |
80 logger.debug("id for gaugedischarge: " + ids); | 78 logger.debug("id for gaugedischarge: " + ids); |
81 | |
82 } | 79 } |
83 | 80 |
84 | 81 |
85 /** Return the name of this artifact. */ | 82 /** Return the name of this artifact. */ |
86 public String getName() { | 83 public String getName() { |