public interface ValueFormatter
Objects that implement this interface are recognized by the property value printer in the admin UI. When their property values are printed, these methods will be called to get the formatted values. There are two forms of the value - a short form and a long form. The short form should be a short one-line version. The long form may be an elaborate HTML-formatted version.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatLongValue()
Formats the specified value into a String, using the "long form"
of the value.
|
java.lang.String |
formatValue()
Formats the specified value into a String, using the "short form"
of the value.
|
static final java.lang.String CLASS_VERSION
java.lang.String formatValue()
java.lang.String formatLongValue()