Class NumberConverter.SpanishNumberAsWordFormatter
java.lang.Object
org.apache.fop.complexscripts.util.NumberConverter.SpanishNumberAsWordFormatter
- All Implemented Interfaces:
NumberConverter.SpecialNumberFormatter
- Enclosing class:
NumberConverter
private static class NumberConverter.SpanishNumberAsWordFormatter
extends Object
implements NumberConverter.SpecialNumberFormatter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
caseType
private int caseType
-
-
Constructor Details
-
SpanishNumberAsWordFormatter
SpanishNumberAsWordFormatter(int caseType)
-
-
Method Details
-
format
public Integer[] format(long number, int one, int letterValue, String features, String language, String country) Description copied from interface:NumberConverter.SpecialNumberFormatterFormat number with special numeral system.- Specified by:
formatin interfaceNumberConverter.SpecialNumberFormatter- Parameters:
number- to be formattedone- unicode scalar value denoting numeric value 1letterValue- letter value (must be one of the above letter value enumeration values)features- features (feature sub-parameters)language- denotes applicable languagecountry- denotes applicable country- Returns:
- formatted number as array of unicode scalars
-
formatOnesInThousand
-