Interface TableColumnConverter<R>
-
- Type Parameters:
R
- The resulting type
- All Superinterfaces:
ConfigurationObject
- All Known Implementing Classes:
HttpImageResolver
public interface TableColumnConverter<R> extends ConfigurationObject
Converter to convert the value of a table cell (a string) into a different type (e.g. an image).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canConvert(java.lang.String text)
Returns true if the converter can convert the given input.R
resolve(MfClientHttpRequestFactory requestFactory, java.lang.String text)
Convert the value.-
Methods inherited from interface org.mapfish.print.config.ConfigurationObject
validate
-
-
-
-
Method Detail
-
resolve
R resolve(MfClientHttpRequestFactory requestFactory, java.lang.String text)
Convert the value.- Parameters:
requestFactory
- for fetching file and http resources.text
- the cell value.
-
canConvert
boolean canConvert(java.lang.String text)
Returns true if the converter can convert the given input.- Parameters:
text
- the input to convert.
-
-