1 package net.sf.mavenhist.extractor;
2
3 import org.w3c.dom.Document;
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 IXMLValueExtractor {
10 /**
11 * Extracts multiple values from one result document.
12 * @param document to parse for the values.
13 * @return Array of metrics with the differentiated locations and values.
14 * @throws ExtractionException the XML-Queries failed.
15 */
16 MultiMetric[] extract(Document document) throws ExtractionException;
17 }