@Deprecated
public static class Mf2FunctionRegistry.Builder
extends java.lang.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(java.lang.Class<?> clazz)
Deprecated.
This API is for technology preview only.
|
Mf2FunctionRegistry.Builder |
removeFormatter(java.lang.String formatterName)
Deprecated.
This API is for technology preview only.
|
Mf2FunctionRegistry.Builder |
removeSelector(java.lang.String selectorName)
Deprecated.
This API is for technology preview only.
|
Mf2FunctionRegistry.Builder |
setDefaultFormatterNameForType(java.lang.Class<?> clazz,
java.lang.String formatterName)
Deprecated.
This API is for technology preview only.
|
Mf2FunctionRegistry.Builder |
setFormatter(java.lang.String formatterName,
FormatterFactory formatterFactory)
Deprecated.
This API is for technology preview only.
|
Mf2FunctionRegistry.Builder |
setSelector(java.lang.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(java.lang.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 Mf2FunctionRegistry.Builder removeFormatter(java.lang.String formatterName)
formatterName
- the name of the formatter to remove.@Deprecated public Mf2FunctionRegistry.Builder clearFormatters()
@Deprecated public Mf2FunctionRegistry.Builder setDefaultFormatterNameForType(java.lang.Class<?> clazz, java.lang.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(java.lang.Class<?> clazz)
clazz
- the class to remove the mapping for.@Deprecated public Mf2FunctionRegistry.Builder clearDefaultFormatterNames()
@Deprecated public Mf2FunctionRegistry.Builder setSelector(java.lang.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 Mf2FunctionRegistry.Builder removeSelector(java.lang.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.