*
* @return the atom feed
*/
private AtomFeed getAtomFeed() {
if(_atomFeed == null) {
AtomFeed af = new AtomFeedWriter(this.getPrintWriter()).new AtomFeed();
af.setTitle(getMessageBroker().retrieveMessage("catalog.rest.title"));
af.setDescription(getMessageBroker().retrieveMessage(
"catalog.rest.description"));
af.setAuthor(getMessageBroker().retrieveMessage(
"catalog.rest.generator"));
af.setCopyright(getMessageBroker().retrieveMessage(
"catalog.rest.copyright"));
//af.setLink(getEntryBaseUrl());
//af.setId(getEntryBaseUrl());
af.setUpdated(new Date());
_atomFeed = af;
}
return _atomFeed;
}