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