net.sf.mavenhist.extractor.findbugs
Class AbstractFindbugsExtractor

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.findbugs.AbstractFindbugsExtractor
All Implemented Interfaces:
INamedExtractor, IValueExtractor, IXMLValueExtractor
Direct Known Subclasses:
FindbugsViolationFilesExtractor, FindbugsViolationsExtractor

public abstract class AbstractFindbugsExtractor
extends AbstractXPathValueExtractor

Abstract Extractor, handles the validation for findbugs files.


Constructor Summary
AbstractFindbugsExtractor()
           
 
Method Summary
protected  String getValidityTestXPath()
          The given xml-file will be tested with this xpath to be sure that the result will be valid.
 
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

AbstractFindbugsExtractor

public AbstractFindbugsExtractor()
Method Detail

getValidityTestXPath

protected final String getValidityTestXPath()
The given xml-file will be tested with this xpath to be sure that the result will be valid. It is necessairy that the xpath query has a result to mark the XML as okay.

Specified by:
getValidityTestXPath in class AbstractValidatingXMLValueExtractor
Returns:
XPath to check validity of the given file.


Copyright © 2009. All Rights Reserved.