public int countImageTagsWithHTMLParser() throws ParserException
{
Parser parser =
new Parser("http://www.yahoo.com", new DefaultParserFeedback());
parser.addScanner(new ImageScanner("-i", new LinkProcessor()));
int parserImgTagCount = 0;
Node node;
for (NodeIterator e = parser.elements(); e.hasMoreNodes();)
{
node = (Node) e.nextNode();