Package io.toro.martini
Class GloopTemplateMethods
- java.lang.Object
- 
- io.toro.martini.GloopTemplateMethods
 
- 
 public final class GloopTemplateMethods extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description GloopTemplateMethods()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Stringrender(GloopExecutionContext context, io.toro.gloop.template.GloopTemplateResolver resolver, MartiniPackage martiniPackage, io.toro.gloop.template.GloopTemplate template, boolean closeContext)static Stringrender(String namespace, boolean fragment)Return a rendered html from a gloop template using itsnamewith providedinputs.static Stringrender(String namespace, boolean fragment, boolean closeContext, Object... inputs)Return a rendered html from a gloop template using itsnamewith providedinputs.static Stringrender(String namespace, boolean fragment, boolean closeContext, Collection<?> inputs)Return a rendered html from a gloop template using itsnamewith providedinputs.static Stringrender(String namespace, boolean fragment, boolean closeContext, Map inputs)Return a rendered html from a gloop template using itsnamewith providedinputs.
 
- 
- 
- 
Method Detail- 
renderpublic static String render(String namespace, @GloopParameter(defaultValue="false") boolean fragment) throws GloopException Return a rendered html from a gloop template using itsnamewith providedinputs.- Parameters:
- namespace- namespace of the gloop template
- fragment- if fragment is true, the Gloop template will be rendered as a fragment without the tags.
- Returns:
- rendered html of a gloop template
- Throws:
- GloopException
 
 - 
renderpublic static String render(String namespace, @GloopParameter(defaultValue="false") boolean fragment, @GloopParameter(defaultValue="true") boolean closeContext, Object... inputs) throws GloopException Return a rendered html from a gloop template using itsnamewith providedinputs.- Parameters:
- namespace- namespace of the gloop template
- fragment- if fragment is true, the Gloop template will be rendered as a fragment without the tags.
- inputs- the inputs to be passed to the gloop template, following the order defined on the gloop template
- Returns:
- rendered html of a gloop template
- Throws:
- GloopException
 
 - 
renderpublic static String render(String namespace, @GloopParameter(defaultValue="false") boolean fragment, @GloopParameter(defaultValue="true") boolean closeContext, Map inputs) throws GloopException Return a rendered html from a gloop template using itsnamewith providedinputs.- Parameters:
- namespace- namespace of the gloop template
- fragment- if fragment is true, the Gloop template will be rendered as a fragment without the tags.
- inputs- the inputs to be passed to the gloop gloop template, following the order defined on the gloop template
- Returns:
- rendered html of a gloop template
- Throws:
- GloopException
 
 - 
renderpublic static String render(String namespace, @GloopParameter(defaultValue="false") boolean fragment, @GloopParameter(defaultValue="true") boolean closeContext, Collection<?> inputs) throws GloopException Return a rendered html from a gloop template using itsnamewith providedinputs.- Parameters:
- namespace- namespace of the gloop template
- fragment- if fragment is true, the Gloop template will be rendered as a fragment without the tags.
- inputs- the inputs to be passed to the gloop gloop template, following the order defined on the gloop template
- Returns:
- rendered html of a gloop template
- Throws:
- GloopException
 
 - 
renderstatic String render(GloopExecutionContext context, io.toro.gloop.template.GloopTemplateResolver resolver, MartiniPackage martiniPackage, io.toro.gloop.template.GloopTemplate template, boolean closeContext) throws GloopException - Throws:
- GloopException
 
 
- 
 
-