|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
TemplateCollectionModel
and TemplateSequenceModel
interfaces. TemplateBooleanModel.TRUE
or
TemplateBooleanModel.FALSE
.
ObjectWrapper.SIMPLE_WRAPPER
, but
exposes the objects methods and JavaBeans properties as hash elements
and custom handling for Java Maps, ResourceBundles, etc.
BigDecimal
and
then operates on them.
TemplateHashModel
interface allowing calls to arbitrary property getters and invocation of
accessible methods on the object from a template using the
object.foo to access properties and object.bar(arg1, arg2) to
invoke methods on it. Boolean
into a
TemplateBooleanModel
.<assign x>...</assign>
.TemplateLoader
that uses streams reachable through
Class.getResourceAsStream(String)
as its source of templates.BeanModel
that can wrap Java collections
and that implements the TemplateCollectionModel
in order to be usable
in a <foreach> block.Configuration
,
Template
, and Environment
classes.
TemplateCache.getTemplate(String, Locale, String, boolean)
calls.
getTemplate
calls.
BigDecimal
s in the passed array to the type of
the corresponding formal argument of the method.
CustomAttribute.get()
is invoked without
CustomAttribute.set(Object)
being invoked before it to define the value in the
current scope.
FreemarkerServlet.init()
to create the
FreeMarker configuration object that this servlet will use
for template loading.
FreemarkerServlet.init()
to create the
FreeMarker object wrapper object that this servlet will use
for adapting request, session, and servlet context attributes into
template models..
Environment
object,
using this template, the data model provided as the root map object, and
the supplied object wrapper to convert map elements to template models.
createProcessingEnvironment(rootMap, out, null)
.
Date
into a reflective model.
Environment
object in the remote VM. TemplateModel
-s.Configuration.getTemplate(String, Locale)
call.
TransformControl.afterBody()
that tells the
template engine to end the transform and close the writer.
TransformControl.onStart()
that tells the
template engine to evaluate the body.
TemplateModelIterator
functionality to the
Enumeration
interface implementers.
TemplateLoader
that uses files in a specified directory as the
source of templates. user.dir
as the base
directory for loading templates.
Class.forName(java.lang.String)
, but attempts to load
through the thread context class loader.
freemarker.template
package.PyObject.__findattr__(java.lang.String)
, then if it
returns null calls PyObject.__finditem__(java.lang.String)
.
PyObject.__finditem__(int)
.
Enumeration.hasMoreElements()
.
Iterator.hasNext()
.
PyObject.__nonzero__()
.
PyObject.__tojava__(java.lang.Class)
with
Number
.class as argument.
Object.toString()
on the wrapped
object.
Object.toString()
.
Breakpoint
objects.
Breakpoint
objects for the specified
template.
getCauseException
.
Configuration
object used by this servlet.
DebuggedEnvironment
objects that
are currently suspended.
Environment.importLib(Template importedTemplate, String namespace)
.
Environment.include(Template includedTemplate)
.
Enumeration.nextElement()
.
Iterator.hasNext()
.
HashMap
that uses
System.identityHashCode(Object)
for hashing, and reference comparison
instead of Object.equals(Object)
. TemplateModelIterator
functionality to the
Iterator
interface implementers.
import
directive, except that name
must be tempate
root relative.
import
directive.
include
directive, except that name
must be tempate
root relative.
Environment
, including its
output in the Environment
's Writer.
PyObject.__len__()
== 0
.
PyDictionary
and PyStringMap
).
PyInteger
, PyLong
,
PyFloat
).PySequence
descendants).object.
- keys() -
Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- keys() -
Method in class freemarker.ext.servlet.HttpRequestParametersHashModel
-
- keys() -
Method in class freemarker.template.SimpleHash
-
- keys() -
Method in interface freemarker.template.TemplateHashModelEx
-
Logger.selectLoggerLibrary(int)
that indicates the
engine should automatically lookup and use any available logger library.
Logger.selectLoggerLibrary(int)
that indicates the
engine should use the Apache Jakarta Avalon LogKit logger package.
Logger.selectLoggerLibrary(int)
that indicates the
engine should use the java.util.logging logger package.
Logger.selectLoggerLibrary(int)
that indicates the
engine should use the Apache Jakarta Log4J logger package.
Logger.selectLoggerLibrary(int)
that indicates the
engine should use no logger package (i.e. turn off logging).
BeanModel
that adds implementation
for TemplateMethodModelEx
on map objects that is a shortcut for the
Map.get() method. ModelCache
.TemplateLoader
that uses a set of other loaders to load the templates.
NodeModel
instead.Document
node.
Element
node.
NodeModel
instead.Number
into a reflective model.
Enumeration.nextElement()
and wraps the result.
Iterator.next()
and wraps the result.
TemplateTransformModel.getWriter(Writer, Map)
call and the
Writer.close()
call.
DeepUnwrap.unwrap(freemarker.template.TemplateModel)
, but it doesn't throw exception if it doesn't know how to unwrap
the object, but returns it as is.
getObjectWrapper()
method of the Configuration.
TransformControl.afterBody()
that tells the
template engine to repeat transform body evaluation and feed
it again to the transform.
NodeListModel.get(String)
as well as for use in XPath expressions.
Configuration.getTemplate(String, Locale)
.
TransformControl.onStart()
that tells the
template engine to skip evaluation of the body.
ServletContextHashModel.ServletContextHashModel(GenericServlet, ObjectWrapper)
instead.
TemplateCollectionModel
.
Map
or SortedMap
.WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
, or
the JavaBeans wrapper
.
BeansWrapper
when simpleMapWrapper
mode is enabled. WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
Collection
and will use the the default
object wrapper set in
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
Collection
and will use the specified object
wrapper.
MruCacheStorage
instead.BeanModel
that exposes the return value of the Object.toString()
method through the TemplateScalarModel
interface.MruCacheStorage
instead.Configuration.getDefaultConfiguration()
.
Properties
object.
MapModel
.
PyObject.__len__()
.
PyObject.__len__()
.
user.dir
), then from the classpath.
TemplateMethodModel
that acts on models, rather
than on strings. TemplateCollectionModel
.java.util.List
of already wrapped objects
directly, with minimal resource usage. <transform>
block to perform arbitrary transformations on a part of the template
processing output.
TemplateTransformModel.getWriter(Writer, Map)
. PyObject
.
TemplateModel
-s recursively.
object.
- values() -
Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- values() -
Method in class freemarker.ext.servlet.HttpRequestParametersHashModel
-
- values() -
Method in class freemarker.ext.util.IdentityHashMap
- Returns a collection view of the values contained in this map.
- values() -
Method in class freemarker.template.EmptyMap
-
- values() -
Method in class freemarker.template.SimpleHash
-
- values() -
Method in interface freemarker.template.TemplateHashModelEx
-
TemplateLoader
that uses streams reachable through
ServletContext.getResource(String)
as its source of templates.TemplateModel
instances.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |