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

cn.afterturn.easypoi.view.EasypoiRender Maven / Gradle / Ivy

There is a newer version: 3.0.5-M3
Show newest version
package cn.afterturn.easypoi.view;

import org.noear.solon.core.handle.Context;
import org.noear.solon.core.handle.ModelAndView;
import org.noear.solon.core.handle.Render;

/**
 * @author noear 2022/10/7 created
 */
public class EasypoiRender implements Render {
    @Override
    public void render(Object data, Context ctx) throws Throwable {
        if (data == null) {
            return;
        }

        ModelAndView mv = (ModelAndView) data;
        PoiBaseView.render(mv.model(), ctx, mv.view());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy