public final class ConverterSettings extends Object
MathMLConverter.
Instance of this class is passed between processing classes and methods
and offers:
| Constructor and Description |
|---|
ConverterSettings() |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getLocalization()
Returns current
Properties file used to access localized messages. |
NumberFormat |
getNumberFormat()
Returns current number format.
|
NumberTransformer |
getNumberTransformer()
Return
NumberTransformer instance. |
String |
getProperty(String key)
Returns localized message retrieved from current localization settings
getLocalization(). |
void |
setLocalization(Properties localization)
Set
Properties file used to access localized messages. |
void |
setNumberFormat(NumberFormat numberFormat)
Sets current number format.
|
void |
setNumberTransformer(NumberTransformer numberTransformer)
Sets
NumberTransformer instance. |
public Properties getLocalization()
Properties file used to access localized messages.Properties file used to access localized messages.public void setLocalization(Properties localization)
Properties file used to access localized messages.localization - New Properties file used to access localized messages.public NumberTransformer getNumberTransformer()
NumberTransformer instance.NumberTransformer instance.public void setNumberTransformer(NumberTransformer numberTransformer)
NumberTransformer instance.numberTransformer - NumberTransformer instance.public NumberFormat getNumberFormat()
NumberTransformer.getNumberFormat()
method.public void setNumberFormat(NumberFormat numberFormat)
NumberTransformer#setNumberFormat(cz.muni.fi.mathml.mathml2text.transformer.numbers.NumberFormat)
method.numberFormat - New number format.public String getProperty(String key)
getLocalization().key - Message key.Copyright © 2013. All Rights Reserved.