@Setup(mode=SINGLETON, priority=2000) public class LayoutJsonWriter extends AbstractJsonWriter<Layout>
ctx, registry| Constructor and Description | 
|---|
LayoutJsonWriter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
write(Layout entity,
     com.fasterxml.jackson.core.JsonGenerator jg)
Implement this method to writes the entity in the provided  
JsonGenerator. | 
protected void | 
writeLayoutRow(LayoutRow layoutRow,
              com.fasterxml.jackson.core.JsonGenerator jg)  | 
protected void | 
writeWidget(Widget widget,
           com.fasterxml.jackson.core.JsonGenerator jg)  | 
accept, getGenerator, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapFieldpublic LayoutJsonWriter()
public void write(Layout entity, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
AbstractJsonWriterJsonGenerator.
 This method implementation can use injected properties.
 The JsonGenerator's flushing is done by this abstract class, it's also not not necessary to flush it. Do
 not close the provided JsonGenerator. It may be used is another marshaller calling this one.
 
write in class AbstractJsonWriter<Layout>entity - The entity to marshall as Json.jg - The JsonGenerator used to produce Json output.IOExceptionprotected void writeLayoutRow(LayoutRow layoutRow, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
IOExceptionprotected void writeWidget(Widget widget, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.