`
Clayz
  • 浏览: 298536 次
  • 性别: Icon_minigender_1
  • 来自: 东京
社区版块
存档分类
最新评论

velocity.properties source code

阅读更多

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.    
 
# ----------------------------------------------------------------------------
# R U N T I M E  L O G
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
#  default LogChute to use: default: AvalonLogChute, Log4JLogChute, JdkLogChute
# ----------------------------------------------------------------------------
 
runtime.log.logsystem.class = org.apache.velocity.runtime.log.AvalonLogChute,org.apache.velocity.runtime.log.Log4JLogChute,org.apache.velocity.runtime.log.JdkLogChute
 
# ---------------------------------------------------------------------------
# This is the location of the Velocity Runtime log.
# ----------------------------------------------------------------------------
 
runtime.log = velocity.log
 
# ----------------------------------------------------------------------------
# This controls whether invalid references are logged.
# ----------------------------------------------------------------------------
 
runtime.log.invalid.references = true
 
# ----------------------------------------------------------------------------
# T E M P L A T E  E N C O D I N G
# ----------------------------------------------------------------------------
 
input.encoding=ISO-8859-1
output.encoding=ISO-8859-1
 
# ----------------------------------------------------------------------------
# F O R E A C H  P R O P E R T I E S
# ----------------------------------------------------------------------------
# These properties control how the counter is accessed in the #foreach
# directive. By default the reference $velocityCount will be available
# in the body of the #foreach directive. The default starting value
# for this reference is 1.
# ----------------------------------------------------------------------------
 
directive.foreach.counter.name = velocityCount
directive.foreach.counter.initial.value = 1
directive.foreach.maxloops = -1
 
# ----------------------------------------------------------------------------
# S E T  P R O P E R T I E S
# ----------------------------------------------------------------------------
# These properties control the behavior of #set.
# For compatibility, the default behavior is to disallow setting a reference
# to null.  This default may be changed in a future version.
# ----------------------------------------------------------------------------
 
directive.set.null.allowed = false
 
# ----------------------------------------------------------------------------
# I N C L U D E  P R O P E R T I E S
# ----------------------------------------------------------------------------
# These are the properties that governed the way #include'd content
# is governed.
# ----------------------------------------------------------------------------
 
directive.include.output.errormsg.start = <!-- include error :
directive.include.output.errormsg.end   =  see error log -->
 
# ----------------------------------------------------------------------------
# P A R S E  P R O P E R T I E S
# ----------------------------------------------------------------------------
 
directive.parse.max.depth = 10
 
# ----------------------------------------------------------------------------
# T E M P L A T E  L O A D E R S
# ----------------------------------------------------------------------------
#
#
# ----------------------------------------------------------------------------
 
resource.loader = file
 
file.resource.loader.description = Velocity File Resource Loader
file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
file.resource.loader.path = .
file.resource.loader.cache = false
file.resource.loader.modificationCheckInterval = 2
 
# ----------------------------------------------------------------------------
# VELOCIMACRO PROPERTIES
# ----------------------------------------------------------------------------
# global : name of default global library.  It is expected to be in the regular
# template path.  You may remove it (either the file or this property) if
# you wish with no harm.
# ----------------------------------------------------------------------------
# velocimacro.library = VM_global_library.vm
 
velocimacro.permissions.allow.inline = true
velocimacro.permissions.allow.inline.to.replace.global = false
velocimacro.permissions.allow.inline.local.scope = false
 
velocimacro.context.localscope = false
 
# ----------------------------------------------------------------------------
# VELOCIMACRO STRICT MODE
# ----------------------------------------------------------------------------
# if true, will throw an exception for incorrect number 
# of arguments.  false by default (for backwards compatibility)
# but this option will eventually be removed and will always
# act as if true
# ----------------------------------------------------------------------------
velocimacro.arguments.strict = false
 
 
# ----------------------------------------------------------------------------
# INTERPOLATION
# ----------------------------------------------------------------------------
# turn off and on interpolation of references and directives in string
# literals.  ON by default :)
# ----------------------------------------------------------------------------
runtime.interpolate.string.literals = true
 
 
# ----------------------------------------------------------------------------
# RESOURCE MANAGEMENT
# ----------------------------------------------------------------------------
# Allows alternative ResourceManager and ResourceCache implementations
# to be plugged in.
# ----------------------------------------------------------------------------
resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
 
# ----------------------------------------------------------------------------
# PARSER POOL
# ----------------------------------------------------------------------------
# Selects a custom factory class for the parser pool.  Must implement
# ParserPool.  parser.pool.size is used by the default implementation
# ParserPoolImpl
# ----------------------------------------------------------------------------
 
parser.pool.class = org.apache.velocity.runtime.ParserPoolImpl
parser.pool.size = 20
 
# ----------------------------------------------------------------------------
# EVENT HANDLER
# ----------------------------------------------------------------------------
# Allows alternative event handlers to be plugged in.  Note that each
# class property is actually a comma-separated list of classes (which will
# be called in order).
# ----------------------------------------------------------------------------
# eventhandler.referenceinsertion.class =
# eventhandler.nullset.class =
# eventhandler.methodexception.class =
# eventhandler.include.class =
 
# ----------------------------------------------------------------------------
# PLUGGABLE INTROSPECTOR
# ----------------------------------------------------------------------------
# Allows alternative introspection and all that can of worms brings.
# ----------------------------------------------------------------------------
 
runtime.introspector.uberspect = org.apache.velocity.util.introspection.UberspectImpl
 
 
# ----------------------------------------------------------------------------
# SECURE INTROSPECTOR
# ----------------------------------------------------------------------------
# If selected, prohibits methods in certain classes and packages from being 
# accessed.
# ----------------------------------------------------------------------------
 
introspector.restrict.packages = java.lang.reflect
 
# The two most dangerous classes
 
introspector.restrict.classes = java.lang.Class
introspector.restrict.classes = java.lang.ClassLoader
                
# Restrict these for extra safety
 
introspector.restrict.classes = java.lang.Compiler
introspector.restrict.classes = java.lang.InheritableThreadLocal
introspector.restrict.classes = java.lang.Package
introspector.restrict.classes = java.lang.Process
introspector.restrict.classes = java.lang.Runtime
introspector.restrict.classes = java.lang.RuntimePermission
introspector.restrict.classes = java.lang.SecurityManager
introspector.restrict.classes = java.lang.System
introspector.restrict.classes = java.lang.Thread
introspector.restrict.classes = java.lang.ThreadGroup
introspector.restrict.classes = java.lang.ThreadLocal

分享到:
评论

相关推荐

    velocity.min.js

    利用velocity来定义动画序列,可以直接使用velocity.js中预定义动画开发自己的网页动画,也可以利用velocity.js自定义动画

    velocity.ui.min.js中需要同时引用的库

    使用velocity.js开发序列动画,需要同时引入velocity.ui.min.js库文件

    JavaScript模板引擎Velocity.js.zip

    Velocity.js 是velocity模板语法的javascript实现。Velocity 是基于Java的模板引擎,广泛应用在阿里集 体各个子公司。Velocity模板适用于大量模板使用的场景,支持复杂的逻辑运算,包含 基本数据类型、变量赋值和...

    velocity.ui.min.js

    使用velocity.js开发序列动画,需要同时引入velocity.ui.min.js库文件

    com.springsource.org.apache.velocity.tools.view-1.4.0.jar

    jar包,官方版本,自测可用

    基于velocity.js过渡动画效果的Bootstrap模态窗口和Popover.zip

    这是一款基于velocity.js过渡动画效果的Bootstrap模态窗口和Popover。该效果在Bootstrap模态窗口和Popover的基础上,使用velocity.js来制作模态窗口和Popover打开时的动画过渡效果。

    Velocity.js动画效果库.zip

    Velocity.js 可用于加速 JavaScript 的动画效果。类似 jQuery 的 $.animate() 方法,但无需依赖 jQuery。速度非常快,而且提供一些很酷的动画效果,支持 SVG 和滚动。 示例代码: $element.velocity({  width: ...

    Velocity.js - 来自淘宝的 JS 模板引擎.pdf

    【Velocity.js】是一个JavaScript实现的模板引擎,灵感来源于Java的Velocity模板引擎,广泛应用于阿里巴巴集团的各个子公司。它特别适合处理大量模板的场景,并且具备处理复杂逻辑运算的能力,包括基本数据类型的...

    基于velocity.js过渡动画的Bootstrap模态窗口和Popover特效.zip

    在本资源中,我们主要探讨的是如何利用Velocity.js库来增强Bootstrap框架中的模态窗口(Modal)和Popover组件的过渡动画效果。Velocity.js是一个高性能的JavaScript动画库,它提供了类似于jQuery.animate的功能,但...

    基于jQuery和Velocity.js引擎插件实现手机端动画切换特效源码.zip

    这个源码包"基于jQuery和Velocity.js引擎插件实现手机端动画切换特效"提供了一种解决方案,它结合了两个强大的JavaScript库,jQuery和Velocity.js,来创建流畅、高性能的动画效果。 jQuery是一款广泛使用的...

    Velocity.js SVG+CSS3实现新能源概念车模型绘制动画效果源码.zip

    《Velocity.js与SVG+CSS3在新能源概念车模型动画中的应用》 在现代网页设计中,动态效果的呈现已经成为提升用户体验的重要手段。本资源“Velocity.js SVG+CSS3实现新能源概念车模型绘制动画效果源码”正是这样一种...

    vim velocity插件 velocity.vim

    vim velocity插件 velocity.vim vim异常强大哦

    vue.js动画需要的animate.css和velocity.js

    Velocity.js 是一个高性能的 JavaScript 动画库,它提供了与 jQuery.animate 相似的API,但速度更快,且更加灵活。Velocity 支持多种动画属性,包括颜色、尺寸、位置、透明度等,并且可以与其他JavaScript库(如Vue....

    velocity.pdf

    p.setProperty("class.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); VelocityEngine ve = new VelocityEngine(); ve.init(p); Template t = ve.getTemplate...

    log4j.properties配置详解

    log4j.logger.org.apache.velocity=FATAL log4j.logger.com.canoo.webtest=WARN log4j.logger.org.hibernate.ps.PreparedStatementCache=WARN log4j.logger.org.hibernate=DEBUG log4j.logger.org.logicalcobwebs=...

Global site tag (gtag.js) - Google Analytics