Class SequencerJsonWriter
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter<EntityType>
org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter<Sequencer>
org.nuxeo.ecm.restapi.jaxrs.io.management.SequencerJsonWriter
- All Implemented Interfaces:
Marshaller<Sequencer>
,Writer<Sequencer>
@Setup(mode=SINGLETON,
priority=2000)
public class SequencerJsonWriter
extends ExtensibleEntityJsonWriter<Sequencer>
- Since:
- 2025.0
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter
ctx, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
writeEntityBody
(Sequencer entity, com.fasterxml.jackson.core.JsonGenerator jg) Implement this method to write the entity body.Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter
extend, write
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter
accept, getGenerator, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapField
-
Field Details
-
ENTITY_TYPE
- See Also:
-
-
Constructor Details
-
SequencerJsonWriter
public SequencerJsonWriter()
-
-
Method Details
-
writeEntityBody
protected void writeEntityBody(Sequencer entity, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException Description copied from class:ExtensibleEntityJsonWriter
Implement this method to write the entity body.- Specified by:
writeEntityBody
in classExtensibleEntityJsonWriter<Sequencer>
- Parameters:
entity
- The Java entity.jg
- AJsonGenerator
ready to write your entity as Json.- Throws:
IOException
-