Interface PrettyPrinter.ObjectPrinter

Enclosing class:
PrettyPrinter

public static interface PrettyPrinter.ObjectPrinter
Represents a generic object printer.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    print(StringBuilder output, Object value)
    Print the content of the given object.
  • Field Details

  • Method Details

    • print

      boolean print(StringBuilder output, Object value)
      Print the content of the given object.

      Return FALSE in order for let the default printer take over.

      Parameters:
      output - - where to print the output.
      value - - the value to print, may be NULL.
      Returns:
      TRUE if we processed the value and added to the output, FALSE otherwise.