Hi guys,

We're moving from cxf with Abdera for Atom
to RestEasy with RestEasy's atom support.
So far, most of the migration has been a breeze, but this part is unclear:

In Cxf Abdera we got:

         Entry e = factory.newEntry();

         //generate meta data
         ExtensibleElement extension = entry.addExtension(METADATA);
         ExtensibleElement childExtension = 
         childExtension.addSimpleExtension(VALUE, p.isArchived() ? 
"true" : "false");

         childExtension = extension.addExtension(UUID);
         childExtension.addSimpleExtension(VALUE, p.getUUID());

         Content content = factory.newContent();

How does the ExtensibleElement stuff translate to RestEasy's atom support?

         Entry e = new Entry();
         // TODO ExtensibleElement stuff
         Content content = new Content();

The manual does seem to imply that's possibly, only just not how:
"Feeds are composed of a number of items, known as "entries", each with 
an extensible set of attached metadata."

Thank in advance for any help.

With kind regards,
Geoffrey De Smet

Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
Resteasy-users mailing list

Reply via email to