@Provider public class XMLItemCollectionWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLItemCollection>
| Constructor and Description |
|---|
XMLItemCollectionWriter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertValuesToString(List values)
This method converts the Values of a vector into a string representation.
|
long |
getSize(org.imixs.workflow.xml.XMLItemCollection arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
static void |
printHead(BufferedWriter bw)
prints the generic HTML Head for HTML output.
|
static void |
printXMLItemCollectionHTML(BufferedWriter bw,
org.imixs.workflow.xml.XMLItemCollection xmlworkItem)
This Method prints a single XMLItemCollection in html format
|
void |
writeTo(org.imixs.workflow.xml.XMLItemCollection xmlItemCollection,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLItemCollection>public void writeTo(org.imixs.workflow.xml.XMLItemCollection xmlItemCollection,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException,
javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLItemCollection>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic long getSize(org.imixs.workflow.xml.XMLItemCollection arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.imixs.workflow.xml.XMLItemCollection>public static void printXMLItemCollectionHTML(BufferedWriter bw, org.imixs.workflow.xml.XMLItemCollection xmlworkItem) throws IOException
out - workItem - IOExceptionpublic static String convertValuesToString(List values)
values - public static void printHead(BufferedWriter bw) throws IOException
bw - IOExceptionCopyright © 2010-2013 Imixs Software Solutions GmbH. All Rights Reserved.