diff --git a/rome/src/main/java/com/rometools/rome/io/impl/Atom10Generator.java b/rome/src/main/java/com/rometools/rome/io/impl/Atom10Generator.java index 3cced0c..fec27cc 100644 --- a/rome/src/main/java/com/rometools/rome/io/impl/Atom10Generator.java +++ b/rome/src/main/java/com/rometools/rome/io/impl/Atom10Generator.java @@ -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 {