com.icl.saxon
Class  DecimalFormatManager
java.lang.Object
  |
  +--com.icl.saxon.DecimalFormatManager
- public class DecimalFormatManager- extends java.lang.Object
DecimalFormatManager manages the collection of named and unnamed decimal formats
 
| Method Summary | 
|  java.text.DecimalFormatSymbols | getDefaultDecimalFormat()Get the default decimal-format.
 | 
|  java.text.DecimalFormatSymbols | getNamedDecimalFormat(java.lang.String name)Get a locale registered using setDefaultLocale or setNamedLocale.
 | 
|  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(java.lang.String name,
                      java.text.DecimalFormatSymbols dfs)Set a named decimal format.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DecimalFormatManager
public DecimalFormatManager()
- create a Controller and initialise variables
setDefaults
public static void setDefaults(java.text.DecimalFormatSymbols d)
- Set up the XSLT-defined default attributes in a DecimalFormatSymbols
setDefaultDecimalFormat
public void setDefaultDecimalFormat(java.text.DecimalFormatSymbols dfs)
- Register the default decimal-format. 
 Note that it is an error to register the same decimal-format twice, even with different
 precedence
getDefaultDecimalFormat
public java.text.DecimalFormatSymbols getDefaultDecimalFormat()
- Get the default decimal-format.
setNamedDecimalFormat
public void setNamedDecimalFormat(java.lang.String name,
                                  java.text.DecimalFormatSymbols dfs)
                           throws org.xml.sax.SAXException
- Set a named decimal format.
 Note that it is an error to register the same decimal-format twice, even with different
 precedence.
getNamedDecimalFormat
public java.text.DecimalFormatSymbols getNamedDecimalFormat(java.lang.String name)
- Get a locale registered using setDefaultLocale or setNamedLocale.- 
- Parameters:
- name- The locale name, or "*" to get the default locale
- Returns:
- the DecimalFormatSymbols object corresponding to the named locale, if any
 or null if not set.