public interface OXQDecimalFormat
Modifier and Type | Method and Description |
---|---|
int |
getDecimalSeparator()
Gets the value of the
decimal-separator property. |
int |
getDigit()
Gets the value of the
digit property. |
int |
getGroupingSeparator()
Gets the value of the
grouping-separator property. |
java.lang.String |
getInfinity()
Gets the value of the
infinity property. |
int |
getMinusSign()
Gets the value of the
minus-sign property. |
java.lang.String |
getNan()
Gets the value of the
NaN property. |
int |
getPatternSeparator()
Gets the value of the
pattern-separator property. |
int |
getPercent()
Gets the value of the
percent property. |
int |
getPerMille()
Gets the value of the
per-mille property. |
int |
getZeroDigit()
Gets the value of the
zero-digit property. |
void |
setDecimalSeparator(int decimalSeparatorCodePoint)
Gets the value of the
decimal-separator property. |
void |
setDigit(int digitCodePoint)
Sets the
digit property. |
void |
setGroupingSeparator(int groupingSeparatorCodePoint)
Sets the
grouping-separator property. |
void |
setInfinity(java.lang.String infinity)
Sets the
inifinty property. |
void |
setMinusSign(int minusSignCodePoint)
Sets the
minus-sign property. |
void |
setNan(java.lang.String nan)
Sets the
NaN (not-a-number) property. |
void |
setPatternSeparator(int patternSeparatorCodePoint)
Sets the
pattern-separator property. |
void |
setPercent(int percentCodePoint)
Sets the
percent property. |
void |
setPerMille(int perMilleCodePoint)
Sets the
per-mille property. |
void |
setZeroDigit(int zeroDigitCodePoint)
Sets the
zero-digit property. |
void setNan(java.lang.String nan)
NaN
(not-a-number) property. The default value for this property is the string "NaN"
.nan
- the string used to represent the double value NaN
.java.lang.String getNan()
NaN
property. The default value for this property is "NaN"
.NaN
.void setInfinity(java.lang.String infinity)
inifinty
property. The default value for this property is the string "Infinity"
.infinity
- the string used to represent the double value infinity
.java.lang.String getInfinity()
infinity
property. The default value for this property is "Infinity"
.infinity
.void setPatternSeparator(int patternSeparatorCodePoint)
pattern-separator
property. The default value for this property is the semicolon character ';'
.patternSeparatorCodePoint
- the codepoint used to separate positive and negative subpictures in a picture string.int getPatternSeparator()
pattern-separator
property. The default value for this property is the semicolon character ';'
.pattern-separator
property.void setDigit(int digitCodePoint)
digit
property. The default value for this property is the number sign character '#'
.digitCodePoint
- the codepoint used in the picture string to represent an optional digit.int getDigit()
digit
property. The default value for this property is the number sign character '#'
digit
property.void setZeroDigit(int zeroDigitCodePoint) throws oracle.xml.xquery.exceptions.XQueryException
zero-digit
property. The default value for this property is the Western digit zero #x30
. The zeroDigitCodePoint
parameter must represent a digit and the digit must have the numeric value zero. This property implicitly defines the ten Unicode characters that are used to represent the values 0 to 9. Within the picture string, any of these ten characters can be used (interchangeably) as a placeholder for a mandatory digit. Within the final result string, these ten characters are used to represent the digits zero to nine.zeroDigitCodePoint
- the codepoint used to represent the digit zero.oracle.xml.xquery.exceptions.XQueryException
- If the zeroDigitCodePoint
parameter does not represent a digit (category Nd in the Unicode property database) or If the zeroDigitCodePoint
parameter does not represent the numeric value zero.int getZeroDigit()
zero-digit
property. The default value for this property is the Western digit zero #x30
.zero-digit
property.void setPerMille(int perMilleCodePoint)
per-mille
property. The default value for this property is the Unicode per-mille character #x2030
.perMilleCodePoint
- the codepoint used both in the picture string and in the formatted number to indicate that the number is written as a per-thousand fraction.int getPerMille()
per-mille
property. The default value for this property is the the Unicode per-mille character #x2030
.per-mille
property.void setPercent(int percentCodePoint)
percent
property. The default value for this property is the percent character '%'
.percentCodePoint
- the codepoint used both in the picture string and in the formatted number to indicate that the number is written as a per-hundred fraction.int getPercent()
percent
property. The default value for this property is the percent '%'
.percent
property.void setMinusSign(int minusSignCodePoint) throws oracle.xml.xquery.exceptions.XQueryException
minus-sign
property. The default value for this property is the hyphen minus character #x2D
.minusSignCodePoint
- the codepoint that represents a single character, which will be used to mark negative numbers.oracle.xml.xquery.exceptions.XQueryException
- If the minusSignCodePoint
parameter does not represent a single character.int getMinusSign()
minus-sign
property. The default value for this property is the hyphen minus character #x2D
.minus-sign
property.void setGroupingSeparator(int groupingSeparatorCodePoint)
grouping-separator
property. The default value for this property is the comma character ','
.groupingSeparatorCodePoint
- the codepoint typically used as a thousands separator, both in the picture string and the formated number.int getGroupingSeparator()
grouping-separator
property. The default value for this property is the comma character ','
.grouping-separator
property.void setDecimalSeparator(int decimalSeparatorCodePoint)
decimal-separator
property. The default value for this property is the period character '.'
.decimalSeparatorCodePoint
- the coidepoint used to separate the integer part of the number from the fractional part, both in the picture string and in the formatted number.int getDecimalSeparator()
decimal-separator
property. The default value for this property is the period character '.'
.decimal-separator
property.