public class DecimalFormat extends AnyType
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://www.w3.org/1999/XSL/Transform}anyType">
<attribute name="name" type="{http://www.w3.org/1999/XSL/Transform}QName" />
<attribute name="decimal-separator" type="{http://www.w3.org/2001/XMLSchema}string" default="." />
<attribute name="grouping-separator" type="{http://www.w3.org/2001/XMLSchema}string" default="," />
<attribute name="infinity" type="{http://www.w3.org/2001/XMLSchema}string" default="Infinity" />
<attribute name="minus-sign" type="{http://www.w3.org/2001/XMLSchema}string" default="-" />
<attribute name="NaN" type="{http://www.w3.org/2001/XMLSchema}string" default="NaN" />
<attribute name="percent" type="{http://www.w3.org/2001/XMLSchema}string" default="%" />
<attribute name="per-mille" type="{http://www.w3.org/2001/XMLSchema}string" default />
<attribute name="zero-digit" type="{http://www.w3.org/2001/XMLSchema}string" default="0" />
<attribute name="digit" type="{http://www.w3.org/2001/XMLSchema}string" default="#" />
<attribute name="pattern-separator" type="{http://www.w3.org/2001/XMLSchema}string" default=";" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
decimalSeparator |
protected String |
digit |
protected String |
groupingSeparator |
protected String |
infinity |
protected String |
minusSign |
protected String |
name |
protected String |
naN |
protected String |
patternSeparator |
protected String |
percent |
protected String |
perMille |
protected String |
zeroDigit |
| Constructor and Description |
|---|
DecimalFormat() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDecimalSeparator()
Gets the value of the decimalSeparator property.
|
String |
getDigit()
Gets the value of the digit property.
|
String |
getGroupingSeparator()
Gets the value of the groupingSeparator property.
|
String |
getInfinity()
Gets the value of the infinity property.
|
String |
getMinusSign()
Gets the value of the minusSign property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNaN()
Gets the value of the naN property.
|
String |
getPatternSeparator()
Gets the value of the patternSeparator property.
|
String |
getPercent()
Gets the value of the percent property.
|
String |
getPerMille()
Gets the value of the perMille property.
|
String |
getZeroDigit()
Gets the value of the zeroDigit property.
|
void |
setDecimalSeparator(String value)
Sets the value of the decimalSeparator property.
|
void |
setDigit(String value)
Sets the value of the digit property.
|
void |
setGroupingSeparator(String value)
Sets the value of the groupingSeparator property.
|
void |
setInfinity(String value)
Sets the value of the infinity property.
|
void |
setMinusSign(String value)
Sets the value of the minusSign property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNaN(String value)
Sets the value of the naN property.
|
void |
setPatternSeparator(String value)
Sets the value of the patternSeparator property.
|
void |
setPercent(String value)
Sets the value of the percent property.
|
void |
setPerMille(String value)
Sets the value of the perMille property.
|
void |
setZeroDigit(String value)
Sets the value of the zeroDigit property.
|
getOtherAttributesprotected String name
protected String decimalSeparator
protected String groupingSeparator
protected String infinity
protected String minusSign
protected String naN
protected String percent
protected String perMille
protected String zeroDigit
protected String digit
protected String patternSeparator
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDecimalSeparator()
Stringpublic void setDecimalSeparator(String value)
value - allowed object is
Stringpublic String getGroupingSeparator()
Stringpublic void setGroupingSeparator(String value)
value - allowed object is
Stringpublic String getInfinity()
Stringpublic void setInfinity(String value)
value - allowed object is
Stringpublic String getMinusSign()
Stringpublic void setMinusSign(String value)
value - allowed object is
Stringpublic String getNaN()
Stringpublic void setNaN(String value)
value - allowed object is
Stringpublic String getPercent()
Stringpublic void setPercent(String value)
value - allowed object is
Stringpublic String getPerMille()
Stringpublic void setPerMille(String value)
value - allowed object is
Stringpublic String getZeroDigit()
Stringpublic void setZeroDigit(String value)
value - allowed object is
Stringpublic String getDigit()
Stringpublic void setDigit(String value)
value - allowed object is
Stringpublic String getPatternSeparator()
StringCopyright © 2017. All rights reserved.