Search in sources :

Example 1 with Content

use of com.rometools.rome.feed.atom.Content in project wombat by PLOS.

the class ArticleFeedView method buildAtomContents.

private List<Content> buildAtomContents(Map<String, ?> article) {
    Content content = new Content();
    content.setType("html");
    content.setValue(getContentText(article));
    return ImmutableList.of(content);
}
Also used : Content(com.rometools.rome.feed.atom.Content)

Aggregations

Content (com.rometools.rome.feed.atom.Content)1