Package com.icl.saxon

Class DecimalFormatManager


  • public class DecimalFormatManager
    extends Object
    DecimalFormatManager manages the collection of named and unnamed decimal formats
    • Constructor Detail

      • DecimalFormatManager

        public DecimalFormatManager()
        create a Controller and initialise variables
    • Method Detail

      • setDefaults

        public static void setDefaults​(DecimalFormatSymbols d)
        Set up the XSLT-defined default attributes in a DecimalFormatSymbols
      • getDefaultDecimalFormat

        public DecimalFormatSymbols getDefaultDecimalFormat()
        Get the default decimal-format.
      • getNamedDecimalFormat

        public DecimalFormatSymbols getNamedDecimalFormat​(int fingerprint)
        Get a named decimal-format registered using setNamedDecimalFormat
        Parameters:
        fingerprint - The fingerprint of the name of the decimal format
        Returns:
        the DecimalFormatSymbols object corresponding to the named locale, if any or null if not set.