public class DotNetLocalizerFactory extends LocalizerFactory
Constructor and Description |
---|
DotNetLocalizerFactory(Configuration config) |
Modifier and Type | Method and Description |
---|---|
DotNetLocalizerFactory |
copy()
Copy the state of this factory to create a new LocalizerFactory
|
Numberer |
getNumberer(java.lang.String language,
java.lang.String country)
Get the numberer for a given language
|
void |
setLanguageProperties(java.lang.String lang,
java.util.Properties properties)
Set properties for a particular language.
|
public DotNetLocalizerFactory(Configuration config)
public void setLanguageProperties(java.lang.String lang, java.util.Properties properties)
setLanguageProperties
in class LocalizerFactory
lang
- the languageproperties
- properties of this languagepublic Numberer getNumberer(java.lang.String language, java.lang.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
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.