Added missing entry 'rights' to Atom 1.0 generator output.

This commit is contained in:
Michael Atwood 2016-03-29 09:48:32 -04:00
parent 9aa69bf607
commit 7bbcce50d1

View file

@ -324,6 +324,11 @@ public class Atom10Generator extends BaseWireFeedGenerator {
eEntry.addContent(sourceElement);
}
final String rights = entry.getRights();
if (rights != null) {
eEntry.addContent(generateSimpleElement("rights", rights));
}
}
protected void checkFeedHeaderConstraints(final Element eFeed) throws FeedException {