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 Link icon

    • minWholePartSize Link icon

      protected int minWholePartSize
    • maxWholePartSize Link icon

      protected int maxWholePartSize
    • minFractionPartSize Link icon

      protected int minFractionPartSize
    • maxFractionPartSize Link icon

      protected int maxFractionPartSize
    • minExponentSize Link icon

      protected int minExponentSize
    • scalingFactor Link icon

      protected int scalingFactor
    • isPercent Link icon

      protected boolean isPercent
    • isPerMille Link icon

      protected boolean isPerMille
    • prefix Link icon

      protected String prefix
    • suffix Link icon

      protected String suffix
    • wholePartGroupingPositions Link icon

      protected int[] wholePartGroupingPositions
    • fractionalPartGroupingPositions Link icon

      protected int[] fractionalPartGroupingPositions
    • regular Link icon

      protected boolean regular
    • is31 Link icon

      protected boolean is31
  • Constructor Details Link icon

  • Method Details Link icon

    • format Link icon

      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