Interface IValueMask
- All Known Subinterfaces:
IValueFormat
- All Known Implementing Classes:
MaskFormat
,ValueFormat
,XsdDateValueFormat
,ZonedDateTimeValueFormat
public interface IValueMask
Interface for objects capable of formatting a primitive value to a string.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionformat
(IPrimitiveValue primitiveValue) This method formats the provided value to a string.getName()
This method returns the name of the value format.
-
Method Details
-
getName
String getName()This method returns the name of the value format.- Returns:
- the name of the value format.
-
format
This method formats the provided value to a string.- Parameters:
primitiveValue
- The value that should be converted to a string.- Returns:
- String representation of the primitive value.
-