public interface ExifValueFormatter<T> extends Public
getValueType()
if getSupportedTags()
return an array of length 0 or
all defined tags returned by getSupportedTags()
.
Values defined by getSupportedTags()
could be mainly taken from ExifTags
.ExifTags}
Modifier and Type | Interface and Description |
---|---|
static interface |
ExifValueFormatter.ComplexExifValueFormatter<S,C>
A more complex value formatter which could return different types of <S> and <C> where S=simple value
and C is the complex one.
|
Modifier and Type | Method and Description |
---|---|
T |
format(Object value,
FormField<?> formField)
This method formats a object to produce a value of type T.
|
int[] |
getSupportedTags()
The exif tags hex this formatter is registered for.
|
Class<T> |
getValueType()
Returns the value type of type <T>
|
String |
render(Object value)
Renders string representations of objects.
|
@Nullable T format(Object value, FormField<?> formField)
value
- the given value to formatformField
- to set the formatted valueExifTags}
@NotNull int[] getSupportedTags()
getValueType()
, e.g. Number.class
.ExifTags}
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500