All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.is24.deadcode4j.analyzer.SpringXmlAnalyzer Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package de.is24.deadcode4j.analyzer;

import de.is24.deadcode4j.Analyzer;

/**
 * Analyzes Spring XML files:
 * 
 *
 * @since 1.1.0
 */
public class SpringXmlAnalyzer extends SimpleXmlAnalyzer implements Analyzer {

    public SpringXmlAnalyzer() {
        super("_Spring-XML_", ".xml", "beans");
        registerClassAttribute("bean", "class");
        registerClassAttribute("endpoint", "implementor");
        registerClassAttribute("endpoint", "implementorClass");
        registerClassAttribute("property", "value").withAttributeValue("name", "jobClass");
        registerClassAttribute("property", "value").withAttributeValue("name", "viewClass");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy