Package org.imixs.workflow.jaxrs
Klasse DocumentCollectionWriter
java.lang.Object
org.imixs.workflow.jaxrs.DocumentCollectionWriter
- Alle implementierten Schnittstellen:
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
- Autor:
- rsoika
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglonggetSize(XMLDataCollection arg0, Class<?> arg1, Type arg2, Annotation[] arg3, jakarta.ws.rs.core.MediaType arg4) booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) voidwriteTo(XMLDataCollection entityCollection, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
-
Konstruktordetails
-
DocumentCollectionWriter
public DocumentCollectionWriter()
-
-
Methodendetails
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Angegeben von:
isWriteablein Schnittstellejakarta.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- Angegeben von:
writeToin Schnittstellejakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>- Löst aus:
IOExceptionjakarta.ws.rs.WebApplicationException
-
getSize
public long getSize(XMLDataCollection arg0, Class<?> arg1, Type arg2, Annotation[] arg3, jakarta.ws.rs.core.MediaType arg4) - Angegeben von:
getSizein Schnittstellejakarta.ws.rs.ext.MessageBodyWriter<XMLDataCollection>
-