1 19 20 33 package org.htmlparser.scanners; 34 35 import org.htmlparser.tags.Html; 36 import org.htmlparser.tags.Tag; 37 import org.htmlparser.tags.data.CompositeTagData; 38 import org.htmlparser.tags.data.TagData; 39 40 public class HtmlScanner extends CompositeTagScanner 41 { 42 private static String MATCH_STRING[] = { "HTML" }; 43 44 public HtmlScanner() 45 { 46 this(""); 47 } 48 49 public HtmlScanner(String filter) 50 { 51 super(filter, MATCH_STRING); 52 } 53 54 public String [] getID() 55 { 56 return MATCH_STRING; 57 } 58 59 public Tag createTag(TagData tagData, CompositeTagData compositeTagData) 60 { 61 return new Html(tagData, compositeTagData); 62 } 63 64 } 65 | Popular Tags |