AtomPerson author = entry.getAuthors().get(0);
author.setName(author.getName() + "Updated");
author.setEmail(author.getEmail() + "Updated");
AtomText title = entry.getTitle();
title.setValue(title.getValue() + "Updated");
AtomContent content = entry.getContent();
content.setValue(content.getValue() + "Updated");
resource = client.resource(BASE_URI + "/blogs/0/entries/1/comments/0");
AtomEntry updated =
resource.accept("application/atom+xml").contentType("application/atom+xml")
.put(AtomEntry.class, entry);