|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.trans.DecimalFormatManager
DecimalFormatManager manages the collection of named and unnamed decimal formats
Constructor Summary | |
DecimalFormatManager()
create a DecimalFormatManager and initialise variables |
Method Summary | |
void |
fixupDefaultDefault()
Method called at the end of stylesheet compilation to fix up any format-number() calls to the "default default" decimal format |
DecimalFormatSymbols |
getDefaultDecimalFormat()
Get the default decimal-format. |
DecimalFormatSymbols |
getNamedDecimalFormat(String uri,
String localName)
Get a named decimal-format registered using setNamedDecimalFormat |
void |
registerUsage(String uri,
String localName,
FormatNumber2 call)
Register a format-number() function call that uses a particular decimal format. |
void |
setDefaultDecimalFormat(DecimalFormatSymbols dfs)
Register the default decimal-format. |
static void |
setDefaults(DecimalFormatSymbols d)
Set up the XSLT-defined default attributes in a DecimalFormatSymbols |
void |
setNamedDecimalFormat(String uri,
String localName,
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 |
Constructor Detail |
public DecimalFormatManager()
Method Detail |
public static void setDefaults(DecimalFormatSymbols d)
public void setDefaultDecimalFormat(DecimalFormatSymbols dfs) throws TransformerConfigurationException
TransformerConfigurationException
public void fixupDefaultDefault() throws TransformerConfigurationException
TransformerConfigurationException
public DecimalFormatSymbols getDefaultDecimalFormat()
public void setNamedDecimalFormat(String uri, String localName, DecimalFormatSymbols dfs) throws TransformerConfigurationException
uri
- The URI of the name of the decimal formatlocalName
- The local part of the name of the decimal format
TransformerConfigurationException
public void registerUsage(String uri, String localName, FormatNumber2 call)
public DecimalFormatSymbols getNamedDecimalFormat(String uri, String localName)
uri
- The URI of the name of the decimal formatlocalName
- The local part of the name of the decimal format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |