Class DocumentCollectionWriter

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>

    @Provider
    @Produces("text/html")
    public class DocumentCollectionWriter
    extends Object
    implements jakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>
    This MessageBodyWriter generates an HTML representation from a DocumetCollection
    Author:
    rsoika
    • Constructor Detail

      • DocumentCollectionWriter

        public DocumentCollectionWriter()
    • Method Detail

      • isWriteable

        public boolean isWriteable​(Class<?> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   jakarta.ws.rs.core.MediaType mediaType)
        Specified by:
        isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>