org.imixs.workflow.jaxrs
Class EntityCollectionWriter
java.lang.Object
org.imixs.workflow.jaxrs.EntityCollectionWriter
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.EntityCollection>
@Provider
public class EntityCollectionWriter
- extends java.lang.Object
- implements javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.EntityCollection>
This MessageBodyWriter generates an HTML representation from a Entitycollection
- Author:
- rsoika
|
Method Summary |
long |
getSize(org.imixs.workflow.xml.EntityCollection arg0,
java.lang.Class<?> arg1,
java.lang.reflect.Type arg2,
java.lang.annotation.Annotation[] arg3,
javax.ws.rs.core.MediaType arg4)
|
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
void |
writeTo(org.imixs.workflow.xml.EntityCollection entityCollection,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityCollectionWriter
public EntityCollectionWriter()
isWriteable
public boolean isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.EntityCollection>
writeTo
public void writeTo(org.imixs.workflow.xml.EntityCollection entityCollection,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
throws java.io.IOException,
javax.ws.rs.WebApplicationException
- Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.EntityCollection>
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
getSize
public long getSize(org.imixs.workflow.xml.EntityCollection arg0,
java.lang.Class<?> arg1,
java.lang.reflect.Type arg2,
java.lang.annotation.Annotation[] arg3,
javax.ws.rs.core.MediaType arg4)
- Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.EntityCollection>
Copyright © 2010-2012 Imixs Software Solutions GmbH. All Rights Reserved.