freemarker.engine
Class PropertyObjectConstants

java.lang.Object
  extended by freemarker.engine.PropertyObjectConstants

public final class PropertyObjectConstants
extends java.lang.Object

Constants to be supplied to FMEngine to configure the engine's runtime behaviour. These are supplied using the setObject() method of the FMEngine class.

These are appropriate when runtime objects need to be created by calling code, or it is otherwise inappropriate to use reflection to create them.

Since:
1.9
Version:
$Id: PropertyObjectConstants.java 1172 2013-04-21 10:00:22Z run2000 $
Author:
Nicholas Cull

Field Summary
static java.lang.String TEMPLATE_CACHING_STRATEGTY
          A CachingStrategy object to be used for retrieving and caching templates.
static java.lang.String TEMPLATE_RUNTIME_ESCAPE
          A TemplateTransformModel or TemplateTransformModel2 for escaping variables written to the Writer.
static java.lang.String TEMPLATE_RUNTIME_GLOBAL_FILTER
          A TemplateTransformModel or TemplateTransformModel2 that filters all output from the template.
static java.lang.String TEMPLATE_RUNTIME_HANDLER
          A TemplateRuntimeHandler object to be used for reporting error messages to the template runtime.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE_CACHING_STRATEGTY

public static final java.lang.String TEMPLATE_CACHING_STRATEGTY
A CachingStrategy object to be used for retrieving and caching templates. The object should be fully configured and ready to go.

See Also:
CachingStrategy, Constant Field Values

TEMPLATE_RUNTIME_HANDLER

public static final java.lang.String TEMPLATE_RUNTIME_HANDLER
A TemplateRuntimeHandler object to be used for reporting error messages to the template runtime.

See Also:
TemplateRuntimeHandler, Constant Field Values

TEMPLATE_RUNTIME_ESCAPE

public static final java.lang.String TEMPLATE_RUNTIME_ESCAPE
A TemplateTransformModel or TemplateTransformModel2 for escaping variables written to the Writer.

See Also:
TemplateTransformModel, TemplateTransformModel2, Constant Field Values

TEMPLATE_RUNTIME_GLOBAL_FILTER

public static final java.lang.String TEMPLATE_RUNTIME_GLOBAL_FILTER
A TemplateTransformModel or TemplateTransformModel2 that filters all output from the template.

See Also:
TemplateTransformModel, TemplateTransformModel2, Constant Field Values