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