public class PropertiesBackedGenerator extends JavaPropsGenerator
Modifier and Type | Field and Description |
---|---|
protected Properties |
_props
Underlying
Properties that we will update with logical
properties written out. |
_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 |
---|
PropertiesBackedGenerator(com.fasterxml.jackson.core.io.IOContext ctxt,
Properties props,
int stdFeatures,
com.fasterxml.jackson.core.ObjectCodec codec) |
Modifier and Type | Method and Description |
---|---|
protected void |
_releaseBuffers() |
protected void |
_writeEscapedEntry(char[] text,
int offset,
int len) |
protected void |
_writeEscapedEntry(String value) |
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, writeTypeSuffix
protected final Properties _props
Properties
that we will update with logical
properties written out.public PropertiesBackedGenerator(com.fasterxml.jackson.core.io.IOContext ctxt, Properties props, int stdFeatures, com.fasterxml.jackson.core.ObjectCodec codec)
public Object getOutputTarget()
getOutputTarget
in class com.fasterxml.jackson.core.JsonGenerator
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class com.fasterxml.jackson.core.base.GeneratorBase
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class com.fasterxml.jackson.core.base.GeneratorBase
IOException
protected void _releaseBuffers()
_releaseBuffers
in class com.fasterxml.jackson.core.base.GeneratorBase
protected void _writeEscapedEntry(char[] text, int offset, int len) throws IOException
_writeEscapedEntry
in class JavaPropsGenerator
IOException
protected void _writeEscapedEntry(String value) throws IOException
_writeEscapedEntry
in class JavaPropsGenerator
IOException
protected void _writeUnescapedEntry(String value) throws IOException
_writeUnescapedEntry
in class JavaPropsGenerator
IOException
protected void _writeRaw(char c) throws IOException
_writeRaw
in class JavaPropsGenerator
IOException
protected void _writeRaw(String text) throws IOException
_writeRaw
in class JavaPropsGenerator
IOException
protected void _writeRaw(StringBuilder text) throws IOException
_writeRaw
in class JavaPropsGenerator
IOException
protected void _writeRaw(char[] text, int offset, int len) throws IOException
_writeRaw
in class JavaPropsGenerator
IOException
protected void _writeRawLong(String text) throws IOException
IOException
protected void _writeRawLong(StringBuilder text) throws IOException
IOException
Copyright © 2017 FasterXML. All rights reserved.