Class FormatNumber.SubPicture

java.lang.Object
net.sf.saxon.functions.FormatNumber.SubPicture
Enclosing class:
FormatNumber

public static class FormatNumber.SubPicture extends Object
Inner class to represent one sub-picture (the negative or positive subpicture)
  • Field Details

    • minWholePartSize

      protected int minWholePartSize
    • maxWholePartSize

      protected int maxWholePartSize
    • minFractionPartSize

      protected int minFractionPartSize
    • maxFractionPartSize

      protected int maxFractionPartSize
    • minExponentSize

      protected int minExponentSize
    • scalingFactor

      protected int scalingFactor
    • isPercent

      protected boolean isPercent
    • isPerMille

      protected boolean isPerMille
    • prefix

      protected String prefix
    • suffix

      protected String suffix
    • wholePartGroupingPositions

      protected int[] wholePartGroupingPositions
    • fractionalPartGroupingPositions

      protected int[] fractionalPartGroupingPositions
    • regular

      protected boolean regular
    • is31

      protected boolean is31
  • Constructor Details

  • Method Details

    • format

      public String format(NumericValue value, DecimalSymbols dfs, String minusSign)
      Format a number using this sub-picture
      Parameters:
      value - the absolute value of the number to be formatted
      dfs - the decimal format symbols to be used
      minusSign - the representation of a minus sign to be used
      Returns:
      the formatted number