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

com.mntviews.jreport.JRTemplateSource Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package com.mntviews.jreport;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

import java.io.InputStream;
import java.sql.Connection;

@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,
        include = JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
        @JsonSubTypes.Type(value = JRTemplateSourceDB.class, name = "db"),
        @JsonSubTypes.Type(value = JRTemplateSourceFile.class, name = "file"),
        @JsonSubTypes.Type(value = JRTemplateSourceInline.class, name = "inline")
})
public abstract class JRTemplateSource {
    abstract InputStream load(JRTemplateCommon jrTemplateCommon);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy