Top Fields Constructors Methods
com.fasterxml.jackson.jr.ob.comp

public abstract Class SequenceComposer<THIS extends SequenceComposer<THIS>>

extends ComposerBase
Class Inheritance
Known Direct Subclasses
com.fasterxml.jackson.jr.ob.JSONComposer, com.fasterxml.jackson.jr.ob.comp.ArrayComposer
Imports
java.io.IOException, com.fasterxml.jackson.core.JsonGenerator

Field Summary

Modifier and TypeField and Description
protected final JsonGenerator
Inherited from com.fasterxml.jackson.jr.ob.comp.ComposerBase:
_child_open

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected THIS
public THIS
add(int value)

public THIS
add(long value)

public THIS
add(double value)

public THIS
add(String value)

public THIS
public THIS
add(boolean value)

public THIS
public THIS
addObject(Object pojo)

Method used to add Java Object ("POJO") into sequence being composed: this requires that the underlying JsonGenerator has a properly configure com.fasterxml.jackson.core.ObjectCodec to use for serializer object.

public void
public ArrayComposer<THIS>
public ObjectComposer<THIS>
Inherited from com.fasterxml.jackson.jr.ob.comp.ComposerBase:
_childClosed_finish_illegalCall_safeFinish_start_startArray_startCollection_startMap_startObject

Field Detail

_generatorback to summary
protected final JsonGenerator _generator

Constructor Detail

SequenceComposerback to summary
public SequenceComposer(JsonGenerator g)

Method Detail

_closeChildback to summary
protected void _closeChild() throws IOException
_thisback to summary
protected THIS _this()
Annotations
@SuppressWarnings:unchecked
addback to summary
public THIS add(int value) throws IOException
addback to summary
public THIS add(long value) throws IOException
addback to summary
public THIS add(double value) throws IOException
addback to summary
public THIS add(String value) throws IOException
addback to summary
public THIS add(CharSequence value) throws IOException
addback to summary
public THIS add(boolean value) throws IOException
addNullback to summary
public THIS addNull() throws IOException
addObjectback to summary
public THIS addObject(Object pojo) throws IOException

Method used to add Java Object ("POJO") into sequence being composed: this requires that the underlying JsonGenerator has a properly configure com.fasterxml.jackson.core.ObjectCodec to use for serializer object.

flushback to summary
public void flush() throws IOException

Implements java.io.Flushable.flush.

Calls JsonGenerator#flush on underlying JsonGenerator.

Annotations
@Override
Exceptions
IOException:

Doc from java.io.Flushable.flush.

If an I/O error occurs

startArrayback to summary
public ArrayComposer<THIS> startArray() throws IOException
startObjectback to summary
public ObjectComposer<THIS> startObject() throws IOException