net.sf.mavenhist.extractor.cpd
Class CPDDuplicatedLinesExtractor

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.cpd.AbstractCPDDuplicatedLinesExtractor
                  extended by net.sf.mavenhist.extractor.cpd.CPDDuplicatedLinesExtractor
All Implemented Interfaces:
INamedExtractor, IValueExtractor, IXMLValueExtractor

public class CPDDuplicatedLinesExtractor
extends AbstractCPDDuplicatedLinesExtractor

Extracts the number of duplicated lines in this project.


Constructor Summary
CPDDuplicatedLinesExtractor()
           
 
Method Summary
 String getName()
          Gets the name of the entity.
protected  String getXPath(String version)
          Returns the XPath to get the required value of a specified XML version.
 
Methods inherited from class net.sf.mavenhist.extractor.cpd.AbstractCPDDuplicatedLinesExtractor
getValidityTestXPath
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractXPathValueExtractor
extractValidatedDocument, getVersion, getVersionXPath
 
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
 

Constructor Detail

CPDDuplicatedLinesExtractor

public CPDDuplicatedLinesExtractor()
Method Detail

getXPath

protected String getXPath(String version)
Returns the XPath to get the required value of a specified XML version.

Specified by:
getXPath in class AbstractXPathValueExtractor
Returns:
XPath to get the required value.

getName

public String getName()
Gets the name of the entity.

Returns:
the name.


Copyright © 2009. All Rights Reserved.