org.apache.velocity.runtime

Interface RuntimeConstants

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 $

Author: Jon S. Stevens Geir Magnusson Jr. Jason van Zyl

Field Summary
static StringCOUNTER_INITIAL_VALUE
Initial counter value in #foreach directives.
static StringCOUNTER_NAME
Initial counter value in #foreach directives.
static StringDEBUG_PREFIX
Log message prefixes
static StringDEFAULT_RUNTIME_DIRECTIVES
Default Runtime properties
static StringDEFAULT_RUNTIME_PROPERTIES
Default Runtime properties.
static StringENCODING_DEFAULT
static StringERRORMSG_END
Ending tag for error messages triggered by passing a parameter not allowed in the #include directive.
static StringERRORMSG_START
Starting tag for error messages triggered by passing a parameter not allowed in the #include directive.
static StringERROR_PREFIX
static StringFILE_RESOURCE_LOADER_CACHE
The public handle for turning the caching on in the FileResourceLoader.
static StringFILE_RESOURCE_LOADER_PATH
The public handle for setting a path in the FileResourceLoader.
static StringINFO_PREFIX
static StringINPUT_ENCODING
The character encoding for the templates.
static StringINTERPOLATE_STRINGLITERALS
Switch for the interpolation facility for string literals
static StringLOGSYSTEM_LOG4J_EMAIL_BUFFER_SIZE
Log4J configuration
static StringLOGSYSTEM_LOG4J_EMAIL_FROM
Log4J configuration
static StringLOGSYSTEM_LOG4J_EMAIL_SERVER
Log4J configuration
static StringLOGSYSTEM_LOG4J_EMAIL_SUBJECT
Log4J configuration
static StringLOGSYSTEM_LOG4J_EMAIL_TO
Log4J configuration
static StringLOGSYSTEM_LOG4J_FILE_BACKUPS
Log4J configuration
static StringLOGSYSTEM_LOG4J_FILE_SIZE
Log4J configuration
static StringLOGSYSTEM_LOG4J_PATTERN
Log4J configuration
static StringLOGSYSTEM_LOG4J_REMOTE_HOST
Log4J configuration
static StringLOGSYSTEM_LOG4J_REMOTE_PORT
Log4J configuration
static StringLOGSYSTEM_LOG4J_SYSLOGD_FACILITY
Log4J configuration
static StringLOGSYSTEM_LOG4J_SYSLOGD_HOST
Log4J configuration
static intNUMBER_OF_PARSERS
The default number of parser instances to create.
static StringOUTPUT_ENCODING
Encoding for the output stream.
static StringPARSER_POOL_SIZE
static StringPARSE_DIRECTIVE_MAXDEPTH
Maximum recursion depth allowed for the #parse directive.
static StringRESOURCE_LOADER
Key used to retrieve the names of the resource loaders to be used.
static StringRESOURCE_MANAGER_CACHE_CLASS
static StringRESOURCE_MANAGER_CLASS
static StringRESOURCE_MANAGER_LOGWHENFOUND
controls if the finding of a resource is logged
static StringRUNTIME_LOG
Location of the velocity log file.
static StringRUNTIME_LOG_ERROR_STACKTRACE
Stack trace output for error messages.
static StringRUNTIME_LOG_INFO_STACKTRACE
Stack trace output for info messages.
static StringRUNTIME_LOG_LOGSYSTEM
externally provided logger
static StringRUNTIME_LOG_LOGSYSTEM_CLASS
class of log system to use
static StringRUNTIME_LOG_REFERENCE_LOG_INVALID
Logging of invalid references.
static StringRUNTIME_LOG_WARN_STACKTRACE
Stack trace output for warning messages.
static StringUBERSPECT_CLASSNAME
key name for uberspector
static StringUNKNOWN_PREFIX
static StringVM_CONTEXT_LOCALSCOPE
switch for local context in VM : default false
static StringVM_LIBRARY
Name of local Velocimacro library template.
static StringVM_LIBRARY_AUTORELOAD
switch for autoloading library-sourced VMs (for development)
static StringVM_MESSAGES_ON
Switch for VM blather : default true.
static StringVM_PERM_ALLOW_INLINE
boolean (true/false) default true : allow inline (in-template) macro definitions
static StringVM_PERM_ALLOW_INLINE_REPLACE_GLOBAL
boolean (true/false) default false : allow inline (in-template) macro definitions to replace existing
static StringVM_PERM_INLINE_LOCAL
Switch for forcing inline macros to be local : default false.
static StringWARN_PREFIX

Field Detail

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 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 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 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
The default number of parser instances to create. Configurable via the parameter named by the PARSER_POOL_SIZE constant.

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 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 String RESOURCE_MANAGER_CACHE_CLASS

RESOURCE_MANAGER_CLASS

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