1 package net.sf.mavenhist.extractor.checkstyle;
2
3 import net.sf.mavenhist.extractor.AbstractXPathValueExtractor;
4
5 /**
6 * Adds the validity check for all checkstyle extractors.
7 */
8 public abstract class AbstractCheckstyleSingleValueExtractor extends AbstractXPathValueExtractor {
9
10 /**
11 * Checks the validity of a xml file for this extractor.
12 * @return xpath returning more then 0 nodes if file is valid.
13 */
14 protected final String getValidityTestXPath() {
15 return "checkstyle";
16 }
17 }