Class PropertiesBackedGenerator

java.lang.Object
tools.jackson.core.JsonGenerator
tools.jackson.core.base.GeneratorBase
tools.jackson.dataformat.javaprop.JavaPropsGenerator
tools.jackson.dataformat.javaprop.impl.PropertiesBackedGenerator
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, tools.jackson.core.Versioned

public class PropertiesBackedGenerator extends JavaPropsGenerator
  • Field Details

    • _content

      protected final Map<String,Object> _content
      Underlying Properties that we will update with logical properties written out.
  • Constructor Details

    • PropertiesBackedGenerator

      public PropertiesBackedGenerator(tools.jackson.core.ObjectWriteContext writeCtxt, tools.jackson.core.io.IOContext ctxt, int stdFeatures, JavaPropsSchema schema, Map<?,?> content)
  • Method Details

    • streamWriteOutputTarget

      public Object streamWriteOutputTarget()
      Specified by:
      streamWriteOutputTarget in class tools.jackson.core.JsonGenerator
    • streamWriteOutputBuffered

      public int streamWriteOutputBuffered()
      Specified by:
      streamWriteOutputBuffered in class tools.jackson.core.JsonGenerator
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class tools.jackson.core.base.GeneratorBase
    • flush

      public void flush()
      Specified by:
      flush in interface Flushable
      Specified by:
      flush in class tools.jackson.core.JsonGenerator
    • _closeInput

      protected void _closeInput()
      Specified by:
      _closeInput in class tools.jackson.core.base.GeneratorBase
    • _releaseBuffers

      protected void _releaseBuffers()
      Specified by:
      _releaseBuffers in class tools.jackson.core.base.GeneratorBase
    • _appendPropertyName

      protected void _appendPropertyName(StringBuilder path, String name)
      Specified by:
      _appendPropertyName in class JavaPropsGenerator
    • _writeEscapedEntry

      protected void _writeEscapedEntry(char[] text, int offset, int len) throws tools.jackson.core.JacksonException
      Specified by:
      _writeEscapedEntry in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeEscapedEntry

      protected void _writeEscapedEntry(String value) throws tools.jackson.core.JacksonException
      Specified by:
      _writeEscapedEntry in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeUnescapedEntry

      protected void _writeUnescapedEntry(String value) throws tools.jackson.core.JacksonException
      Specified by:
      _writeUnescapedEntry in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeRaw

      protected void _writeRaw(char c) throws tools.jackson.core.JacksonException
      Specified by:
      _writeRaw in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeRaw

      protected void _writeRaw(String text) throws tools.jackson.core.JacksonException
      Specified by:
      _writeRaw in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeRaw

      protected void _writeRaw(StringBuilder text) throws tools.jackson.core.JacksonException
      Specified by:
      _writeRaw in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeRaw

      protected void _writeRaw(char[] text, int offset, int len) throws tools.jackson.core.JacksonException
      Specified by:
      _writeRaw in class JavaPropsGenerator
      Throws:
      tools.jackson.core.JacksonException
    • _writeRawLong

      protected void _writeRawLong(String text) throws tools.jackson.core.JacksonException
      Throws:
      tools.jackson.core.JacksonException
    • _writeRawLong

      protected void _writeRawLong(StringBuilder text) throws tools.jackson.core.JacksonException
      Throws:
      tools.jackson.core.JacksonException