
de.is24.deadcode4j.analyzer.ApacheTilesAnalyzer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deadcode4j-maven-plugin Show documentation
Show all versions of deadcode4j-maven-plugin Show documentation
Finds unused classes of a project
package de.is24.deadcode4j.analyzer;
/**
* Analyzes Apache Tiles definition XML files: lists the preparer, bean & item
* classes being referenced.
*
* @since 1.5
*/
public final class ApacheTilesAnalyzer extends SimpleXmlAnalyzer {
public ApacheTilesAnalyzer() {
super("_ApacheTilesXml_", ".xml", "tiles-definitions");
// http://tiles.apache.org/dtds/tiles-config_3_0.dtd
registerClassAttribute("definition", "preparer");
// http://tiles.apache.org/dtds/tiles-config_2_1.dtd
// http://tiles.apache.org/dtds/tiles-config_2_0.dtd
registerClassAttribute("bean", "classtype");
registerClassAttribute("item", "classtype");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy