Package | Description |
---|---|
org.apache.velocity.tools.generic |
Contains a collection of reusable, general-purpose "tools" for Velocity.
|
org.apache.velocity.tools.view |
Contains tools and supporting infrastructure for using
those tools in a servlet environment as well as general
use classes to support use of Velocity as (or in) the
view layer of web applications.
|
Modifier and Type | Method and Description |
---|---|
ValueParser |
ValueParser.getSubkey(String subkey)
subkey getter that returns a map subkey#2 -> value
for every "subkey.subkey2" found entry
|
Modifier and Type | Method and Description |
---|---|
protected void |
XmlTool.configure(ValueParser values)
Configuration.
|
protected void |
ValueParser.configure(ValueParser values)
Does the actual configuration.
|
protected void |
SafeConfig.configure(ValueParser values)
Does the actual configuration.
|
protected void |
ResourceTool.configure(ValueParser parser) |
protected void |
RenderTool.configure(ValueParser parser)
Looks for deprecated parse depth and catch.exceptions properties,
as well as any 'forceThreadSafe' setting.
|
protected void |
LocaleConfig.configure(ValueParser values)
Does the actual configuration.
|
protected void |
LinkTool.configure(ValueParser props)
Configuration
|
protected void |
JsonTool.configure(ValueParser values)
Looks for the "file" parameter and automatically uses
JsonTool.initJSON(String) to parse the file (searched in filesystem current path and classpath) and set the
resulting JSON object as the root node for this instance. |
protected void |
ImportTool.configure(ValueParser values)
Configuration
|
protected void |
ImportSupport.configure(ValueParser values)
Configure import support
|
protected void |
FormatConfig.configure(ValueParser values)
Does the actual configuration.
|
protected void |
FieldTool.configure(ValueParser values) |
protected void |
EscapeTool.configure(ValueParser values)
Does the actual configuration.
|
protected void |
DisplayTool.configure(ValueParser values)
Does the actual configuration.
|
protected void |
DateTool.configure(ValueParser values)
Does the actual configuration.
|
protected void |
ConversionTool.configure(ValueParser values)
Deprecated.
Does the actual configuration.
|
protected void |
ContextTool.configure(ValueParser parser)
Initializes this instance for the current request.
|
protected void |
ComparisonDateTool.configure(ValueParser values)
Calls the superclass implementation, then looks for a bundle name
and any time units to be skipped.
|
protected void |
CollectionTool.configure(ValueParser values)
Does the actual configuration.
|
protected void |
ClassTool.configure(ValueParser values)
Configure this tool
|
protected void |
AlternatorTool.configure(ValueParser parser)
Deprecated.
Looks for a default auto-alternate value in the given params,
if not, set the default to true.
|
protected void |
XmlTool.initializeImportSupport(ValueParser config)
ImportSupport initialization
|
protected void |
JsonTool.initializeImportSupport(ValueParser config)
ImportSupport initialization
|
protected void |
ImportTool.initializeImportSupport(ValueParser config)
Importsupport initialization
|
protected void |
SafeConfig.initLogger(ValueParser params)
Initialize logger.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterTool
Utility class for easy parsing of
ServletRequest parameters. |
Modifier and Type | Method and Description |
---|---|
protected void |
XmlTool.configure(ValueParser values)
Configuration.
|
protected void |
ViewImportSupport.configure(ValueParser values) |
protected void |
ViewContextTool.configure(ValueParser parser) |
protected void |
UiDependencyTool.configure(ValueParser params) |
protected void |
ParameterTool.configure(ValueParser values) |
protected void |
LinkTool.configure(ValueParser props) |
protected void |
JsonTool.configure(ValueParser parser)
Configuration.
|
protected void |
IncludeTool.configure(ValueParser params)
Extracts the default language from the specified
ViewContext , looking first at the Velocity
context, then the servlet context, then lastly at the JVM
default. |
protected void |
ImportTool.configure(ValueParser values) |
protected void |
BreadcrumbTool.configure(ValueParser config)
Configuration
|
protected void |
XmlTool.initializeImportSupport(ValueParser config)
ImportSupport initialization.
|
protected void |
JsonTool.initializeImportSupport(ValueParser config)
Importsupport initialization
|
protected void |
ImportTool.initializeImportSupport(ValueParser config) |
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.