1 27 package org.htmlparser; 28 29 import java.util.Vector ; 30 31 import org.htmlparser.Remark; 32 import org.htmlparser.Tag; 33 import org.htmlparser.Text; 34 import org.htmlparser.lexer.Page; 35 import org.htmlparser.util.ParserException; 36 37 42 public interface NodeFactory 43 { 44 50 public Text createStringNode (Page page, int start, int end) 51 throws 52 ParserException; 53 54 60 public Remark createRemarkNode (Page page, int start, int end) 61 throws 62 ParserException; 63 64 75 public Tag createTagNode (Page page, int start, int end, Vector attributes) 76 throws 77 ParserException; 78 } 79 | Popular Tags |