comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 945:59ae2a823e73

Use the Facet.toXML() method to write facet elements into the DESCRIBE document of the Collection. flys-artifacts/trunk@2360 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 19 Jul 2011 10:37:57 +0000
parents c256061287d7
children d0c9a5f32c30
comparison
equal deleted inserted replaced
944:c256061287d7 945:59ae2a823e73
706 } 706 }
707 707
708 protected void parse(Document output) { 708 protected void parse(Document output) {
709 NodeList themes = (NodeList) XMLUtils.xpath( 709 NodeList themes = (NodeList) XMLUtils.xpath(
710 output, 710 output,
711 "art:output/art:theme", 711 "art:output/art:facet",
712 XPathConstants.NODESET, 712 XPathConstants.NODESET,
713 ArtifactNamespaceContext.INSTANCE); 713 ArtifactNamespaceContext.INSTANCE);
714 714
715 int num = themes != null ? themes.getLength() : 0; 715 int num = themes != null ? themes.getLength() : 0;
716 716

http://dive4elements.wald.intevation.org