1 22 23 package org.enhydra.kelp.common.bridge; 24 25 import org.enhydra.xml.xmlc.dom.XMLCDocument; 27 import org.w3c.dom.*; 28 29 public class PrintInfoV2 extends PrintInfo { 31 32 public PrintInfoV2(Document doc, XMLCDocument xmlcDoc) { 33 super(doc, xmlcDoc); 34 } 35 36 37 40 protected void getElementURLs(Element element, XMLCDocument xmlcDoc) { 41 NamedNodeMap attrs = element.getAttributes(); 42 43 if (attrs != null) { 44 for (int idx = 0; idx < attrs.getLength(); idx++) { 45 Attr attr = (Attr) attrs.item(idx); 46 47 if (xmlcDoc.isURLAttribute(element, attr.getNodeName())) { 48 urls.addElement(attr.getValue()); 49 } 50 } 51 } 52 } 53 54 } 55 | Popular Tags |