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