net.sf.mavenhist.extractor
Class AbstractXMLValueExtractor

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

public abstract class AbstractXMLValueExtractor
extends Object
implements IValueExtractor, IXMLValueExtractor


Constructor Summary
AbstractXMLValueExtractor()
           
 
Method Summary
 MultiMetric[] extract(InputStream inputStream)
          Extracts multiple values from one result document.
 
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
 
Methods inherited from interface net.sf.mavenhist.extractor.IXMLValueExtractor
extract
 

Constructor Detail

AbstractXMLValueExtractor

public AbstractXMLValueExtractor()
Method Detail

extract

public final MultiMetric[] extract(InputStream inputStream)
                            throws ExtractionException
Description copied from interface: IValueExtractor
Extracts multiple values from one result document.

Specified by:
extract in interface IValueExtractor
Parameters:
inputStream - stream of the read file.
Returns:
Array of metrics with the differentiated locations and values. Should never return null but may return an empty array.
Throws:
ExtractionException


Copyright © 2009. All Rights Reserved.