Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2268

Collapse Atom Feed and Entry providers and support Atom reflectively

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3
    • JAX-RS
    • None

    Description

      it should be possible to serialize a given wrapper collection like customers without users haveing to explicitly deal with Abdera, for example :

      @Path("/")
      public class SomeService {

      @GET
      @Produces("application/atom+feed")
      public Customers getCustomers() {}

      }

      public class Customers

      { private List<Customer> customers; }

      Atom provider would introspect Customers for top level feed properties and every Customer for individual entry properties. It would check for well known properties, like getId(), etc, and will default to some reasonable values when needed. Atom provider should also accept class-specific out-of-band atom properties (beans) which can customize the serialization as needed.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: