Class PropertiesBackedGenerator

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.Versioned, java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class PropertiesBackedGenerator
    extends JavaPropsGenerator
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.core.JsonGenerator

        com.fasterxml.jackson.core.JsonGenerator.Feature
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​java.lang.Object> _content
      Underlying Properties that we will update with logical properties written out.
      • Fields inherited from class com.fasterxml.jackson.core.base.GeneratorBase

        _cfgNumbersAsStrings, _closed, _features, _ioContext, _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
      • Fields inherited from class com.fasterxml.jackson.core.JsonGenerator

        _cfgPrettyPrinter, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertiesBackedGenerator​(com.fasterxml.jackson.core.io.IOContext ctxt, java.util.Map<?,​?> content, int stdFeatures, com.fasterxml.jackson.core.ObjectCodec codec)  
      PropertiesBackedGenerator​(com.fasterxml.jackson.core.io.IOContext ctxt, java.util.Properties props, int stdFeatures, com.fasterxml.jackson.core.ObjectCodec codec)
      Deprecated.
    • Field Detail

      • _content

        protected final java.util.Map<java.lang.String,​java.lang.Object> _content
        Underlying Properties that we will update with logical properties written out.
    • Constructor Detail

      • PropertiesBackedGenerator

        public PropertiesBackedGenerator​(com.fasterxml.jackson.core.io.IOContext ctxt,
                                         java.util.Map<?,​?> content,
                                         int stdFeatures,
                                         com.fasterxml.jackson.core.ObjectCodec codec)
      • PropertiesBackedGenerator

        @Deprecated
        public PropertiesBackedGenerator​(com.fasterxml.jackson.core.io.IOContext ctxt,
                                         java.util.Properties props,
                                         int stdFeatures,
                                         com.fasterxml.jackson.core.ObjectCodec codec)
        Deprecated.
    • Method Detail

      • getOutputTarget

        public java.lang.Object getOutputTarget()
        Overrides:
        getOutputTarget in class com.fasterxml.jackson.core.JsonGenerator
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class com.fasterxml.jackson.core.base.GeneratorBase
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Specified by:
        flush in class com.fasterxml.jackson.core.base.GeneratorBase
        Throws:
        java.io.IOException
      • _releaseBuffers

        protected void _releaseBuffers()
        Specified by:
        _releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBase
      • _appendFieldName

        protected void _appendFieldName​(java.lang.StringBuilder path,
                                        java.lang.String name)
        Specified by:
        _appendFieldName in class JavaPropsGenerator
      • _writeEscapedEntry

        protected void _writeEscapedEntry​(char[] text,
                                          int offset,
                                          int len)
                                   throws java.io.IOException
        Specified by:
        _writeEscapedEntry in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeEscapedEntry

        protected void _writeEscapedEntry​(java.lang.String value)
                                   throws java.io.IOException
        Specified by:
        _writeEscapedEntry in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeUnescapedEntry

        protected void _writeUnescapedEntry​(java.lang.String value)
                                     throws java.io.IOException
        Specified by:
        _writeUnescapedEntry in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(char c)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(java.lang.String text)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(java.lang.StringBuilder text)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRaw

        protected void _writeRaw​(char[] text,
                                 int offset,
                                 int len)
                          throws java.io.IOException
        Specified by:
        _writeRaw in class JavaPropsGenerator
        Throws:
        java.io.IOException
      • _writeRawLong

        protected void _writeRawLong​(java.lang.String text)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • _writeRawLong

        protected void _writeRawLong​(java.lang.StringBuilder text)
                              throws java.io.IOException
        Throws:
        java.io.IOException