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

org.nutz.plugins.view.velocity.VelocityViewMaker Maven / Gradle / Ivy

package org.nutz.plugins.view.velocity;

import org.nutz.ioc.Ioc;
import org.nutz.mvc.View;
import org.nutz.mvc.ViewMaker;

public class VelocityViewMaker implements ViewMaker {

    public View make(Ioc ioc, String type, String value) {
        if ("vm".equalsIgnoreCase(type)) {
            return new VelocityLayoutView(value);
        }
        return null;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy