Package org.imixs.workflow.jaxrs
Class DocumentCollectionWriter
- java.lang.Object
-
- org.imixs.workflow.jaxrs.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 Summary
Constructors Constructor Description DocumentCollectionWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSize(XMLDataCollection arg0, Class<?> arg1, Type arg2, Annotation[] arg3, jakarta.ws.rs.core.MediaType arg4)
boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
void
writeTo(XMLDataCollection entityCollection, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfacejakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>
-
writeTo
public void writeTo(XMLDataCollection entityCollection, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
- Specified by:
writeTo
in interfacejakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
getSize
public long getSize(XMLDataCollection arg0, Class<?> arg1, Type arg2, Annotation[] arg3, jakarta.ws.rs.core.MediaType arg4)
- Specified by:
getSize
in interfacejakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>
-
-