1 package net.sf.mavenhist.extractor;
2
3 import java.io.InputStream;
4
5 /**
6 * XML data extractor for multiple results. Is capable to return many values for different locations
7 * in the software.
8 */
9 public interface IValueExtractor extends INamedExtractor {
10 /**
11 * Extracts multiple values from one result document.
12 * @param inputStream stream of the read file.
13 * @return Array of metrics with the differentiated locations and values. Should never return <code>null</code>
14 * but may return an empty array.
15 */
16 MultiMetric[] extract(InputStream inputStream) throws ExtractionException;
17 }