public abstract class LocalizerFactory
extends java.lang.Object
Constructor and Description |
---|
LocalizerFactory() |
Modifier and Type | Method and Description |
---|---|
LocalizerFactory |
copy()
Copy the state of this factory to create a new LocalizerFactory.
|
abstract 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 void setLanguageProperties(java.lang.String lang, java.util.Properties properties)
lang
- the languageproperties
- properties of this languagepublic abstract Numberer getNumberer(java.lang.String language, java.lang.String country)
language
- the language code (for example "de" or "en-GB"). The value may be null,
in which case a default language should be assumed.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. The value may be null, in which case a default
country should be assumed.public LocalizerFactory copy()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.