1 19 20 33 package org.htmlparser.scanners; 34 import org.htmlparser.tags.AppletTag; 35 import org.htmlparser.tags.Tag; 36 import org.htmlparser.tags.data.CompositeTagData; 37 import org.htmlparser.tags.data.TagData; 38 import org.htmlparser.util.ParserException; 39 40 43 public class AppletScanner extends CompositeTagScanner 44 { 45 private static String [] MATCH_STRING = { "APPLET" }; 46 private java.lang.String className; 47 private java.lang.String archive; 48 private java.lang.String codebase; 49 50 public AppletScanner() 51 { 52 super(MATCH_STRING); 53 } 54 55 public AppletScanner(String filter) 56 { 57 super(filter, MATCH_STRING); 58 } 59 60 public String [] getID() 61 { 62 return MATCH_STRING; 63 } 64 65 public Tag createTag(TagData tagData, CompositeTagData compositeTagData) 66 throws ParserException 67 { 68 69 return new AppletTag(tagData, compositeTagData); 70 } 71 72 } 73 | Popular Tags |