@Setup(mode=SINGLETON, priority=2000) public class CollectionsJsonEnricher extends AbstractJsonEnricher<DocumentModel>
| Modifier and Type | Field and Description | 
|---|---|
| static String | NAME | 
ENTITY_ENRICHER_NAMEctx, registry| Constructor and Description | 
|---|
| CollectionsJsonEnricher() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | write(org.codehaus.jackson.JsonGenerator jg,
     DocumentModel document)When implementing this method, the provided  JsonGeneratorexpect you write a field name and a field value
 (or many). | 
accept, writegetGenerator, write, writeEntity, writeEntity, writeEntityFieldpublic static final String NAME
public CollectionsJsonEnricher()
public void write(org.codehaus.jackson.JsonGenerator jg, DocumentModel document) throws IOException
AbstractJsonEnricherJsonGenerator expect you write a field name and a field value
 (or many).write in class AbstractJsonEnricher<DocumentModel>jg - The JsonGenerator to use.document - The enriched entity.IOExceptionCopyright © 2017 Nuxeo. All rights reserved.