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

public abstract Class ComposerBase

extends Object
implements Flushable
Class Inheritance
All Implemented Interfaces
java.io.Flushable
Known Direct Subclasses
com.fasterxml.jackson.jr.ob.comp.MapComposer, com.fasterxml.jackson.jr.ob.comp.ObjectComposer, com.fasterxml.jackson.jr.ob.comp.SequenceComposer, com.fasterxml.jackson.jr.ob.comp.CollectionComposer
Imports
java.io.Flushable, .IOException, java.util.Collection, com.fasterxml.jackson.core.JsonGenerator

Base class for all composer implementations.

Field Summary

Modifier and TypeField and Description
protected ComposerBase
protected boolean

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected final void
protected abstract Object
protected IllegalStateException
protected Object
_safeFinish()

Helper method used to "peel away" bogus exception declaration

protected abstract ComposerBase
protected <P extends ComposerBase> ArrayComposer<P>
protected <P extends ComposerBase> CollectionComposer<P, ?>
_startCollection(P parent)

protected <P extends ComposerBase> MapComposer<P>
_startMap(P parent)

protected <P extends ComposerBase> ObjectComposer<P>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_childback to summary
protected ComposerBase _child
_openback to summary
protected boolean _open

Constructor Detail

ComposerBaseback to summary
protected ComposerBase()

Method Detail

_childClosedback to summary
protected final void _childClosed()
_finishback to summary
protected abstract Object _finish() throws IOException
_illegalCallback to summary
protected IllegalStateException _illegalCall()
_safeFinishback to summary
protected Object _safeFinish()

Helper method used to "peel away" bogus exception declaration

_startback to summary
protected abstract ComposerBase _start() throws IOException
_startArrayback to summary
protected <P extends ComposerBase> ArrayComposer<P> _startArray(P parent, JsonGenerator g) throws IOException
_startCollectionback to summary
protected <P extends ComposerBase> CollectionComposer<P, ?> _startCollection(P parent)
_startMapback to summary
protected <P extends ComposerBase> MapComposer<P> _startMap(P parent)
_startObjectback to summary
protected <P extends ComposerBase> ObjectComposer<P> _startObject(P parent, JsonGenerator g) throws IOException