Exemplo n.º 1
0
 /// <summary>Create a new Parser, using the specified TreeBuilder</summary>
 /// <param name="treeBuilder">TreeBuilder to use to parse input into Documents.</param>
 public Parser(TreeBuilder treeBuilder)
 {
     this.treeBuilder = treeBuilder;
 }
Exemplo n.º 2
0
 /// <summary>Update the TreeBuilder used when parsing content.</summary>
 /// <param name="treeBuilder">current TreeBuilder</param>
 /// <returns>this, for chaining</returns>
 public virtual iText.StyledXmlParser.Jsoup.Parser.Parser SetTreeBuilder(TreeBuilder treeBuilder)
 {
     this.treeBuilder = treeBuilder;
     return(this);
 }
Exemplo n.º 3
0
 /// <summary>Create a new Parser, using the specified TreeBuilder</summary>
 /// <param name="treeBuilder">TreeBuilder to use to parse input into Documents.</param>
 public Parser(TreeBuilder treeBuilder)
 {
     // by default, error tracking is disabled.
     this.treeBuilder = treeBuilder;
 }