xyz.erupt.tpl.engine.EngineTemplate Maven / Gradle / Ivy
The newest version!
package xyz.erupt.tpl.engine;
import xyz.erupt.annotation.sub_erupt.Tpl;
import java.io.Writer;
import java.util.Map;
/**
* @author YuePeng
* date 2021/1/16 20:19
*/
public abstract class EngineTemplate {
private Engine engine;
public abstract Tpl.Engine engine();
public abstract Engine init();
public abstract void render(Engine engine, String filePath, Map bindingMap, Writer out);
public Engine getEngine() {
return engine;
}
public void setEngine(Engine engine) {
this.engine = engine;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy