PropertyFormatterAccountNumberFormatterDefaultEnhancedPropertyFormatter instead.@Deprecated public class DefaultPropertyFormatter extends Object implements PropertyFormatter
| Constructor | Description |
|---|---|
DefaultPropertyFormatter() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
format(Object value) |
Deprecated.
Format a given value.
|
void |
initialize(AnnotatedElement element) |
Deprecated.
Initialize the formatter for use; this method will be called exactly once on an instance, prior
to any calls to
PropertyFormatter.format(Object). |
public void initialize(AnnotatedElement element)
PropertyFormatterPropertyFormatter.format(Object). This method does not need to be thread-safe. A typical implementation
might inspect the element for additional annotations used to configure the formatter.initialize in interface PropertyFormatterelement - the field or method this formatter will be used for.public String format(Object value)
PropertyFormatterformat in interface PropertyFormattervalue - the value to formatCopyright © 2008–2018. All rights reserved.