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