private StringClosure CreateStringClosure(string text) { HtmlCharStream stream = new HtmlCharStream(text); StringClosure closure = new StringClosure(stream); return closure; }
public HtmlTokenizer(HtmlCharStream cs) { _cs = cs; _stringClosure = new StringClosure(cs); }