// recurseHtmlNodes(nodelist, base);
} // else maybe it is a parsed Flash document? Anyone? :-)
}
private void processHtml(HttpUrl base, NodeList nodelist) {
NodeFilter filter = new HasAttributeFilter("href");
filter = new OrFilter(filter, new HasAttributeFilter("src"));
filter = new OrFilter(filter, new HasAttributeFilter("onclick"));
filter = new OrFilter(filter, new HasAttributeFilter("onblur"));
try {
NodeList links = nodelist.extractAllNodesThatMatch(filter);
for (NodeIterator ni = links.elements(); ni.hasMoreNodes(); ) {
Node node = ni.nextNode();
if (node instanceof Tag) {