Extend the Extractor Library with coding.

If you want to extend the extractor library with a report extractor that is currently not supported, you could develop it an easy way:

  1. Get a report-XML file (where you want to extract the data from) and copy it in the test/resources directory.
  2. Generate a new JUnit-test in the test/java directory. The JUnittest could be derived from SingleExtractorTestBase or MultiExtractorTestBase for easy implementation.
  3. Generate the extractor class in the main/java directory. Best is to add all extractors for a report in an own package. The extractor must implement IValueExtractor. The simplest implementation is a extension of AbstractXPathValueExtractor. This works only for single value extractors working on XML-files.
  4. Contribute your extractor to the project by sending me an email with the patch to martin_jaeger(at)sourceforge.net ;).
  5. I will release a new version soon.