Class SyntaxHighlighterIndenter

java.lang.Object
org.entur.jackson.tools.jsh.SyntaxHighlighterIndenter
All Implemented Interfaces:
tools.jackson.core.util.DefaultPrettyPrinter.Indenter

public class SyntaxHighlighterIndenter extends Object implements tools.jackson.core.util.DefaultPrettyPrinter.Indenter
  • Field Details

  • Constructor Details

    • SyntaxHighlighterIndenter

      public SyntaxHighlighterIndenter(SyntaxHighlighter highligheter, tools.jackson.core.util.DefaultPrettyPrinter.Indenter delegate)
  • Method Details

    • writeIndentation

      public void writeIndentation(tools.jackson.core.JsonGenerator jg, int level)
      Specified by:
      writeIndentation in interface tools.jackson.core.util.DefaultPrettyPrinter.Indenter
    • setValueColor

      public void setValueColor(String color)
      Set the color which is set after the indentation.
      Parameters:
      color - color to set
    • clearValueColor

      public void clearValueColor()
    • isInline

      public boolean isInline()
      Specified by:
      isInline in interface tools.jackson.core.util.DefaultPrettyPrinter.Indenter