}
if (page.getModDate() != null) {
pageElement.addElement("modDate").setText(
DateUtil.dateTimeToString(page.getModDate()));
}
StructureEntity structure = getDao().getStructureDao().getById(
page.getStructureId());
pageElement.addElement("structure").setText(
structure == null ? "" : structure.getTitle());
StructureTemplateEntity structureTemplate = getDao()
.getStructureTemplateDao().getById(page.getStructureTemplateId());
pageElement.addElement("structureTemplate").setText(
structureTemplate == null ? "" : structureTemplate.getName());
pageElement.addElement("pageType").setText(page.getPageType().name());