@Provider public class ConversionStatusWriter extends EntityWriter<ConversionStatus>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE |
factory
Constructor and Description |
---|
ConversionStatusWriter() |
Modifier and Type | Method and Description |
---|---|
protected String |
getEntityType()
get the Entity type of the current entity type.
|
protected void |
writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
ConversionStatus conversionStatus)
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTo
public static final String ENTITY_TYPE
public ConversionStatusWriter()
protected void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, ConversionStatus conversionStatus) throws IOException
EntityWriter
writeEntityBody
in class EntityWriter<ConversionStatus>
IOException
protected String getEntityType()
EntityWriter
getEntityType
in class EntityWriter<ConversionStatus>
Copyright © 2015 Nuxeo SA. All rights reserved.