Interface
caplin.core

Formatter

Represents an object with the capability to format values.

Constructor Summary

Attributes Name and Description
caplin.core.Formatter()

Method Summary

Attributes Name and Description
String format(Variant vValue, Map mAttributes)

Formats a value according to some provided attributes.

Constructor Detail

caplin.core.Formatter()

Method Detail

String format(Variant vValue, Map mAttributes)

Formats a value according to some provided attributes.

Parameters
Variant vValue the value to format. May be null or undefined.
Map mAttributes A map of attributes to control the way this formatter works. May not be null or undefined.
Returns
the formatted value. May not be null or undefined.