Flushable
CollectionComposer
, MapComposer
, ObjectComposer
, SequenceComposer
public abstract class ComposerBase extends Object implements Flushable
Modifier and Type | Field | Description |
---|---|---|
protected ComposerBase |
_child |
|
protected boolean |
_open |
Modifier | Constructor | Description |
---|---|---|
protected |
ComposerBase() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
_childClosed() |
|
protected abstract Object |
_finish() |
|
protected IllegalStateException |
_illegalCall() |
|
protected Object |
_safeFinish() |
Helper method used to "peel away" bogus exception declaration
|
protected abstract ComposerBase |
_start() |
|
protected <P extends ComposerBase> |
_startArray(P parent,
com.fasterxml.jackson.core.JsonGenerator g) |
|
protected <P extends ComposerBase> |
_startCollection(P parent) |
|
protected <P extends ComposerBase> |
_startMap(P parent) |
|
protected <P extends ComposerBase> |
_startObject(P parent,
com.fasterxml.jackson.core.JsonGenerator g) |
protected ComposerBase _child
protected boolean _open
protected abstract ComposerBase _start() throws IOException
IOException
protected abstract Object _finish() throws IOException
IOException
protected Object _safeFinish()
protected final void _childClosed()
protected IllegalStateException _illegalCall()
protected <P extends ComposerBase> ArrayComposer<P> _startArray(P parent, com.fasterxml.jackson.core.JsonGenerator g) throws IOException
IOException
protected <P extends ComposerBase> ObjectComposer<P> _startObject(P parent, com.fasterxml.jackson.core.JsonGenerator g) throws IOException
IOException
protected <P extends ComposerBase> CollectionComposer<P,?> _startCollection(P parent)
protected <P extends ComposerBase> MapComposer<P> _startMap(P parent)
Copyright © 2018. All rights reserved.