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