this.blacklist = blacklist;
this.whitelist = whitelist;
currentPage = new XmlPage(maxRevisions, minTime, maxTime);
// if a whitelist is given, do not render any other page:
if (whitelist != null) {
currentPage.setCheckSkipRevisions(new CheckSkipRevisions() {
@Override
public boolean skipRevisions(String pageTitle) {
return !inWhiteList(pageTitle);
}
});