|
||||||||||
| 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.
BigDecimals 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.
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.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.Enumeration.hasMoreElements().
Iterator.hasNext().
Object.toString() on the wrapped
object.
Breakpoint objects.
Breakpoint objects for the specified
template.
getCauseException.
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.
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.
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.
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.
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.
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 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.
Configuration.clearTemplateCache() to instruct this
template loader to throw away its current state and start afresh.
LocalizedString that gets
a localized string from a ResourceBundleConfiguration 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.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.
TransformControl.onStart() that tells the
template engine to skip evaluation of the body.
MruCacheStorage instead.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.MruCacheStorage instead.Configuration
instance, which can easily lead to erroneous, unpredictable behaviour.
See more here....
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(java.io.Writer, java.util.Map).TemplateModel-s recursively.
AdapterTemplateModel instead.TemplateModel instances.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||