MCPcopy Index your code
hub / github.com/apache/tomcat / addRule

Method addRule

java/org/apache/tomcat/util/digester/Digester.java:1688–1693  ·  view source on GitHub ↗

Register a new Rule matching the specified pattern. This method sets the Digester property on the rule. @param pattern Element matching pattern @param rule Rule to be registered

(String pattern, Rule rule)

Source from the content-addressed store, hash-verified

1686 * @param rule Rule to be registered
1687 */
1688 public void addRule(String pattern, Rule rule) {
1689
1690 rule.setDigester(this);
1691 getRules().add(pattern, rule);
1692
1693 }
1694
1695
1696 /**

Callers 15

addCallMethodMethod · 0.95
addCallParamMethod · 0.95
addFactoryCreateMethod · 0.95
addObjectCreateMethod · 0.95
addSetNextMethod · 0.95
addSetPropertiesMethod · 0.95
createStartDigesterMethod · 0.95
createDigesterMethod · 0.95
addRuleInstancesMethod · 0.80
addRuleInstancesMethod · 0.80
addRuleInstancesMethod · 0.80
configureNamingRulesMethod · 0.80

Calls 3

getRulesMethod · 0.95
setDigesterMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected