org.apache.velocity.runtime

Interface RuntimeConstants

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,v 1.33.4.1 2004/03/03 23:22:55 geirm Exp $

Authors:
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
DEBUG_PREFIX
Log message prefixes
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
ERROR_PREFIX
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
INFO_PREFIX
static String
INPUT_ENCODING
The character encoding for the templates.
static String
INTERPOLATE_STRINGLITERALS
Switch for the interpolation facility for string literals
static String
LOGSYSTEM_LOG4J_EMAIL_BUFFER_SIZE
Log4J configuration
static String
LOGSYSTEM_LOG4J_EMAIL_FROM
Log4J configuration
static String
LOGSYSTEM_LOG4J_EMAIL_SERVER
Log4J configuration
static String
LOGSYSTEM_LOG4J_EMAIL_SUBJECT
Log4J configuration
static String
LOGSYSTEM_LOG4J_EMAIL_TO
Log4J configuration
static String
LOGSYSTEM_LOG4J_FILE_BACKUPS
Log4J configuration
static String
LOGSYSTEM_LOG4J_FILE_SIZE
Log4J configuration
static String
LOGSYSTEM_LOG4J_PATTERN
Log4J configuration
static String
LOGSYSTEM_LOG4J_REMOTE_HOST
Log4J configuration
static String
LOGSYSTEM_LOG4J_REMOTE_PORT
Log4J configuration
static String
LOGSYSTEM_LOG4J_SYSLOGD_FACILITY
Log4J configuration
static String
LOGSYSTEM_LOG4J_SYSLOGD_HOST
Log4J configuration
static int
NUMBER_OF_PARSERS
The default number of parser instances to create.
static String
OUTPUT_ENCODING
Encoding for the output stream.
static String
PARSER_POOL_SIZE
static String
PARSE_DIRECTIVE_MAXDEPTH
Maximum recursion depth allowed for the #parse directive.
static String
RESOURCE_LOADER
Key used to retrieve the names of the resource loaders to be used.
static String
RESOURCE_MANAGER_CACHE_CLASS
static String
RESOURCE_MANAGER_CLASS
static String
RESOURCE_MANAGER_LOGWHENFOUND
controls if the finding of a resource is logged
static String
RUNTIME_LOG
Location of the velocity log file.
static String
RUNTIME_LOG_ERROR_STACKTRACE
Stack trace output for error messages.
static String
RUNTIME_LOG_INFO_STACKTRACE
Stack trace output for info messages.
static String
RUNTIME_LOG_LOGSYSTEM
externally provided logger
static String
RUNTIME_LOG_LOGSYSTEM_CLASS
class of log system to use
static String
RUNTIME_LOG_REFERENCE_LOG_INVALID
Logging of invalid references.
static String
RUNTIME_LOG_WARN_STACKTRACE
Stack trace output for warning messages.
static String
UBERSPECT_CLASSNAME
key name for uberspector
static String
UNKNOWN_PREFIX
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_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.
static String
WARN_PREFIX

Field Details

COUNTER_INITIAL_VALUE

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


COUNTER_NAME

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


DEBUG_PREFIX

public static final String DEBUG_PREFIX
Log message prefixes


DEFAULT_RUNTIME_DIRECTIVES

public static final String DEFAULT_RUNTIME_DIRECTIVES
Default Runtime properties


DEFAULT_RUNTIME_PROPERTIES

public static final String DEFAULT_RUNTIME_PROPERTIES
Default Runtime properties.


ENCODING_DEFAULT

public static final String ENCODING_DEFAULT


ERRORMSG_END

public 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.


ERRORMSG_START

public 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.


ERROR_PREFIX

public static final String ERROR_PREFIX


FILE_RESOURCE_LOADER_CACHE

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


FILE_RESOURCE_LOADER_PATH

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


INFO_PREFIX

public static final String INFO_PREFIX


INPUT_ENCODING

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


INTERPOLATE_STRINGLITERALS

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


LOGSYSTEM_LOG4J_EMAIL_BUFFER_SIZE

public static final String LOGSYSTEM_LOG4J_EMAIL_BUFFER_SIZE
Log4J configuration


LOGSYSTEM_LOG4J_EMAIL_FROM

public static final String LOGSYSTEM_LOG4J_EMAIL_FROM
Log4J configuration


LOGSYSTEM_LOG4J_EMAIL_SERVER

public static final String LOGSYSTEM_LOG4J_EMAIL_SERVER
Log4J configuration


LOGSYSTEM_LOG4J_EMAIL_SUBJECT

public static final String LOGSYSTEM_LOG4J_EMAIL_SUBJECT
Log4J configuration


LOGSYSTEM_LOG4J_EMAIL_TO

public static final String LOGSYSTEM_LOG4J_EMAIL_TO
Log4J configuration


LOGSYSTEM_LOG4J_FILE_BACKUPS

public static final String LOGSYSTEM_LOG4J_FILE_BACKUPS
Log4J configuration


LOGSYSTEM_LOG4J_FILE_SIZE

public static final String LOGSYSTEM_LOG4J_FILE_SIZE
Log4J configuration


LOGSYSTEM_LOG4J_PATTERN

public static final String LOGSYSTEM_LOG4J_PATTERN
Log4J configuration


LOGSYSTEM_LOG4J_REMOTE_HOST

public static final String LOGSYSTEM_LOG4J_REMOTE_HOST
Log4J configuration


LOGSYSTEM_LOG4J_REMOTE_PORT

public static final String LOGSYSTEM_LOG4J_REMOTE_PORT
Log4J configuration


LOGSYSTEM_LOG4J_SYSLOGD_FACILITY

public static final String LOGSYSTEM_LOG4J_SYSLOGD_FACILITY
Log4J configuration


LOGSYSTEM_LOG4J_SYSLOGD_HOST

public static final String LOGSYSTEM_LOG4J_SYSLOGD_HOST
Log4J configuration


NUMBER_OF_PARSERS

public static final int NUMBER_OF_PARSERS

Field Value:
20


OUTPUT_ENCODING

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


PARSER_POOL_SIZE

public static final String PARSER_POOL_SIZE

See Also:
NUMBER_OF_PARSERS


PARSE_DIRECTIVE_MAXDEPTH

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


RESOURCE_LOADER

public 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


RESOURCE_MANAGER_CACHE_CLASS

public static final String RESOURCE_MANAGER_CACHE_CLASS


RESOURCE_MANAGER_CLASS

public static final String RESOURCE_MANAGER_CLASS


RESOURCE_MANAGER_LOGWHENFOUND

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


RUNTIME_LOG

public static final String RUNTIME_LOG
Location of the velocity log file.


RUNTIME_LOG_ERROR_STACKTRACE

public static final String RUNTIME_LOG_ERROR_STACKTRACE
Stack trace output for error messages.


RUNTIME_LOG_INFO_STACKTRACE

public static final String RUNTIME_LOG_INFO_STACKTRACE
Stack trace output for info messages.


RUNTIME_LOG_LOGSYSTEM

public static final String RUNTIME_LOG_LOGSYSTEM
externally provided logger


RUNTIME_LOG_LOGSYSTEM_CLASS

public static final String RUNTIME_LOG_LOGSYSTEM_CLASS
class of log system to use


RUNTIME_LOG_REFERENCE_LOG_INVALID

public static final String RUNTIME_LOG_REFERENCE_LOG_INVALID
Logging of invalid references.


RUNTIME_LOG_WARN_STACKTRACE

public static final String RUNTIME_LOG_WARN_STACKTRACE
Stack trace output for warning messages.


UBERSPECT_CLASSNAME

public static final String UBERSPECT_CLASSNAME
key name for uberspector


UNKNOWN_PREFIX

public static final String UNKNOWN_PREFIX


VM_CONTEXT_LOCALSCOPE

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


VM_LIBRARY

public static final String VM_LIBRARY
Name of local Velocimacro library template.


VM_LIBRARY_AUTORELOAD

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


VM_MESSAGES_ON

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


VM_PERM_ALLOW_INLINE

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


VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL

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


VM_PERM_INLINE_LOCAL

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


WARN_PREFIX

public static final String WARN_PREFIX


Copyright B) 2002 Apache Software Foundation. All Rights Reserved.