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