stats.addStats(new TranslationStatistics(unitCount, LocaleId.EN_US
.toString()));
stats.addStats(new TranslationStatistics(wordCount, LocaleId.EN_US
.toString()));
DocumentInfo docInfo =
new DocumentInfo(new DocumentId(1111L, "no/filter/matches"),
"matches", "no/filter", LocaleId.EN_US, stats,
new AuditInfo(new Date(), "Translator"),
new HashMap<String, String>(), new AuditInfo(
new Date(), "last translator"));
docList.add(new DocumentNode(docInfo));
docInfo =
new DocumentInfo(new DocumentId(2222L, "match/exact/filter"),
"filter", "match/exact/", LocaleId.EN_US, stats,
new AuditInfo(new Date(), "Translator"),
new HashMap<String, String>(), new AuditInfo(
new Date(), "last translator"));
docList.add(new DocumentNode(docInfo));
docInfo =
new DocumentInfo(new DocumentId(3333L,
"does/not/match/exact/filter"), "filter",
"does/not/match/exact/", LocaleId.EN_US, stats,
new AuditInfo(new Date(), "Translator"),
new HashMap<String, String>(), new AuditInfo(
new Date(), "last translator"));