|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
TemplateModel
interfaces.TemplateBooleanModel.TRUE
or
TemplateBooleanModel.FALSE
.
TemplateCollectionModel
and TemplateSequenceModel
interfaces.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.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.
Boolean
into a
TemplateBooleanModel
.<assign x>...</assign>
.TemplateLoader
that uses streams reachable through
Class.getResourceAsStream(String)
as its source of templates.ClassTemplateLoader.ClassTemplateLoader(Class, String)
instead.
""
;
use ClassTemplateLoader.ClassTemplateLoader(Class, String)
instead.
Class.getResource(String)
method
of the specified class to load the resources, and the specified base path (absolute or relative).
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.
BigDecimal
s in the passed array to the type of
the corresponding formal argument of the method.
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.TemplateModel
values.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.Configuration.getTemplate(String, Locale)
call.
TemplateModel
-s.TransformControl.afterBody()
that tells the
template engine to end the transform and close the writer.
TemplateModelIterator
functionality to the
Enumeration
interface implementers.TransformControl.onStart()
that tells the
template engine to evaluate the body.
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
.
NumberFormat
used for the c built-in.
Configuration
object used by this servlet.
Configuration
instance can easily cause erroneous, unpredictable
behavior. This is because multiple independent software components may use
FreeMarker internally inside the same application, so they will interfere
because of the common Configuration
instance. Each such component
should use its own private Configuration
object instead, that it
typically creates with new Configuration()
when the component
is initialized.
BeansWrapper.getModelFactory(Class)
instead. Using this
method will now bypass wrapper caching (if it is enabled) and always
result in creation of a new wrapper. This method will be removed in 2.4
Configurable.setSetting(String, String)
will work with them correctly.)
Configurable.setSettings(Properties)
will work with them correctly.)
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)
.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.
ConcurrentMap
.
PyObject.__len__()
== 0
.
TemplateModelIterator
functionality to the
Iterator
interface implementers.String
according the JavaScript string literal
escaping rules.
String
with the escaping rules of Java language
string literals, so it is safe to insert the value into a string literal.
PyDictionary
and PyStringMap
).PyInteger
, PyLong
,
PyFloat
).PySequence
descendants).object.
- keys() -
Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- 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
-
- keySet() -
Method in class freemarker.ext.beans.BeanModel
- Helper method to support TemplateHashModelEx.
- keySet() -
Method in class freemarker.ext.beans.MapModel
-
- keySet() -
Method in class freemarker.ext.beans.ResourceBundleModel
-
- keySet() -
Method in class freemarker.ext.util.IdentityHashMap
- Returns a set view of the keys contained in this map.
- keySet() -
Method in class freemarker.template.EmptyMap
-
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.Enumeration.nextElement()
and wraps the result.
Iterator.next()
and wraps the result.
NodeModel
instead.Document
node.
Element
node.
NodeModel
instead.Number
into a reflective model.TemplateTransformModel.getWriter(java.io.Writer, java.util.Map)
call
and the Writer.close()
call.
DeepUnwrap.unwrap(TemplateModel)
, but it doesn't throw exception
if it doesn't know how to unwrap the model, but rather returns it as-is.
DeepUnwrap.permissiveUnwrap(TemplateModel)
instead.
getObjectWrapper()
method of the Configuration.
NodeListModel.get(String)
as well as for use in XPath expressions.
TransformControl.afterBody()
that tells the
template engine to repeat transform body evaluation and feed
it again to the transform.
Configuration.getTemplate(String, Locale)
.
Configuration.clearTemplateCache()
to instruct this
template loader to throw away its current state and start afresh.
LocalizedString
that gets
a localized string from a ResourceBundle
ServletContextHashModel.ServletContextHashModel(GenericServlet, ObjectWrapper)
instead.
Configuration
instance can
easily lead to erroneous, unpredictable behaviour.
See more here...
.
Properties
object.
MapModel
.
InvalidPropertyException
.
TemplateCollectionModel
.Map
or SortedMap
.WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
.
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper)
, or
the JavaBeans wrapper
.
BeansWrapper
when simpleMapWrapper
mode is enabled.TemplateMethodModel
interface.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.
PyObject.__len__()
.
PyObject.__len__()
.
TransformControl.onStart()
that tells the
template engine to skip evaluation of the body.
SoftReference
objects to hold the objects it was passed, therefore allows the garbage
collector to purge the cache when it determines that it wants to free up
memory.BeanModel
that exposes the return value of the Object.toString()
method through the TemplateScalarModel
interface.TemplateLoader
that uses a Map with Strings as its source of
templates.Map
.Configuration
instance, which can easily lead to erroneous, unpredictable behaviour.
See more here...
.
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.TemplateDirectiveModel
instead.TemplateTransformModel.getWriter(java.io.Writer, java.util.Map)
.PyObject
.
TemplateModel
-s recursively.
object.
- values() -
Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- 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
-
- visit(TemplateElement, TemplateDirectiveModel, Map, List) -
Method in class freemarker.core.Environment
-
- Visit() -
Method in class freemarker.core.FMParser
-
TemplateLoader
that uses streams reachable through
ServletContext.getResource(String)
as its source of templates.AdapterTemplateModel
instead.TemplateModel
instances.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |