net.sf.mavenhist.extractor.checkstyle
Class AbstractCheckstyleSingleValueExtractor

java.lang.Object
  extended by net.sf.mavenhist.extractor.AbstractXMLValueExtractor
      extended by net.sf.mavenhist.extractor.AbstractValidatingXMLValueExtractor
          extended by net.sf.mavenhist.extractor.AbstractXPathValueExtractor
              extended by net.sf.mavenhist.extractor.checkstyle.AbstractCheckstyleSingleValueExtractor
All Implemented Interfaces:
INamedExtractor, IValueExtractor, IXMLValueExtractor
Direct Known Subclasses:
AbstractCheckstyleViolationExtractor, CheckstyleCheckedFilesExtractor

public abstract class AbstractCheckstyleSingleValueExtractor
extends AbstractXPathValueExtractor

Adds the validity check for all checkstyle extractors.


Constructor Summary
AbstractCheckstyleSingleValueExtractor()
           
 
Method Summary
protected  String getValidityTestXPath()
          Checks the validity of a xml file for this extractor.
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractXPathValueExtractor
extractValidatedDocument, getVersion, getVersionXPath, getXPath
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractValidatingXMLValueExtractor
extract, isDocumentValid
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractXMLValueExtractor
extract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.mavenhist.extractor.INamedExtractor
getName
 

Constructor Detail

AbstractCheckstyleSingleValueExtractor

public AbstractCheckstyleSingleValueExtractor()
Method Detail

getValidityTestXPath

protected final String getValidityTestXPath()
Checks the validity of a xml file for this extractor.

Specified by:
getValidityTestXPath in class AbstractValidatingXMLValueExtractor
Returns:
xpath returning more then 0 nodes if file is valid.


Copyright © 2009. All Rights Reserved.