Class XslNumberFormat

java.lang.Object
eu.bandm.tools.xslt.base.XslNumberFormat

public class XslNumberFormat extends Object
Aux class for parsing and formatting numbers according to the xsl:Element_number conversion parameters, see [XSLT 1.0:7.7.1].
  • Field Details

    • numberFormatPattern

      static Pattern numberFormatPattern
    • deflt

      static final XslNumberFormat deflt
      Docu [XSLT 1.0] is not clear. Xalan uses "1", not "1.".
    • format

      String format
      Does not really make sense. We support only a, A, i, I, 1, 01, 001, up to 00001. The sequence of usage is (e.g. with two(2) given formats "[a.a]"
       separator[0]     separator[1]    separator[1]   separator[2]
                     format[0]      format[1]          format[1] 
        
    • separators

      List<String> separators
    • formats

      List<String> formats
    • distance

      final int distance
      See Also:
  • Constructor Details

    • XslNumberFormat

      XslNumberFormat(String format)
  • Method Details