Package nbbrd.io.xml

Interface Xml.Formatter<T>

All Superinterfaces:
nbbrd.io.FileFormatter<T>, nbbrd.io.text.TextFormatter<T>
All Known Implementing Classes:
Stax.EventFormatter, Stax.StreamFormatter
Enclosing class:
Xml

public static interface Xml.Formatter<T> extends nbbrd.io.FileFormatter<T>, nbbrd.io.text.TextFormatter<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default <V> @NonNull Xml.Formatter<V>
    compose(@NonNull nbbrd.io.function.IOFunction<? super V,? extends T> before)
     
    @NonNull Charset
     
    boolean
     

    Methods inherited from interface nbbrd.io.FileFormatter

    formatFile, formatPath, formatStream, formatStream

    Methods inherited from interface nbbrd.io.text.TextFormatter

    asFileFormatter, asFormatter, asFormatter, formatChars, formatFile, formatPath, formatStream, formatStream, formatToString, formatWriter, formatWriter
  • Method Details

    • isFormatted

      boolean isFormatted()
    • getDefaultEncoding

      @NonNull @NonNull Charset getDefaultEncoding()
    • compose

      @NonNull default <V> @NonNull Xml.Formatter<V> compose(@NonNull @NonNull nbbrd.io.function.IOFunction<? super V,? extends T> before)
      Specified by:
      compose in interface nbbrd.io.FileFormatter<T>
      Specified by:
      compose in interface nbbrd.io.text.TextFormatter<T>