|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.trans.LocalizerFactory com.saxonica.config.DotNetLocalizerFactory
public class DotNetLocalizerFactory
Default factory for number/date localizers for the .NET platform. This has built-in knowledge of the available localizations, it does not attempt dynamic loading. Note that these are available only in Saxon-PE and Saxon-SE
Constructor Summary | |
---|---|
DotNetLocalizerFactory(Configuration config)
|
Method Summary | |
---|---|
DotNetLocalizerFactory |
copy()
Copy the state of this factory to create a new LocalizerFactory |
Numberer |
getNumberer(String language,
String country)
Get the numberer for a given language |
void |
setLanguageProperties(String lang,
Properties properties)
Set properties for a particular language. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DotNetLocalizerFactory(Configuration config)
Method Detail |
---|
public void setLanguageProperties(String lang, Properties properties)
setLanguageProperties
in class LocalizerFactory
lang
- the languageproperties
- properties of this languagepublic Numberer getNumberer(String language, String country)
getNumberer
in class LocalizerFactory
language
- the language code (for example "de" or "en-GB"country
- the country, as used in format-date(). This is not the country associated
with the language, but the one associated with the date to be formatted. It is primarily
used to determine a civil time zone name.
public DotNetLocalizerFactory copy()
copy
in class LocalizerFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |