Class SVGGeneratorFormatUtils


  • public class SVGGeneratorFormatUtils
    extends Object
    As the generated values will end up in a source file, this utils class provides different methods as for using concrete formatting behaviors common along all generated code.
    • Constructor Detail

      • SVGGeneratorFormatUtils

        public SVGGeneratorFormatUtils()
    • Method Detail

      • getValidInstanceId

        public static String getValidInstanceId​(String value)
      • format

        public static String format​(double value)
      • format

        public static String format​(String pattern,
                                    double... values)
        As the generated values will end up in a source file, let's use a concrete formatting for double values along all code generation.