|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
LinkTool.setForceRelative(boolean) set to false and sets the
scheme to the "http" if no scheme has been set yet.
SafeConfig insteadLinkTool.addRequestParams(String...)
or LinkTool.addRequestParamsExcept(String...)
or LinkTool.addMissingRequestParams(String...)
ConfigurationUtils.getDefaultTools() configuration to this
the current configuration.
LinkTool.addRequestParams(String...)
or LinkTool.addRequestParamsExcept(String...)
or LinkTool.addMissingRequestParams(String...)
LinkTool.append(Object,Object)
LinkTool.params(Object)
Digester instance, associating them with
our namespace URI (if any).
ToolboxRuleSet to add create-session rule.
Digester instance, associating them with
our namespace URI (if any).
ToolboxRuleSet to add rule for scope element.
Alternators from varying "list" types or individual
arguments.LinkTool.combinePath(java.lang.String, java.lang.String) to add the specified value
to the current LinkTool.getPath() value.
LinkTool.combineQuery(java.lang.String, java.lang.String) to append the specified value
to the current LinkTool.getQuery() value.
Node in the internal Node list for this instance, if that
Node is an Element.
Map of all attributes for the first/sole
Node held internally by this instance.
Alternator from the specified objects.
ViewToolContext insteadXmlTool instance that wraps all the
child Elements of all the current internally held nodes
that are Elements themselves.
Class and its Fields, Methods, and Constructors.Object.
Constructor in an inspected Class.Field in an inspected Class.Method in an inspected Class.ConfigurationCleaner and applies it to the specified
Configuration.
Toolbox that is a combination of
this Toolbox with one or more specified Toolboxes.
Date and Calendar values
in Velocity templates.SortedSet of child Configurations
as well as being a Configuration itself.LoopTool.ActionCondition for this instance to check
against the elements in the iterator being managed.
Propertys
for whatever thing the instance of this class represents.FactoryConfiguration previously
placed in the ServletContext attributes.
SafeConfig.isConfigLocked() returns true, then this method
does nothing; otherwise, if false, this will create a new
ValueParser from the specified Map of params and call
SafeConfig.configure(ValueParser) with it.
XmlTool.read(String) to parse the file and set the
resulting Document as the root node for this
instance.
ViewContext, looking first at the Velocity
context, then the servlet context, then lastly at the JVM
default.
org.apache.velocity.toolbox init-param (servlet or servletContext)
If none, config file optionally at /WEB-INF/toolbox.xml (deprecated conventional location)
If no old toolbox or loadDefaults is true, ConfigurationUtils.getDefaultTools()
ConfigurationUtils.getAutoLoaded()(false)
Config file optionally specified by servletContext org.apache.velocity.tools init-param
Config file optionally at /WEB-INF/tools.xml (new conventional location)
Config file optionally specified by servlet org.apache.velocity.tools init-param
Remember that as these configurations are added on top of each other,
the newer values will always override the older ones.
true if the context contains a value for the specified
reference name (aka context key).
Context data and
meta-data.Cookie to add some fluid API sugar and
a toString() method that renders the Cookie's value
instead of the usual Object.toString() shenanigans.ToolboxFactory configured
with the results of both ConfigurationUtils.getAutoLoaded() and
ConfigurationUtils.findFromSystemProperty().
URI constructor that is appropriate to the opacity.
Data.setTargetClass(java.lang.Class) and
converters (Data.setConverter(java.lang.Class)).DataDate and Calendar
in Velocity templates.URLDecoder.decode(java.lang.String) using the configured character encoding.
Locale to be used when none is specified.
VelocityView
ComparisonDateTool.Comparison between the result of
the second specified date and the first specified date.
LinkTool.getDirectory()
and the query and fragment set to null.
FactoryConfiguration subclass that simplifies the process of
configuring a ToolboxFactory in Java without the use of an
xml or properties configuration file.URLEncoder.encode(java.lang.String) using the configured character encoding.
LinkTool.encode(Object)
FactoryConfiguration.toString(boolean) method, when passed false,
returns a String equal to that returned by a call to toString(false) on this
instance.
RenderTool.setVelocityContext(org.apache.velocity.context.Context) method.
true if there are action messages queued,
otherwise false.
false.
ToolboxFactory.Map of results for a particular class.Field and Class reference for later
retrieval of the value of a field that is not final and may
change at different lookups.ContextTool.getKeys() here so subclasses can add keys too.
FactoryConfiguration.
XmlTool.find(String) with that.
Nodes held by this instance and returns a new
XmlTool instance that wraps those results.
IncludeTool.find(String, String) using the
language extracted from locale.
IncludeTool.find(String, String) using the
default language.
FactoryConfiguration loaded from the path specified
in the "org.apache.velocity.tools" system property (if any).
ServletContext's init-params
for the specified parameter.
LoopTool.ManagedIterator with the specified name
if it is in this instance's iterator stack.
FormatConfig.getFormat().
LocaleConfig.getLocale().
Locale.
Locale, and TimeZone.
Locale and date and/or time styles.
Locale and date and/or time styles.
FormatConfig.getFormat().
LocaleConfig.getLocale().
Locale.
DateTool.getDate().
DateTool.getDate() in standard, localized patterns.
Map of field names to values (or placeholders).
XmlTool that wraps the specified
Node from this instance's internal Node list.
java.util.List of strings for all actionMsgs
queued of the specified category or null
if no messages are queued for the specified category.
java.util.List of strings for all action messages
queued of the specified category or null
if no action messages are queued for the specified category.
MessageTool.get(String key, Object[] args), but takes a
java.util.List instead of an array.
MessageTool.get(String key, Object[] args), but takes a
java.util.List instead of an array.
ComparisonDateTool.Comparison.abbr(boolean abbr) with
true as the argument, thus setting this comparison to be
rendered in abbreviated form.
ActionForm bean associated with
this request of null if none exists.
null if none exists.
java.util.List of strings for all actionMsgs
queued or null if no messages are queued.
Annotations of the Class being inspected.
Annotations of the element being inspected.
LinkTool.param(Object,Object) appends values;
false if the method overwrites existing value(s) for the specified key.
Class object for the specified fully qualified
class name, from this web application's class loader.
FactoryConfiguration including all
ConfigurationUtils.getDefaultTools() as well as any tools that can be
automatically loaded from "tools.xml" or "tools.properties" found
at the root of the classpath or in the current directory.
FactoryConfiguration composed, in order of the
following configurations:
ConfigurationUtils.getDefaultTools() (only if includeDefaults is true)
All "tools.xml" configurations found in the classpath root, in the order found
All "tools.properties" configurations found in the classpath root, in the order found
The "tools.xml" file in the current directory (if any)
The "tools.properties" file in the current directory (if any)
If the includeDefaults parameter is null and no such files described above
can be found, then the configuration returned by this method will be
empty, but it should never be null.
ResourceBundle for the specified baseName
and locale, if such exists.
Calendar instance created using the timezone and
locale returned by getTimeZone() and getLocale().
true if this render() and eval() methods will
catch exceptions thrown during rendering.
LinkTool.encode(java.lang.Object) and
LinkTool.decode(java.lang.Object) methods.
List of ClassTool.ConstructorSubs for each
constructor declared constructor in the inspected class.
LinkTool.getDirectory().
LoopTool.ManagedIterator.next() so far.
Date derived from the result of DateTool.getCalendar()
DateFormat instance for the specified
format, Locale, and TimeZone.
DateFormat instance for the specified
date style, time style, Locale, and TimeZone.
DateFormat instance for the specified
time style, date style, Locale, and TimeZone.
DateFormat instance for the specified
format, Locale, and TimeZone.
DateFormat instance for the specified
date style, time style, Locale, and TimeZone.
DateTool.getCalendar().
FactoryConfiguration.
ComparisonDateTool.difference(java.lang.Object, java.lang.Object).
LinkTool.getPath() value, by just trimming
off all that follows the last "/".
null
if none exist.
$text.key.exists syntax.
List of ClassTool.FieldSubs for each
field declared field in the inspected class.
LoopTool.isFirst().
XmlTool that wraps only the
first Node from this instance's internal Node list.
ComparisonDateTool.Comparison.depth(int depth) to which this comparison is rendered
to the maximum number of time units available to the tool.
FactoryConfiguration including all default
"GenericTools" available and no others.
$messages.get($messages.globalName).
ClassUtils.getIterator(java.lang.Object) is a
nice little try/catch block to prevent exceptions from
escaping into the template.
Set of the available reference keys in the current
context.
List of the key strings in the ResourceBundle
with the specified baseName and locale.
List of the key strings in the specified
ResourceBundles.
LoopTool.isLast().
XmlTool that wraps only the
last Node from this instance's internal Node list.
Locale for this tool.
Locale for this request.
java.util.Locale for the user.
null
if not found.
null if not found.
null
if none exist.
List of ClassTool.MethodSubs for each
method declared method in the inspected class.
DateTool.getCalendar().
XmlTool.get(Object) for a "name" result.
NumberFormat instance for the specified
format and Locale.
NumberFormat instance for the specified
number style and Locale.
NumberFormat instance for the specified
format and Locale.
XmlTool instance that wraps
the parent Element of the first/sole Node
being wrapped by this instance.
Node
represented by this instance.
LinkTool.getQuery()
ComparisonDateTool.whenIs(Object now, Object then) method.
ServletRequest for this instance.
HttpServletRequest for this request.
MessageResources bundle, or the
application's default MessageResources if no bundle is specified.
HttpServletResponse for this request.
PagerTool.getItems().
ServletContext for this request.
PagerTool.getSlip()
will return per request (if available).