
org.webpieces.templating.api.TemplateService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-templating Show documentation
Show all versions of http-templating Show documentation
Templating library using groovy as the scripting language
package org.webpieces.templating.api;
import java.io.StringWriter;
import java.util.Map;
import java.util.Set;
import org.webpieces.ctx.api.extension.HtmlTagCreator;
import org.webpieces.templating.impl.ProdTemplateService;
import com.google.inject.ImplementedBy;
@ImplementedBy(ProdTemplateService.class)
public interface TemplateService {
void loadAndRunTemplate(String templatePath, StringWriter out, Map pageArgs);
/**
* Purely for tag use only.
*
* we could hide this as strictly speaking, this is not for any webserver to call but for tags to use
*/
String loadAndRunTemplate(String templatePath, Map pageArgs, Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy