comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 3245:dd3ddc8ecb14

Remove HYK references/code from ChartGenerator flys-artifacts/trunk@4878 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Fri, 06 Jul 2012 09:32:45 +0000
parents 1dca41dba135
children 68320805566a
comparison
equal deleted inserted replaced
3244:1a79d47ed14b 3245:dd3ddc8ecb14
765 765
766 log.debug("Search theme for facet '" + facet + "' in attribute."); 766 log.debug("Search theme for facet '" + facet + "' in attribute.");
767 767
768 Node theme = (Node) XMLUtils.xpath( 768 Node theme = (Node) XMLUtils.xpath(
769 tmp, 769 tmp,
770 "art:themes/theme[@facet='" + facet + 770 "art:themes/theme[@facet='" + facet +
771 "' and @index='" + String.valueOf(index) + "']", 771 "' and @index='" + String.valueOf(index) + "']",
772 XPathConstants.NODE, 772 XPathConstants.NODE,
773 ArtifactNamespaceContext.INSTANCE); 773 ArtifactNamespaceContext.INSTANCE);
774 774
775 if (theme == null) { 775 if (theme == null) {
784 } 784 }
785 785
786 addThemeToAttribute(uuid, attr, t, context); 786 addThemeToAttribute(uuid, attr, t, context);
787 theme = t.toXML().getFirstChild(); 787 theme = t.toXML().getFirstChild();
788 } 788 }
789 /*else {
790 log.debug("getFacetThemeFromAttribute: " + XMLUtils.toString(theme));
791 }*/
792 789
793 Document doc = XMLUtils.newDocument(); 790 Document doc = XMLUtils.newDocument();
794 doc.appendChild(doc.importNode(theme, true)); 791 doc.appendChild(doc.importNode(theme, true));
795 792
796 return doc; 793 return doc;
888 885
889 Document attr = XMLUtils.newDocument(); 886 Document attr = XMLUtils.newDocument();
890 addThemeToAttribute(uuid, attr, t, context); 887 addThemeToAttribute(uuid, attr, t, context);
891 888
892 log.debug("initItemAttribute for facet " + facet + ": " + XMLUtils.toString(attr)); 889 log.debug("initItemAttribute for facet " + facet + ": " + XMLUtils.toString(attr));
893 890
894 return attr; 891 return attr;
895 } 892 }
896 893
897 894
898 /** 895 /**

http://dive4elements.wald.intevation.org