@Deprecated public static class MFFunctionRegistry.Builder extends Object
Builder
used to build instances of MFFunctionRegistry
.Modifier and Type | Method and Description |
---|---|
MFFunctionRegistry.Builder |
addAll(MFFunctionRegistry functionRegistry)
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry |
build()
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
clearDefaultFormatterNames()
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
clearFormatters()
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
clearSelectors()
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
removeDefaultFormatterNameForType(Class<?> clazz)
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
removeFormatter(String formatterName)
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
removeSelector(String selectorName)
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
setDefaultFormatterNameForType(Class<?> clazz,
String formatterName)
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
setFormatter(String formatterName,
FormatterFactory formatterFactory)
Deprecated.
This API is for technology preview only.
|
MFFunctionRegistry.Builder |
setSelector(String selectorName,
SelectorFactory selectorFactory)
Deprecated.
This API is for technology preview only.
|
@Deprecated public MFFunctionRegistry.Builder addAll(MFFunctionRegistry functionRegistry)
functionRegistry
- the registry to copy from.@Deprecated public MFFunctionRegistry.Builder setFormatter(String formatterName, FormatterFactory formatterFactory)
FormatterFactory
.formatterName
- the function name (as used in the MessageFormat 2 syntax).formatterFactory
- the factory that handles the name.@Deprecated public MFFunctionRegistry.Builder removeFormatter(String formatterName)
formatterName
- the name of the formatter to remove.@Deprecated public MFFunctionRegistry.Builder clearFormatters()
@Deprecated public MFFunctionRegistry.Builder setDefaultFormatterNameForType(Class<?> clazz, String formatterName)
FormatterFactory
formatter name.clazz
- the class of the type to format.formatterName
- the formatter name (as used in the MessageFormat 2 syntax).@Deprecated public MFFunctionRegistry.Builder removeDefaultFormatterNameForType(Class<?> clazz)
clazz
- the class to remove the mapping for.@Deprecated public MFFunctionRegistry.Builder clearDefaultFormatterNames()
@Deprecated public MFFunctionRegistry.Builder setSelector(String selectorName, SelectorFactory selectorFactory)
SelectorFactory
.selectorName
- the function name (as used in the MessageFormat 2 syntax).selectorFactory
- the factory that handles the name.@Deprecated public MFFunctionRegistry.Builder removeSelector(String selectorName)
selectorName
- the name of the selector to remove.@Deprecated public MFFunctionRegistry.Builder clearSelectors()
@Deprecated public MFFunctionRegistry build()
MFFunctionRegistry
.Copyright © 2016 Unicode, Inc. and others.