org.nuxeo.ecm.platform.forms.layout.export
Class WidgetTypeDefinitionJsonWriter
java.lang.Object
org.nuxeo.ecm.platform.forms.layout.export.WidgetTypeDefinitionJsonWriter
- All Implemented Interfaces:
- MessageBodyWriter<WidgetTypeDefinition>
@Provider
public class WidgetTypeDefinitionJsonWriter
- extends Object
- implements MessageBodyWriter<WidgetTypeDefinition>
- Since:
- 5.4
- Author:
- Anahide Tchertchian
Method Summary |
long |
getSize(WidgetTypeDefinition arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
|
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3)
|
void |
writeTo(WidgetTypeDefinition arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream arg6)
|
WidgetTypeDefinitionJsonWriter
public WidgetTypeDefinitionJsonWriter()
getSize
public long getSize(WidgetTypeDefinition arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
- Specified by:
getSize
in interface MessageBodyWriter<WidgetTypeDefinition>
isWriteable
public boolean isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3)
- Specified by:
isWriteable
in interface MessageBodyWriter<WidgetTypeDefinition>
writeTo
public void writeTo(WidgetTypeDefinition arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream arg6)
throws IOException,
WebApplicationException
- Specified by:
writeTo
in interface MessageBodyWriter<WidgetTypeDefinition>
- Throws:
IOException
WebApplicationException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.