Class AbstractLayoutJsonWriter<EntityType>
- java.lang.Object
- 
- org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter<EntityType>
- 
- org.nuxeo.ecm.platform.forms.layout.export.AbstractLayoutJsonWriter<EntityType>
 
 
- 
- All Implemented Interfaces:
- Marshaller<EntityType>,- Writer<EntityType>
 - Direct Known Subclasses:
- LayoutDefinitionJsonWriter,- WidgetDefinitionJsonWriter,- WidgetTypeConfigurationJsonWriter
 
 public abstract class AbstractLayoutJsonWriter<EntityType> extends AbstractJsonWriter<EntityType> - Since:
- 10.1
 
- 
- 
Field Summary- 
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriterctx, registry
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractLayoutJsonWriter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SortedMap<String,Map<String,Serializable>>cleanAndSort(Map<String,Map<String,Serializable>> map)protected voidwriteSerializableMapMapField(String fieldName, Map<String,Map<String,Serializable>> map, com.fasterxml.jackson.core.JsonGenerator jg)Writes a map whose values are a map.- 
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriteraccept, getGenerator, write, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapField
 
- 
 
- 
- 
- 
Method Detail- 
cleanAndSortprotected SortedMap<String,Map<String,Serializable>> cleanAndSort(Map<String,Map<String,Serializable>> map) 
 - 
writeSerializableMapMapFieldprotected void writeSerializableMapMapField(String fieldName, Map<String,Map<String,Serializable>> map, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException Writes a map whose values are a map.- Parameters:
- fieldName- The name of the Json field in which the maps will be written.
- map- The map to write.
- jg- The- JsonGeneratorused to write the given map.
- Throws:
- IOException
 
 
- 
 
-