Enclosing class:
XmlWriter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterfacepublic static interface XmlWriter.DoubleFormater
Functional interface for formatting double values in XML output.

This interface allows customization of how double values are formatted when written to XML, including handling of NaN values.

  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    format(double value, String nanString)
    Formats a double value for XML output.
  • Method Details

    • format

      String format(double value, String nanString)
      Formats a double value for XML output.
      Parameters:
      value - the double value to format
      nanString - the string to use for NaN values
      Returns:
      the formatted string representation