Class JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.PrettyPrinter, com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>, java.io.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 long serialVersionUID  
      • Fields inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

        _arrayEmptySeparator, _arrayIndenter, _arrayValueSeparator, _nesting, _objectEmptySeparator, _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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 maybeOutputNlIndent()  
      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
    • Constructor Detail

      • UimaJsonPrettyPrinter

        private UimaJsonPrettyPrinter()
    • Method Detail

      • writeObjectEntrySeparator

        public void writeObjectEntrySeparator​(com.fasterxml.jackson.core.JsonGenerator jg)
                                       throws java.io.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:
        java.io.IOException
        com.fasterxml.jackson.core.JsonGenerationException
      • writeArrayValueSeparator

        public void writeArrayValueSeparator​(com.fasterxml.jackson.core.JsonGenerator jg)
                                      throws java.io.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:
        java.io.IOException
        com.fasterxml.jackson.core.JsonGenerationException
      • beforeArrayValues

        public void beforeArrayValues​(com.fasterxml.jackson.core.JsonGenerator jg)
                               throws java.io.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:
        java.io.IOException
        com.fasterxml.jackson.core.JsonGenerationException
      • beforeObjectEntries

        public void beforeObjectEntries​(com.fasterxml.jackson.core.JsonGenerator jg)
                                 throws java.io.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:
        java.io.IOException
        com.fasterxml.jackson.core.JsonGenerationException
      • maybeOutputNl

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

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

        private void maybeOutputNlIndent()
                                  throws java.io.IOException
        Throws:
        java.io.IOException