All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mapfish.print.processor.jasper.TableColumnConverter Maven / Gradle / Ivy

There is a newer version: 3.22.0
Show newest version
package org.mapfish.print.processor.jasper;

import org.mapfish.print.config.ConfigurationObject;
import org.mapfish.print.http.MfClientHttpRequestFactory;

/**
 * Converter to convert the value of a table cell (a string) into a different type (e.g. an image).
 *
 * @param  The resulting type
 */
public interface TableColumnConverter extends ConfigurationObject {
    /**
     * Convert the value.
     *
     * @param requestFactory for fetching file and http resources.
     * @param text the cell value.
     */
    R resolve(
            MfClientHttpRequestFactory requestFactory,
            String text);

    /**
     * Returns true if the converter can convert the given input.
     *
     * @param text the input to convert.
     */
    boolean canConvert(String text);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy