public interface RuntimeConstants extends DeprecatedRuntimeConstants
Modifier and Type | Interface and Description |
---|---|
static class |
RuntimeConstants.SpaceGobbling
Space gobbling modes
|
Modifier and Type | Field and Description |
---|---|
static String |
CHECK_EMPTY_OBJECTS
An empty object (string, collection) or zero number is false.
|
static String |
CONTEXT_AUTOREFERENCE_KEY
Key upon which a context should be accessible within itself
|
static String |
CONTEXT_SCOPE_CONTROL
Used to enable or disable a scope control (false by default):
context.scope_control.<scope_name> = true/false
where scope_name is one of: template, evaluate, foreach, macro, define
or the name of a body macro. |
static String |
CONVERSION_HANDLER_CLASS
key for Conversion Manager class
|
static String |
CONVERSION_HANDLER_INSTANCE
key for Conversion Manager instance
|
static String |
CUSTOM_DIRECTIVES
Vector of custom directives
|
static String |
DEFAULT_PARSER_CLASS
Default parser class
|
static String |
DEFAULT_RUNTIME_DIRECTIVES
Default Runtime properties.
|
static String |
DEFAULT_RUNTIME_LOG_NAME
externally provided logger name.
|
static String |
DEFAULT_RUNTIME_PROPERTIES
Default Runtime properties.
|
static String |
DEFINE_DIRECTIVE_MAXDEPTH
Maximum recursion depth allowed for the #define directive.
|
static String |
DS_RESOURCE_LOADER_DATASOURCE
Datasource loader datasource url
|
static String |
DS_RESOURCE_LOADER_KEY_COLUMN
Datasource loader template key column
|
static String |
DS_RESOURCE_LOADER_TABLE
Datasource loader templates table
|
static String |
DS_RESOURCE_LOADER_TEMPLATE_COLUMN
Datasource loader template content column
|
static String |
DS_RESOURCE_LOADER_TIMESTAMP_COLUMN
Datasource loader template timestamp column
|
static String |
ENCODING_DEFAULT
Default Encoding is UTF-8.
|
static String |
ERRORMSG_END
Deprecated.
if/how errors are displayed is not the concern of the engine, which should throw in all cases
|
static String |
ERRORMSG_START
Deprecated.
if/how errors are displayed is not the concern of the engine, which should throw in all cases
|
static String |
EVENTHANDLER_INCLUDE
The
event_handler.include.class property specifies a list of the
IncludeEventHandler implementations to use. |
static String |
EVENTHANDLER_INVALIDREFERENCES
The
event_handler.invalid_references.class property specifies a list of the
InvalidReferenceEventHandler implementations to use. |
static String |
EVENTHANDLER_INVALIDREFERENCES_NULL
The
event_handler.invalid_references.null property specifies if invalid null references
(aka the value is present in the context or parent object but is null or a method returned null)
trigger invalid reference events (defaults to false). |
static String |
EVENTHANDLER_INVALIDREFERENCES_QUIET
The
event_handler.invalid_references.quiet property specifies if invalid quiet references
(as in $!foo ) trigger events (defaults to false). |
static String |
EVENTHANDLER_INVALIDREFERENCES_TESTED
The
event_handler.invalid_references.tested property specifies if invalid tested references
(as in #if($foo) ) trigger invalid reference events (defaults to false). |
static String |
EVENTHANDLER_METHODEXCEPTION
The
event_handler.method_exception.class property specifies a list of the
MethodExceptionEventHandler implementations to use. |
static String |
EVENTHANDLER_REFERENCEINSERTION
The
event_handler.reference_insertion.class property specifies a list of the
ReferenceInsertionEventHandler implementations to use. |
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 paths in the FileResourceLoader.
|
static String |
INPUT_ENCODING
The default character encoding for the templates.
|
static String |
INTERPOLATE_STRINGLITERALS
Switch for the interpolation facility for string literals.
|
static String |
INTROSPECTOR_RESTRICT_CLASSES
A comma separated list of classes to restrict access to in the SecureIntrospector.
|
static String |
INTROSPECTOR_RESTRICT_PACKAGES
A comma separated list of packages to restrict access to in the SecureIntrospector.
|
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 |
PARSE_DIRECTIVE_MAXDEPTH
Maximum recursion depth allowed for the #parse directive.
|
static String |
PARSER_CLASS
Property specifying the parser class to use
|
static String |
PARSER_HYPHEN_ALLOWED
Allow hyphen in identifiers (backward compatibility option)
|
static String |
PARSER_POOL_CLASS
The
parser.pool.class property specifies the name of the SimplePool
implementation to use. |
static String |
PARSER_POOL_SIZE |
static String |
PROVIDE_SCOPE_CONTROL
Deprecated.
use
context.scope_control.<scope_name> = true/false |
static String |
RESOURCE_LOADER
Key prefix for a specific resource loader properties
|
static String |
RESOURCE_LOADER_CACHE
Resource loader cache property suffix
|
static String |
RESOURCE_LOADER_CHECK_INTERVAL
Resource loader modification check interval property suffix
|
static String |
RESOURCE_LOADER_CLASS
Resource loader class property suffix
|
static String |
RESOURCE_LOADER_IDENTIFIER
token used to identify the loader internally.
|
static String |
RESOURCE_LOADER_INSTANCE
Resource loader instance property suffix
|
static String |
RESOURCE_LOADER_PATHS
File resource loader paths property suffix
|
static String |
RESOURCE_LOADERS
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
The
resource.manager.class property specifies the name of the
ResourceManager implementation to use. |
static String |
RESOURCE_MANAGER_DEFAULTCACHE_SIZE
The
resource.manager.cache.size property specifies the cache upper bound (if relevant). |
static String |
RESOURCE_MANAGER_INSTANCE
The
resource.manager.instance property specifies an existing instance of a
ResourceManager implementation to use |
static String |
RESOURCE_MANAGER_LOGWHENFOUND
controls if the finding of a resource is logged.
|
static String |
RUNTIME_LOG_INSTANCE
externally provided logger.
|
static String |
RUNTIME_LOG_METHOD_CALL_LOG_INVALID
Logging of invalid method calls.
|
static String |
RUNTIME_LOG_NAME
externally provided logger name.
|
static String |
RUNTIME_LOG_REFERENCE_LOG_INVALID
Logging of invalid references.
|
static String |
RUNTIME_LOG_TRACK_LOCATION
Whether to:
|
static String |
RUNTIME_REFERENCES_STRICT
Properties referenced in the template are required to exist the object
|
static String |
RUNTIME_REFERENCES_STRICT_ESCAPE
Indicates we are going to use modified escape behavior in strict mode
|
static String |
RUNTIME_STRING_INTERNING
Whether to use string interning.
|
static String |
SKIP_INVALID_ITERATOR
Whether to throw an exception or just skip bad iterables.
|
static String |
SPACE_GOBBLING
Space gobbling mode
|
static String |
STRICT_MATH
Switch for ignoring nulls in math equations vs throwing exceptions.
|
static String |
UBERSPECT_CLASSNAME
key name for uberspector.
|
static String |
VM_ARGUMENTS_STRICT
if true, throw an exception for wrong number of arguments
|
static String |
VM_BODY_REFERENCE
Defines name of the reference that can be used to get the AST block passed to block macro calls.
|
static String |
VM_ENABLE_BC_MODE
This flag enable the 1.7 backward compatible mode for velocimacros (defaults to false):
preserve argument literals: when displaying null or invalid non-quiet references,
use the argument literal reference instead of the one in the macro block.
|
static String |
VM_LIBRARY
Filename 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_MAX_DEPTH
Specify the maximum depth for macro calls
|
static String |
VM_MESSAGES_ON
Deprecated.
since 2.1
|
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.
|
OLD_CHECK_EMPTY_OBJECTS, OLD_CONTEXT_AUTOREFERENCE_KEY, OLD_CONVERSION_HANDLER_CLASS, OLD_CUSTOM_DIRECTIVES, OLD_DEFINE_DIRECTIVE_MAXDEPTH, OLD_DS_RESOURCE_LOADER_DATASOURCE, OLD_DS_RESOURCE_LOADER_KEY_COLUMN, OLD_DS_RESOURCE_LOADER_TEMPLATE_COLUMN, OLD_DS_RESOURCE_LOADER_TIMESTAMP_COLUMN, OLD_ERRORMSG_END, OLD_ERRORMSG_START, OLD_EVENTHANDLER_INCLUDE, OLD_EVENTHANDLER_INVALIDREFERENCES, OLD_EVENTHANDLER_METHODEXCEPTION, OLD_EVENTHANDLER_REFERENCEINSERTION, OLD_FILE_RESOURCE_LOADER_CACHE, OLD_FILE_RESOURCE_LOADER_PATH, OLD_INPUT_ENCODING, OLD_INTERPOLATE_STRINGLITERALS, OLD_MAX_NUMBER_LOOPS, OLD_PARSE_DIRECTIVE_MAXDEPTH, OLD_RESOURCE_LOADER_CHECK_INTERVAL, OLD_RESOURCE_LOADERS, OLD_RESOURCE_MANAGER_DEFAULTCACHE_SIZE, OLD_RESOURCE_MANAGER_LOGWHENFOUND, OLD_RUNTIME_LOG_REFERENCE_LOG_INVALID, OLD_RUNTIME_REFERENCES_STRICT, OLD_RUNTIME_REFERENCES_STRICT_ESCAPE, OLD_SKIP_INVALID_ITERATOR, OLD_SPACE_GOBBLING, OLD_STRICT_MATH, OLD_UBERSPECT_CLASSNAME, OLD_VM_BODY_REFERENCE, OLD_VM_ENABLE_BC_MODE, OLD_VM_LIBRARY, OLD_VM_LIBRARY_DEFAULT, OLD_VM_MAX_DEPTH, OLD_VM_PERM_ALLOW_INLINE, OLD_VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL, OLD_VM_PERM_INLINE_LOCAL
static final String RUNTIME_LOG_INSTANCE
static final String RUNTIME_LOG_NAME
static final String RUNTIME_LOG_REFERENCE_LOG_INVALID
static final String RUNTIME_LOG_METHOD_CALL_LOG_INVALID
static final String RUNTIME_LOG_TRACK_LOCATION
Whether to:
static final String MAX_NUMBER_LOOPS
static final String SKIP_INVALID_ITERATOR
static final String CHECK_EMPTY_OBJECTS
static final String ERRORMSG_START
static final String ERRORMSG_END
static final String PARSE_DIRECTIVE_MAXDEPTH
static final String DEFINE_DIRECTIVE_MAXDEPTH
@Deprecated static final String PROVIDE_SCOPE_CONTROL
context.scope_control.<scope_name> = true/false
CONTEXT_SCOPE_CONTROL
,
Constant Field Valuesstatic final String CONTEXT_SCOPE_CONTROL
context.scope_control.<scope_name> = true/false
where scope_name is one of: template, evaluate, foreach, macro, define
or the name of a body macro.static final String CUSTOM_DIRECTIVES
static final String RESOURCE_MANAGER_INSTANCE
resource.manager.instance
property specifies an existing instance of a
ResourceManager
implementation to usestatic final String RESOURCE_MANAGER_CLASS
resource.manager.class
property specifies the name of the
ResourceManager
implementation to use.static final String RESOURCE_MANAGER_CACHE_CLASS
resource.manager.cache.class
property specifies the name of the
ResourceCache
implementation to use.static final String RESOURCE_MANAGER_DEFAULTCACHE_SIZE
resource.manager.cache.size
property specifies the cache upper bound (if relevant).static final String RESOURCE_MANAGER_LOGWHENFOUND
static final String RESOURCE_LOADERS
resource.loaders = file,classpath
static final String RESOURCE_LOADER
resource.loader.file.path = ...
static final String FILE_RESOURCE_LOADER_PATH
static final String FILE_RESOURCE_LOADER_CACHE
static final String RESOURCE_LOADER_CLASS
static final String RESOURCE_LOADER_INSTANCE
static final String RESOURCE_LOADER_CACHE
static final String RESOURCE_LOADER_PATHS
static final String RESOURCE_LOADER_CHECK_INTERVAL
static final String DS_RESOURCE_LOADER_DATASOURCE
static final String DS_RESOURCE_LOADER_TABLE
static final String DS_RESOURCE_LOADER_KEY_COLUMN
static final String DS_RESOURCE_LOADER_TEMPLATE_COLUMN
static final String DS_RESOURCE_LOADER_TIMESTAMP_COLUMN
static final String INPUT_ENCODING
static final String ENCODING_DEFAULT
static final String EVENTHANDLER_REFERENCEINSERTION
event_handler.reference_insertion.class
property specifies a list of the
ReferenceInsertionEventHandler
implementations to use.static final String EVENTHANDLER_METHODEXCEPTION
event_handler.method_exception.class
property specifies a list of the
MethodExceptionEventHandler
implementations to use.static final String EVENTHANDLER_INCLUDE
event_handler.include.class
property specifies a list of the
IncludeEventHandler
implementations to use.static final String EVENTHANDLER_INVALIDREFERENCES
event_handler.invalid_references.class
property specifies a list of the
InvalidReferenceEventHandler
implementations to use.static final String EVENTHANDLER_INVALIDREFERENCES_QUIET
event_handler.invalid_references.quiet
property specifies if invalid quiet references
(as in $!foo
) trigger events (defaults to false).
InvalidReferenceEventHandler
implementations to use.static final String EVENTHANDLER_INVALIDREFERENCES_NULL
event_handler.invalid_references.null
property specifies if invalid null references
(aka the value is present in the context or parent object but is null or a method returned null)
trigger invalid reference events (defaults to false).
InvalidReferenceEventHandler
implementations to use.static final String EVENTHANDLER_INVALIDREFERENCES_TESTED
event_handler.invalid_references.tested
property specifies if invalid tested references
(as in #if($foo)
) trigger invalid reference events (defaults to false).
InvalidReferenceEventHandler
implementations to use.static final String VM_LIBRARY
static final String VM_LIBRARY_DEFAULT
static final String VM_LIBRARY_AUTORELOAD
static final String VM_PERM_ALLOW_INLINE
static final String VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL
static final String VM_PERM_INLINE_LOCAL
static final String VM_ARGUMENTS_STRICT
static final String VM_ENABLE_BC_MODE
static final String VM_MAX_DEPTH
static final String VM_BODY_REFERENCE
@Deprecated static final String VM_MESSAGES_ON
Switch for VM blather: default true. Unused since 2.0.
static final String RUNTIME_REFERENCES_STRICT
static final String RUNTIME_REFERENCES_STRICT_ESCAPE
static final String UBERSPECT_CLASSNAME
static final String INTROSPECTOR_RESTRICT_PACKAGES
static final String INTROSPECTOR_RESTRICT_CLASSES
static final String CONVERSION_HANDLER_CLASS
static final String CONVERSION_HANDLER_INSTANCE
static final String PARSER_CLASS
static final String DEFAULT_PARSER_CLASS
static final String PARSER_POOL_CLASS
parser.pool.class
property specifies the name of the SimplePool
implementation to use.static final String PARSER_POOL_SIZE
NUMBER_OF_PARSERS
,
Constant Field Valuesstatic final String PARSER_HYPHEN_ALLOWED
static final String RUNTIME_STRING_INTERNING
static final String INTERPOLATE_STRINGLITERALS
static final String STRICT_MATH
static final String CONTEXT_AUTOREFERENCE_KEY
static final String SPACE_GOBBLING
static final String DEFAULT_RUNTIME_PROPERTIES
static final String DEFAULT_RUNTIME_DIRECTIVES
static final String DEFAULT_RUNTIME_LOG_NAME
static final String RESOURCE_LOADER_IDENTIFIER
static final int NUMBER_OF_PARSERS
PARSER_POOL_SIZE
constant.Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.