@Override
public PageRenderDecorator createPageRenderDecorator(final PageEntity page,
final String languageCode) {
if (page.isSimple()) {
return new SimplePageRenderDecorator(page, languageCode,
getDao(), this, getSystemService());
}
if (page.isStructured()) {
return new StructurePageRenderDecorator(page, languageCode, null,
getDao(), this, getSystemService());