Class JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter

java.lang.Object
com.fasterxml.jackson.core.util.DefaultPrettyPrinter
org.apache.uima.json.impl.JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter
All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter, com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>, Serializable
Enclosing class:
JsonContentHandlerJacksonWrapper

private class JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter implements com.fasterxml.jackson.core.PrettyPrinter
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

    com.fasterxml.jackson.core.util.DefaultPrettyPrinter.FixedSpaceIndenter, com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter, com.fasterxml.jackson.core.util.DefaultPrettyPrinter.NopIndenter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     

    Fields inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

    _arrayIndenter, _arrayValueSeparator, _nesting, _objectEntrySeparator, _objectFieldValueSeparatorWithSpaces, _objectIndenter, _rootSeparator, _separators, _spacesInObjectEntries, DEFAULT_ROOT_VALUE_SEPARATOR

    Fields inherited from interface com.fasterxml.jackson.core.PrettyPrinter

    DEFAULT_ROOT_VALUE_SEPARATOR, DEFAULT_SEPARATORS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg)
     
    void
    beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg)
     
    private void
    maybeOutputNl(com.fasterxml.jackson.core.JsonGenerator jg)
     
    private void
     
    private void
    maybeOutputNlOrBlank(com.fasterxml.jackson.core.JsonGenerator jg)
     
    void
    writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg)
     
    void
    writeObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator jg)
     

    Methods inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

    _withSpaces, createInstance, indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeEndArray, writeEndObject, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.fasterxml.jackson.core.PrettyPrinter

    writeEndArray, writeEndObject, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartObject
  • Field Details

  • Constructor Details

    • UimaJsonPrettyPrinter

      private UimaJsonPrettyPrinter()
  • Method Details

    • writeObjectEntrySeparator

      public void writeObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Specified by:
      writeObjectEntrySeparator in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      writeObjectEntrySeparator in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException
    • writeArrayValueSeparator

      public void writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Specified by:
      writeArrayValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      writeArrayValueSeparator in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException
    • beforeArrayValues

      public void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Specified by:
      beforeArrayValues in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      beforeArrayValues in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException
    • beforeObjectEntries

      public void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Specified by:
      beforeObjectEntries in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      beforeObjectEntries in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException
    • maybeOutputNl

      private void maybeOutputNl(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
      Throws:
      IOException
    • maybeOutputNlOrBlank

      private void maybeOutputNlOrBlank(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
      Throws:
      IOException
    • maybeOutputNlIndent

      private void maybeOutputNlIndent() throws IOException
      Throws:
      IOException