* @author corysmith@google.com (Cory Smith)
*/
public class HtmlDocParser {
public Nodes parse(BufferedTokenStream stream) {
Nodes nodes = new Nodes();
NodeFactory[] factorys = new NodeFactory[]{
new HtmlDocNodeFactory(new HtmlDocGlobalNode.GlobalNodeStrategy()),
new BlockNodeFactory( new NodeFactory[] {
new HtmlDocNodeFactory(new HtmlDocNestedNode.NestedNodeStrategy()),