1 19 20 33 package org.htmlparser.scanners; 34 35 import org.htmlparser.tags.InputTag; 36 import org.htmlparser.tags.Tag; 37 import org.htmlparser.tags.data.TagData; 38 import org.htmlparser.util.ParserException; 39 40 public class InputTagScanner extends TagScanner 41 { 42 public InputTagScanner() 43 { 44 super(); 45 } 46 47 public InputTagScanner(String filter) 48 { 49 super(filter); 50 } 51 52 public String [] getID() 53 { 54 String [] ids = new String [1]; 55 ids[0] = "INPUT"; 56 return ids; 57 } 58 59 protected Tag createTag(TagData tagData, Tag tag, String url) 60 throws ParserException 61 { 62 return new InputTag(tagData); 63 } 64 65 } | Popular Tags |