Package freemarker.ext.jython

Provides model implementations that allow access to arbitrary Jython objects.

See:
          Description

Class Summary
JythonHashModel Model for Jython dictionaries (PyDictionary and PyStringMap).
JythonModel Generic model for arbitrary Jython objects.
JythonNumberModel Model for Jython numeric objects (PyInteger, PyLong, PyFloat).
JythonSequenceModel Model for Jython sequence objects (PySequence descendants).
JythonWrapper An object wrapper that wraps Jython objects into FreeMarker template models and vice versa.
 

Package freemarker.ext.jython Description

Provides model implementations that allow access to arbitrary Jython objects.

Most of the issues dealing with Jython objects are handled by the JythonWrapper.wrap(Object) method. In normal cases, this is the only method you should use to turn an arbitrary Jython object into a FreeMarker TemplateModel. Additionally, you can manually create instances of any wrapper class using its constructors.