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

Method createDigester

java/org/apache/catalina/startup/HostConfig.java:356–365  ·  view source on GitHub ↗

Create the digester which will be used to parse context config files. @param contextClassName The class which will be used to create the context instance @return the digester

(String contextClassName)

Source from the content-addressed store, hash-verified

354 * @return the digester
355 */
356 protected static Digester createDigester(String contextClassName) {
357 Digester digester = new Digester();
358 digester.setValidating(false);
359 // Add object creation rule
360 digester.addObjectCreate("Context", contextClassName, "className");
361 // Set the properties on that object (it doesn't matter if extra
362 // properties are set)
363 digester.addSetProperties("Context");
364 return digester;
365 }
366
367 /**
368 * Return the canonical file for the given path. If the path is relative, it is resolved against the

Callers 2

HostConfigClass · 0.95
setContextClassMethod · 0.95

Calls 3

setValidatingMethod · 0.95
addObjectCreateMethod · 0.95
addSetPropertiesMethod · 0.95

Tested by

no test coverage detected