Class MarshallerDescriptor

java.lang.Object
org.nuxeo.ecm.automation.server.MarshallerDescriptor
All Implemented Interfaces:
Descriptor

public class MarshallerDescriptor extends Object implements Descriptor
Since:
5.8
  • Field Details

    • writers

      public List<Class<? extends javax.ws.rs.ext.MessageBodyWriter<?>>> writers
    • readers

      public List<Class<? extends javax.ws.rs.ext.MessageBodyReader<?>>> readers
  • Constructor Details

    • MarshallerDescriptor

      public MarshallerDescriptor()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor