1 17 18 19 package org.apache.catalina.startup; 20 21 22 import org.apache.tomcat.util.digester.Digester; 23 import org.apache.tomcat.util.digester.RuleSetBase; 24 25 26 33 34 public class TldRuleSet extends RuleSetBase { 35 36 37 39 40 43 protected String prefix = null; 44 45 46 48 49 53 public TldRuleSet() { 54 55 this(""); 56 57 } 58 59 60 67 public TldRuleSet(String prefix) { 68 69 super(); 70 this.namespaceURI = null; 71 this.prefix = prefix; 72 73 } 74 75 76 78 79 88 public void addRuleInstances(Digester digester) { 89 90 digester.addCallMethod(prefix + "taglib/listener/listener-class", 91 "addApplicationListener", 0); 92 93 } 94 95 96 } 97 | Popular Tags |