org.nuxeo.ecm.webengine.model.io
Class TemplateWriter
java.lang.Object
org.nuxeo.ecm.webengine.model.io.TemplateWriter
- All Implemented Interfaces:
- MessageBodyWriter<Template>
@Provider
public class TemplateWriter
- extends Object
- implements MessageBodyWriter<Template>
- Author:
- Bogdan Stefanescu
Method Summary |
long |
getSize(Template arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
|
boolean |
isWriteable(Class<?> arg0,
Type type,
Annotation[] arg2,
MediaType arg3)
|
void |
writeTo(Template t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
|
TemplateWriter
public TemplateWriter()
writeTo
public void writeTo(Template t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException
- Specified by:
writeTo
in interface MessageBodyWriter<Template>
- Throws:
IOException
getSize
public long getSize(Template arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
- Specified by:
getSize
in interface MessageBodyWriter<Template>
isWriteable
public boolean isWriteable(Class<?> arg0,
Type type,
Annotation[] arg2,
MediaType arg3)
- Specified by:
isWriteable
in interface MessageBodyWriter<Template>
Copyright © 2011 Nuxeo SAS. All Rights Reserved.