Package com.fasterxml.jackson.jr.ob.comp
Class ComposerBase
java.lang.Object
com.fasterxml.jackson.jr.ob.comp.ComposerBase
- All Implemented Interfaces:
Flushable
- Direct Known Subclasses:
CollectionComposer,MapComposer,ObjectComposer,SequenceComposer
Base class for all composer implementations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidprotected abstract Object_finish()protected IllegalStateExceptionprotected ObjectHelper method used to "peel away" bogus exception declarationprotected abstract ComposerBase_start()protected <P extends ComposerBase>
ArrayComposer<P>_startArray(P parent, com.fasterxml.jackson.core.JsonGenerator g) protected <P extends ComposerBase>
CollectionComposer<P,?> _startCollection(P parent) protected <P extends ComposerBase>
MapComposer<P>_startMap(P parent) protected <P extends ComposerBase>
ObjectComposer<P>_startObject(P parent, com.fasterxml.jackson.core.JsonGenerator g)
-
Field Details
-
_child
-
_open
protected boolean _open
-
-
Constructor Details
-
ComposerBase
protected ComposerBase()
-
-
Method Details
-
_start
- Throws:
IOException
-
_finish
- Throws:
IOException
-
_safeFinish
Helper method used to "peel away" bogus exception declaration -
_childClosed
protected final void _childClosed() -
_illegalCall
-
_startArray
protected <P extends ComposerBase> ArrayComposer<P> _startArray(P parent, com.fasterxml.jackson.core.JsonGenerator g) throws IOException - Throws:
IOException
-
_startObject
protected <P extends ComposerBase> ObjectComposer<P> _startObject(P parent, com.fasterxml.jackson.core.JsonGenerator g) throws IOException - Throws:
IOException
-
_startCollection
-
_startMap
-