Interface Formatter<T>

Type Parameters:
T - The type to transform.
All Known Implementing Classes:
DefaultInvalidInputErrorFormatter, NodeFormatter, ToStringFormatter

public interface Formatter<T>
The capability to transform an object of type T into a string representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    format(T object)
    Create a string representation for the given object.
  • Method Details

    • format

      String format(T object)
      Create a string representation for the given object.
      Parameters:
      object - the object to format
      Returns:
      a string describing the object