org.apache.velocity.runtime
Interface RuntimeConstants

All Known Implementing Classes:
Runtime, RuntimeInstance, RuntimeSingleton, Velocity, VelocityEngine

public interface RuntimeConstants

This class defines the keys that are used in the velocity.properties file so that they can be referenced as a constant within Java code.

Version:
$Id: RuntimeConstants.java 191742 2005-06-21 23:03:49Z dlr $
Author:
Jon S. Stevens, Geir Magnusson Jr., Jason van Zyl

Field Summary
static String COUNTER_INITIAL_VALUE
          Initial counter value in #foreach directives.
static String COUNTER_NAME
          Initial counter value in #foreach directives.
static String DEFAULT_RUNTIME_DIRECTIVES
          Default Runtime properties
static String DEFAULT_RUNTIME_PROPERTIES
          Default Runtime properties.
static String ENCODING_DEFAULT
           
static String ERRORMSG_END
          Ending tag for error messages triggered by passing a parameter not allowed in the #include directive.
static String ERRORMSG_START
          Starting tag for error messages triggered by passing a parameter not allowed in the #include directive.
static String FILE_RESOURCE_LOADER_CACHE
          The public handle for turning the caching on in the FileResourceLoader.
static String FILE_RESOURCE_LOADER_PATH
          The public handle for setting a path in the FileResourceLoader.
static String INPUT_ENCODING
          The character encoding for the templates.
static String INTERPOLATE_STRINGLITERALS
          Switch for the interpolation facility for string literals
static String MAX_NUMBER_LOOPS
          Maximum allowed number of loops.
static int NUMBER_OF_PARSERS
          The default number of parser instances to create.
static String OUTPUT_ENCODING
          Encoding for the output stream.
static String PARSE_DIRECTIVE_MAXDEPTH
          Maximum recursion depth allowed for the #parse directive.
static String PARSER_POOL_SIZE
           
static String RESOURCE_LOADER
          Key used to retrieve the names of the resource loaders to be used.
static String RESOURCE_MANAGER_CACHE_CLASS
          The resource.manager.cache.class property specifies the name of the ResourceCache implementation to use.
static String RESOURCE_MANAGER_CLASS
           
static String RESOURCE_MANAGER_DEFAULTCACHE_SIZE
          The resource.manager.cache.size property specifies the cache upper bound (if relevant).
static String RESOURCE_MANAGER_LOGWHENFOUND
          controls if the finding of a resource is logged
static String RUNTIME_LOG_REFERENCE_LOG_INVALID
          Logging of invalid references.
static String UBERSPECT_CLASSNAME
          key name for uberspector
static String VM_CONTEXT_LOCALSCOPE
          switch for local context in VM : default false
static String VM_LIBRARY
          Name of local Velocimacro library template.
static String VM_LIBRARY_AUTORELOAD
          switch for autoloading library-sourced VMs (for development)
static String VM_LIBRARY_DEFAULT
          Default Velocimacro library template.
static String VM_MESSAGES_ON
          Switch for VM blather : default true.
static String VM_PERM_ALLOW_INLINE
          boolean (true/false) default true : allow inline (in-template) macro definitions
static String VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL
          boolean (true/false) default false : allow inline (in-template) macro definitions to replace existing
static String VM_PERM_INLINE_LOCAL
          Switch for forcing inline macros to be local : default false.
 

Field Detail

RUNTIME_LOG_REFERENCE_LOG_INVALID

static final String RUNTIME_LOG_REFERENCE_LOG_INVALID
Logging of invalid references.

See Also:
Constant Field Values

COUNTER_NAME

static final String COUNTER_NAME
Initial counter value in #foreach directives.

See Also:
Constant Field Values

COUNTER_INITIAL_VALUE

static final String COUNTER_INITIAL_VALUE
Initial counter value in #foreach directives.

See Also:
Constant Field Values

MAX_NUMBER_LOOPS

static final String MAX_NUMBER_LOOPS
Maximum allowed number of loops.

See Also:
Constant Field Values

ERRORMSG_START

static final String ERRORMSG_START
Starting tag for error messages triggered by passing a parameter not allowed in the #include directive. Only string literals, and references are allowed.

See Also:
Constant Field Values

ERRORMSG_END

static final String ERRORMSG_END
Ending tag for error messages triggered by passing a parameter not allowed in the #include directive. Only string literals, and references are allowed.

See Also:
Constant Field Values

PARSE_DIRECTIVE_MAXDEPTH

static final String PARSE_DIRECTIVE_MAXDEPTH
Maximum recursion depth allowed for the #parse directive.

See Also:
Constant Field Values

RESOURCE_MANAGER_CLASS

static final String RESOURCE_MANAGER_CLASS
See Also:
Constant Field Values

RESOURCE_MANAGER_CACHE_CLASS

static final String RESOURCE_MANAGER_CACHE_CLASS
The resource.manager.cache.class property specifies the name of the ResourceCache implementation to use.

See Also:
Constant Field Values

RESOURCE_MANAGER_DEFAULTCACHE_SIZE

static final String RESOURCE_MANAGER_DEFAULTCACHE_SIZE
The resource.manager.cache.size property specifies the cache upper bound (if relevant).

See Also:
Constant Field Values

RESOURCE_MANAGER_LOGWHENFOUND

static final String RESOURCE_MANAGER_LOGWHENFOUND
controls if the finding of a resource is logged

See Also:
Constant Field Values

RESOURCE_LOADER

static final String RESOURCE_LOADER
Key used to retrieve the names of the resource loaders to be used. In a properties file they may appear as the following: resource.loader = file,classpath

See Also:
Constant Field Values

FILE_RESOURCE_LOADER_PATH

static final String FILE_RESOURCE_LOADER_PATH
The public handle for setting a path in the FileResourceLoader.

See Also:
Constant Field Values

FILE_RESOURCE_LOADER_CACHE

static final String FILE_RESOURCE_LOADER_CACHE
The public handle for turning the caching on in the FileResourceLoader.

See Also:
Constant Field Values

VM_LIBRARY

static final String VM_LIBRARY
Name of local Velocimacro library template.

See Also:
Constant Field Values

VM_LIBRARY_DEFAULT

static final String VM_LIBRARY_DEFAULT
Default Velocimacro library template.

See Also:
Constant Field Values

VM_LIBRARY_AUTORELOAD

static final String VM_LIBRARY_AUTORELOAD
switch for autoloading library-sourced VMs (for development)

See Also:
Constant Field Values

VM_PERM_ALLOW_INLINE

static final String VM_PERM_ALLOW_INLINE
boolean (true/false) default true : allow inline (in-template) macro definitions

See Also:
Constant Field Values

VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL

static final String VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL
boolean (true/false) default false : allow inline (in-template) macro definitions to replace existing

See Also:
Constant Field Values

VM_PERM_INLINE_LOCAL

static final String VM_PERM_INLINE_LOCAL
Switch for forcing inline macros to be local : default false.

See Also:
Constant Field Values

VM_MESSAGES_ON

static final String VM_MESSAGES_ON
Switch for VM blather : default true.

See Also:
Constant Field Values

VM_CONTEXT_LOCALSCOPE

static final String VM_CONTEXT_LOCALSCOPE
switch for local context in VM : default false

See Also:
Constant Field Values

INTERPOLATE_STRINGLITERALS

static final String INTERPOLATE_STRINGLITERALS
Switch for the interpolation facility for string literals

See Also:
Constant Field Values

INPUT_ENCODING

static final String INPUT_ENCODING
The character encoding for the templates. Used by the parser in processing the input streams.

See Also:
Constant Field Values

OUTPUT_ENCODING

static final String OUTPUT_ENCODING
Encoding for the output stream. Currently used by Anakia and VelocityServlet

See Also:
Constant Field Values

ENCODING_DEFAULT

static final String ENCODING_DEFAULT
See Also:
Constant Field Values

DEFAULT_RUNTIME_PROPERTIES

static final String DEFAULT_RUNTIME_PROPERTIES
Default Runtime properties.

See Also:
Constant Field Values

DEFAULT_RUNTIME_DIRECTIVES

static final String DEFAULT_RUNTIME_DIRECTIVES
Default Runtime properties

See Also:
Constant Field Values

NUMBER_OF_PARSERS

static final int NUMBER_OF_PARSERS
The default number of parser instances to create. Configurable via the parameter named by the PARSER_POOL_SIZE constant.

See Also:
Constant Field Values

PARSER_POOL_SIZE

static final String PARSER_POOL_SIZE
See Also:
NUMBER_OF_PARSERS, Constant Field Values

UBERSPECT_CLASSNAME

static final String UBERSPECT_CLASSNAME
key name for uberspector

See Also:
Constant Field Values


Copyright © 2002 Apache Software Foundation. All Rights Reserved.