net.sf.mavenhist.extractor.pmd
Class AbstractPMDExtractor

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.pmd.AbstractPMDExtractor
All Implemented Interfaces:
INamedExtractor, IValueExtractor, IXMLValueExtractor
Direct Known Subclasses:
PMDFilesExtractor, PMDViolationsExtractor

public abstract class AbstractPMDExtractor
extends AbstractXPathValueExtractor

Handles the validation path for the xml.


Constructor Summary
AbstractPMDExtractor()
           
 
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

AbstractPMDExtractor

public AbstractPMDExtractor()
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.