if (items == null || items.isEmpty()) {
return;
}
for (final MenuItem item : items) {
final Options options = new Options(project.getUrl() + relativePath(item.getHref()));
options.lastMod(new Date());
options.changeFreq(changeFreq);
generator.addUrl(options.build());
extractItems(project, item.getItems(), generator, changeFreq);
}
}