| java.lang.Object net.sf.saxon.trans.DecimalFormatManager
DecimalFormatManager | public class DecimalFormatManager implements Serializable(Code) | | DecimalFormatManager manages the collection of named and unnamed decimal formats
author: Michael H. Kay |
DecimalFormatManager | public DecimalFormatManager()(Code) | | create a DecimalFormatManager and initialise variables
|
fixupDefaultDefault | public void fixupDefaultDefault() throws StaticError(Code) | | Method called at the end of stylesheet compilation to fix up any format-number() calls
to the "default default" decimal format
|
getDefaultDecimalFormat | public DecimalSymbols getDefaultDecimalFormat()(Code) | | Get the default decimal-format.
|
getNamedDecimalFormat | public DecimalSymbols getNamedDecimalFormat(String uri, String localName)(Code) | | Get a named decimal-format registered using setNamedDecimalFormat
Parameters: uri - The URI of the name of the decimal format Parameters: localName - The local part of the name of the decimal format the DecimalFormatSymbols object corresponding to the named locale, if anyor null if not set. |
registerUsage | public void registerUsage(String uri, String localName, FormatNumber2 call)(Code) | | Register a format-number() function call that uses a particular decimal format. This
allows early compile time resolution to a DecimalFormatSymbols object where possible,
even in the case of a forwards reference
|
setDefaultDecimalFormat | public void setDefaultDecimalFormat(DecimalSymbols dfs, int precedence) throws StaticError(Code) | | Register the default decimal-format.
Note that it is an error to register the same decimal-format twice, even with different
precedence
|
setDefaults | public static void setDefaults(DecimalSymbols d)(Code) | | Set up the XSLT-defined default attributes in a DecimalFormatSymbols
|
setNamedDecimalFormat | public void setNamedDecimalFormat(String uri, String localName, DecimalSymbols dfs, int precedence) throws StaticError(Code) | | Set a named decimal format.
Note that it is an error to register the same decimal-format twice, unless hte values are
equal, or unless there is another of higher precedence. This method assumes that decimal-formats
are registered in order of decreasing precedence
Parameters: uri - The URI of the name of the decimal format Parameters: localName - The local part of the name of the decimal format |
|
|