Class SimpleFormatters.Part

java.lang.Object
monq.jfa.textparts.SimpleFormatters.Part
All Implemented Interfaces:
Formatter
Enclosing class:
SimpleFormatters

public static class SimpleFormatters.Part extends Object implements Formatter
implements a Formatter the format method of which produces a substring of part of the given TextStore.
  • Constructor Details

  • Method Details

    • format

      public void format(StringBuilder sb, TextStore sp, Map<Object,Object> m)
      Description copied from interface: Formatter

      arranges (some of) the pieces of text found in st or m in an implementation dependend manner and appends them to out. Depending on the implementation, both, st and m or even both may be allowed to be null.

      Postcondition: This method may not change the content of dest other than by appending to it.

      Specified by:
      format in interface Formatter