}));
parseAndAssertNodeCount(1);
assertType("html tag",Html.class,node[0]);
Html html = (Html)node[0];
NodeList nodeList = new NodeList();
NodeClassFilter filter = new NodeClassFilter (TitleTag.class);
html.collectInto(nodeList, filter);
assertEquals("nodelist size",1,nodeList.size());
Node node = nodeList.elementAt(0);
assertType("expected title tag",TitleTag.class,node);
TitleTag titleTag = (TitleTag)node;