Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/DefaultVegetationZoneXPathFunction.java @ 9403:e2da9c8a7c57
VegetationZone umbenennen
author | gernotbelger |
---|---|
date | Wed, 15 Aug 2018 13:22:00 +0200 |
parents | e511eb935ccd |
children | e5cb5efbc43e |
comparison
equal
deleted
inserted
replaced
9402:e511eb935ccd | 9403:e2da9c8a7c57 |
---|---|
16 import javax.xml.xpath.XPathFunctionException; | 16 import javax.xml.xpath.XPathFunctionException; |
17 | 17 |
18 import org.dive4elements.artifacts.CallContext; | 18 import org.dive4elements.artifacts.CallContext; |
19 import org.dive4elements.river.artifacts.D4EArtifact; | 19 import org.dive4elements.river.artifacts.D4EArtifact; |
20 import org.dive4elements.river.artifacts.access.RiverAccess; | 20 import org.dive4elements.river.artifacts.access.RiverAccess; |
21 import org.dive4elements.river.artifacts.uinfo.vegetationzones.VegetationZone; | 21 import org.dive4elements.river.artifacts.uinfo.vegetationzones.VegetationZoneServerClientXChange; |
22 import org.dive4elements.river.utils.RiverUtils; | 22 import org.dive4elements.river.utils.RiverUtils; |
23 | 23 |
24 /** | 24 /** |
25 * Very specialized function that fetches the default vegetation zones for the river specified by an artifact | 25 * Very specialized function that fetches the default vegetation zones for the river specified by an artifact |
26 * | 26 * |
47 | 47 |
48 final D4EArtifact artifact = RiverUtils.getArtifact(uuid.toString(), this.context); | 48 final D4EArtifact artifact = RiverUtils.getArtifact(uuid.toString(), this.context); |
49 | 49 |
50 final RiverAccess access = new RiverAccess(artifact); | 50 final RiverAccess access = new RiverAccess(artifact); |
51 | 51 |
52 return VegetationZone.parseListToDataString(VegetationZone.getStandardList(access.getRiver(), this.context)); | 52 return VegetationZoneServerClientXChange.parseListToDataString(VegetationZoneServerClientXChange.getStandardList(access.getRiver(), this.context)); |
53 } | 53 } |
54 } | 54 } |