StringWriter stringWriter = new StringWriter();
StreamWriter writer = Abdera.getInstance()
.getWriterFactory().newStreamWriter();
writer.setWriter(stringWriter);
writer.startEntry();
writer.writeId(entry.getId());
writer.writeUpdated(entry.getUpdated());
writer.writePublished(entry.getPublished());
if (predecessor != null) {
writer.startElement(Common.PREDECESSOR, Common.NS_URI);
writer.writeElementText(predecessor);