Class NumberFormatter
java.lang.Object
com.icl.saxon.number.NumberFormatter
Class NumberFormatter defines a method to format a Vector of integers as a character
string according to a supplied format specification.
- Version:
- 17 November 1999
- Author:
- Michael H. Kay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFormat a single number.Format a vector of numbers.voidPrepare the format pattern.
-
Constructor Details
-
NumberFormatter
public NumberFormatter()
-
-
Method Details
-
prepare
Prepare the format pattern.- Parameters:
format- the format specification. Contains one of the following values:- "1": conventional decimal numbering
- "a": sequence a, b, c, ... aa, ab, ac, ...
- "A": sequence A, B, C, ... AA, AB, AC, ...
- "i": sequence i, ii, iii, iv, v ...
- "I": sequence I, II, III, IV, V, ...
-
format
-
format
-