public class DecimalFormatManager
extends java.lang.Object
Constructor | Description |
---|---|
DecimalFormatManager() |
create a Controller and initialise variables
|
Modifier and Type | Method | Description |
---|---|---|
java.text.DecimalFormatSymbols |
getDefaultDecimalFormat() |
Get the default decimal-format.
|
java.text.DecimalFormatSymbols |
getNamedDecimalFormat(int fingerprint) |
Get a named decimal-format registered using setNamedDecimalFormat
|
void |
setDefaultDecimalFormat(java.text.DecimalFormatSymbols dfs) |
Register the default decimal-format.
|
static void |
setDefaults(java.text.DecimalFormatSymbols d) |
Set up the XSLT-defined default attributes in a DecimalFormatSymbols
|
void |
setNamedDecimalFormat(int fingerprint,
java.text.DecimalFormatSymbols dfs) |
Set a named decimal format.
|
public DecimalFormatManager()
public static void setDefaults(java.text.DecimalFormatSymbols d)
public void setDefaultDecimalFormat(java.text.DecimalFormatSymbols dfs) throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
public java.text.DecimalFormatSymbols getDefaultDecimalFormat()
public void setNamedDecimalFormat(int fingerprint, java.text.DecimalFormatSymbols dfs) throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
public java.text.DecimalFormatSymbols getNamedDecimalFormat(int fingerprint)
fingerprint
- The fingerprint of the name of the decimal format