|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.trans.LocalizerFactory
public abstract class LocalizerFactory
Interface allowing localization modules for different languages to be dynamically loaded
Constructor Summary | |
---|---|
LocalizerFactory()
|
Method Summary | |
---|---|
LocalizerFactory |
copy()
Copy the state of this factory to create a new LocalizerFactory. |
abstract 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 LocalizerFactory()
Method Detail |
---|
public void setLanguageProperties(String lang, Properties properties)
lang
- the languageproperties
- properties of this languagepublic abstract Numberer getNumberer(String language, 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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |