int targetType) {
if (source == null || target == null) {
throw new IllegalArgumentException("Arguments must not be null.");
}
if ((targetType & REPORT_TSV) != 0) {
this.lister = new SeparatedListingCreator();
} else if ((targetType & REPORT_XML) != 0) {
this.lister = new XmlCreator();
} else if ((targetType & REPORT_OTHER) != 0) {
this.lister = new XmlCreator();
// NO writing.