public class WriterBackedGenerator extends JavaPropsGenerator
| Modifier and Type | Field and Description | 
|---|---|
| protected Writer | _outUnderlying  Writerused for output. | 
| protected char[] | _outputBufferIntermediate buffer in which contents are buffered before
 being written using  _out. | 
| protected int | _outputEndOffset to index after the last valid index in  _outputBuffer. | 
| protected int | _outputTailPointer to the next available location in  _outputBuffer | 
_basePath, _headerChecked, _indentLength, _ioContext, _jpropContext, _schema, BOGUS_WRITE_CONTEXT, SHORT_WRITE_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING| Constructor and Description | 
|---|
| WriterBackedGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
                     Writer out,
                     int stdFeatures,
                     com.fasterxml.jackson.core.ObjectCodec codec) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | _flushBuffer() | 
| protected void | _releaseBuffers() | 
| protected void | _writeEscaped(char[] text,
             int offset,
             int len) | 
| protected void | _writeEscaped(String value) | 
| protected void | _writeEscapedEntry(char[] text,
                  int offset,
                  int len) | 
| protected void | _writeEscapedEntry(String value) | 
| protected void | _writeLinefeed() | 
| protected void | _writeRaw(char c) | 
| protected void | _writeRaw(char[] text,
         int offset,
         int len) | 
| protected void | _writeRaw(String text) | 
| protected void | _writeRaw(StringBuilder text) | 
| protected void | _writeRawLong(String text) | 
| protected void | _writeRawLong(StringBuilder text) | 
| protected void | _writeUnescapedEntry(String value) | 
| void | close() | 
| void | flush() | 
| Object | getOutputTarget() | 
_verifyValueWrite, canOmitFields, canUseSchema, canWriteBinaryNatively, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, getCurrentValue, getOutputContext, getSchema, setCurrentValue, setPrettyPrinter, setSchema, useDefaultPrettyPrinter, version, writeBinary, writeBoolean, writeEndArray, writeEndObject, writeFieldName, writeNull, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeRaw, writeRaw, writeRaw, writeRaw, writeRaw, writeRawUTF8String, writeStartArray, writeStartObject, writeString, writeString, writeUTF8String_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, disable, enable, getCodec, getFeatureMask, isClosed, isEnabled, overrideStdFeatures, setCodec, setFeatureMask, writeBinary, writeFieldName, writeObject, writeRawValue, writeRawValue, writeRawValue, writeRawValue, writeStartObject, writeString, writeTree_reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, configure, copyCurrentEvent, copyCurrentStructure, getCharacterEscapes, getFormatFeatures, getHighestEscapedChar, getOutputBuffered, getPrettyPrinter, overrideFormatFeatures, setCharacterEscapes, setHighestNonEscapedChar, setRootValueSeparator, writeArray, writeArray, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writeStartArray, writeString, writeStringField, writeTypeId, writeTypePrefix, writeTypeSuffixprotected char[] _outputBuffer
_out.protected int _outputTail
_outputBufferprotected final int _outputEnd
_outputBuffer.
 Typically same as length of the buffer.public WriterBackedGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
                     Writer out,
                     int stdFeatures,
                     com.fasterxml.jackson.core.ObjectCodec codec)
public Object getOutputTarget()
getOutputTarget in class com.fasterxml.jackson.core.JsonGeneratorpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionpublic void flush()
           throws IOException
flush in interface Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBaseIOExceptionprotected void _releaseBuffers()
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected void _flushBuffer()
                     throws IOException
IOExceptionprotected void _writeEscapedEntry(String value) throws IOException
_writeEscapedEntry in class JavaPropsGeneratorIOExceptionprotected void _writeEscapedEntry(char[] text,
                      int offset,
                      int len)
                           throws IOException
_writeEscapedEntry in class JavaPropsGeneratorIOExceptionprotected void _writeUnescapedEntry(String value) throws IOException
_writeUnescapedEntry in class JavaPropsGeneratorIOExceptionprotected void _writeEscaped(String value) throws IOException
IOExceptionprotected void _writeEscaped(char[] text,
                 int offset,
                 int len)
                      throws IOException
IOExceptionprotected void _writeLinefeed()
                       throws IOException
IOExceptionprotected void _writeRaw(char c)
                  throws IOException
_writeRaw in class JavaPropsGeneratorIOExceptionprotected void _writeRaw(String text) throws IOException
_writeRaw in class JavaPropsGeneratorIOExceptionprotected void _writeRaw(StringBuilder text) throws IOException
_writeRaw in class JavaPropsGeneratorIOExceptionprotected void _writeRaw(char[] text,
             int offset,
             int len)
                  throws IOException
_writeRaw in class JavaPropsGeneratorIOExceptionprotected void _writeRawLong(String text) throws IOException
IOExceptionprotected void _writeRawLong(StringBuilder text) throws IOException
IOExceptionCopyright © 2017 FasterXML. All rights reserved.