atg.nucleus
Interface ValueFormatter


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.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 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.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

formatValue

java.lang.String formatValue()
Formats the specified value into a String, using the "short form" of the value.


formatLongValue

java.lang.String formatLongValue()
Formats the specified value into a String, using the "long form" of the value. The "long form" may include HTML.