public abstract class ComposerBase extends Object implements Flushable
Modifier and Type | Field and Description |
---|---|
protected ComposerBase |
_child |
protected boolean |
_open |
Modifier | Constructor and Description |
---|---|
protected |
ComposerBase() |
Modifier and Type | Method and 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,
JsonGenerator g) |
protected <P extends ComposerBase> |
_startCollection(P parent) |
protected <P extends ComposerBase> |
_startMap(P parent) |
protected <P extends ComposerBase> |
_startObject(P parent,
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, JsonGenerator g) throws IOException
IOException
protected <P extends ComposerBase> ObjectComposer<P> _startObject(P parent, JsonGenerator g) throws IOException
IOException
protected <P extends ComposerBase> CollectionComposer<P,?> _startCollection(P parent)
protected <P extends ComposerBase> MapComposer<P> _startMap(P parent)
Copyright © 2020 FasterXML. All rights reserved.