freemarker.ext.jython.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.freemarker
Show all versions of org.apache.servicemix.bundles.freemarker
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
Exposes Jython objects to templates.
The {@link freemarker.template.DefaultObjectWrapper default object wrapper} of FreeMarker
automatically wraps Jython nodes with this.
Most of the issues dealing with Jython objects are handled by the
{@link freemarker.ext.jython.JythonWrapper#wrap(Object)} method. In
normal cases, this is the only method you should use to turn an
arbitrary Jython object into a FreeMarker
{@link freemarker.template.TemplateModel}. Additionally, you can
manually create instances of any wrapper class using its constructors.