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

Method begin

java/org/apache/tomcat/util/descriptor/tld/TldRuleSet.java:55–66  ·  view source on GitHub ↗
(String namespace, String name, Attributes attributes)

Source from the content-addressed store, hash-verified

53 digester.addRule(PREFIX, new Rule() {
54 // for TLD 2.0 and later, jsp-version is set by version attribute
55 @Override
56 public void begin(String namespace, String name, Attributes attributes) {
57 TaglibXml taglibXml = (TaglibXml) digester.peek();
58 taglibXml.setJspVersion(attributes.getValue("version"));
59
60 StringBuilder code = digester.getGeneratedCode();
61 if (code != null) {
62 code.append(digester.toVariableName(taglibXml)).append(".setJspVersion(\"");
63 code.append(attributes.getValue("version")).append("\");");
64 code.append(System.lineSeparator());
65 }
66 }
67 });
68 digester.addCallMethod(PREFIX + "/shortname", "setShortName", 0);
69 digester.addCallMethod(PREFIX + "/short-name", "setShortName", 0);

Callers

nothing calls this directly

Calls 6

setJspVersionMethod · 0.95
getGeneratedCodeMethod · 0.80
toVariableNameMethod · 0.80
getValueMethod · 0.65
peekMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected