索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- abbr(boolean) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Sets whether or not this comparison is to be rendered in abbreviated form or not.
- ABBR_SUFFIX - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- abs(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- absolute() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a copy of this LinkTool instance that has
LinkTool.setForceRelative(boolean)set to false and sets the scheme to the "http" if no scheme has been set yet. - absolute(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a copy of the link with the specified URI reference either used as or converted to an absolute (non-relative) URI reference.
- acquireLocalURLReader(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Acquire a reader to a local URL - non applicable to the generic version of ImportSupport
- acquireLocalURLString(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Aquire the content of a local URL.
- acquireReader(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Acquire a reader to an URL
- acquireRemoteURLReader(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Acquire a reader to a remote URL
- acquireRemoteURLString(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Aquire the content of a remote URL.
- acquireString(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
- action - 类中的变量 org.apache.velocity.tools.generic.LoopTool.ActionCondition
- ActionCondition(LoopTool.Action, LoopTool.Condition) - 类的构造器 org.apache.velocity.tools.generic.LoopTool.ActionCondition
- add(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- add(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- add(String) - 类中的静态方法 org.apache.velocity.tools.Scope
- addChild(C) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- addClass(Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- addConfiguration(CompoundConfiguration<C>) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- addConfiguration(Configuration) - 类中的方法 org.apache.velocity.tools.config.Configuration
- addConfiguration(Configuration) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- addConfiguration(FactoryConfiguration) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- addData(Data) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- addDefaultTools() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
-
Adds the
ConfigurationUtils.getDefaultTools()configuration to this the current configuration. - addDefaultTools() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- addProperties(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Adds a map of properties from a parent scope to the properties for this tool.
- addProperty(Property) - 类中的方法 org.apache.velocity.tools.config.Configuration
- addRuleInstances(Digester) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
-
Add the set of Rule instances defined in this RuleSet to the specified
Digesterinstance, associating them with our namespace URI (if any). - addSource(String) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- addTool(ToolConfiguration) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- addToolbox(ToolboxConfiguration) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- addToolbox(Toolbox) - 类中的方法 org.apache.velocity.tools.ToolContext
- addToolboxes(ToolContext) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Add toolboxes to contex
- addToolInfo(String, ToolInfo) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- AFTER_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- ALLOWED_TAGS_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- ALLOWSUBKEYS_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ValueParser
-
The key used for specifying whether to support subkeys
- alt(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Returns a configured default value if specified value is null.
- alt(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Returns the second argument if first argument specified is null.
- Alternator - org.apache.velocity.tools.generic中的类
-
Utility class for easily alternating over values in a list.
- Alternator(boolean, Object...) - 类的构造器 org.apache.velocity.tools.generic.Alternator
-
Creates a new Alternator for the specified list with the specified automatic shifting preference.
- Alternator(Object...) - 类的构造器 org.apache.velocity.tools.generic.Alternator
-
Creates a new Alternator for the specified list.
- AlternatorTool - org.apache.velocity.tools.generic中的类
-
已过时。use CSS3 nth-child(even/odd) selectors or #if($foreach.index % 2)
- AlternatorTool() - 类的构造器 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。
- anchor(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a copy of the link with the specified anchor to be added to the end of the generated hyperlink.
- append(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Appends the given value to the end of the current path value.
- append(Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- append(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Appends a new key=value pair to the existing query data.
- APPEND_PARAMS_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- appendAsArray(StringBuilder, Object, Object[]) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
- appendChildren(StringBuilder, String, String) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- appendParams - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- appendPath(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Uses
LinkTool.combinePath(java.lang.String, java.lang.String)to add the specified value to the currentLinkTool.getPath()value. - appendProperties(StringBuilder) - 类中的方法 org.apache.velocity.tools.config.Configuration
- appendQuery(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Uses
LinkTool.combineQuery(java.lang.String, java.lang.String)to append the specified value to the currentLinkTool.getQuery()value. - APPLICATION - 类中的静态变量 org.apache.velocity.tools.Scope
- asList(Object) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- attr(Object) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- attr(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- attributes() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- auto(Object...) - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Make an automatic
Alternatorfrom the specified objects. - AUTO - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- AUTO_ALTERNATE_DEFAULT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。
- autoConfigure(boolean) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Autoconfiguration using the configuration file potentially found in the
org.apache.velocity.toolssystem property. - AutoConverter() - 类的构造器 org.apache.velocity.tools.config.Data.AutoConverter
- autoLoad() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- autoLoad(boolean) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- AUTOLOADED_PROPS_PATH - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
- AUTOLOADED_XML_PATH - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
B
- BEFORE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- begin(String, String, Attributes) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet.PropertyAttributeRule
- bitwiseAnd(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Bitwise And
- bitwiseAnd(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- bitwiseOr(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Bitwise Or
- bitwiseOr(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- bitwiseXOr(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Bitwise XOr
- bitwiseXOr(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- body(Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- body(String, String, String) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet.DataValueInBodyRule
- bool(String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- BOOLEAN - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- br(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Inserts HTML line break tag (<br />) in front of all newline characters of the string value of the specified object and returns the resulting string.
- bundle(String) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- bundle(String) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- BUNDLE_NAME_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The key used for specifying a default locale via toolbox params.
- BUNDLES_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ResourceTool
C
- cacheData(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.Toolbox
- CALENDAR_FIELDS - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- CallableSub() - 类的构造器 org.apache.velocity.tools.generic.ClassTool.CallableSub
- capitalize(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Changes the first character of the string value of the specified object to upper case and returns the resulting string.
- CATCH_EXCEPTIONS_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- ceil(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- cell(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary to ensure that the returned string's length equals the default cell size.
- cell(Object, int) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary to ensure that the returned string's length equals the specified cell size.
- cell(Object, int, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary to ensure that the returned string's length equals the specified cell size.
- cell(Object, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Truncates or pads the string value of the specified object as necessary to ensure that the returned string's length equals the default cell size.
- CELL_LENGTH_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- CELL_SUFFIX_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- charset - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- CHARSET_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- children() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- children() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- classname(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- ClassTool - org.apache.velocity.tools.generic中的类
-
This tool is meant to simplify reflective lookup of information about a
Classand itsFields,Methods, andConstructors. - ClassTool() - 类的构造器 org.apache.velocity.tools.generic.ClassTool
-
Creates an instance with target type of
Object. - ClassTool(ClassTool, Class) - 类的构造器 org.apache.velocity.tools.generic.ClassTool
-
Creates a new instance that inspects the specified type and otherwise shares the configuration values of the specified "parent" ClassTool instance.
- ClassTool.CallableSub<T extends ClassTool.CallableSub> - org.apache.velocity.tools.generic中的类
- ClassTool.ConstructorSub - org.apache.velocity.tools.generic中的类
-
A simplified wrapping interface for inspecting features of a
Constructorin an inspected Class. - ClassTool.FieldSub - org.apache.velocity.tools.generic中的类
-
A simplified wrapping interface for inspecting features of a
Fieldin an inspected Class. - ClassTool.MethodSub - org.apache.velocity.tools.generic中的类
-
A simplified wrapping interface for inspecting features of a
Methodin an inspected Class. - ClassTool.Sub<T extends ClassTool.Sub> - org.apache.velocity.tools.generic中的类
- ClassUtils - org.apache.velocity.tools中的类
-
Repository for common class and reflection methods.
- clean(Configuration) - 类中的方法 org.apache.velocity.tools.config.ConfigurationCleaner
- clean(Configuration) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Convenience method that automatically creates a new
ConfigurationCleanerand applies it to the specifiedConfiguration. - clean(FactoryConfiguration) - 类中的方法 org.apache.velocity.tools.config.ConfigurationCleaner
- clean(ToolboxConfiguration) - 类中的方法 org.apache.velocity.tools.config.ConfigurationCleaner
- cleanProperties(Configuration) - 类中的方法 org.apache.velocity.tools.config.ConfigurationCleaner
- clear() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- close() - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- CollectionTool - org.apache.velocity.tools.generic中的类
-
CollectionTool allows a user to sort a collection (or array, iterator, etc) on any arbitrary set of properties exposed by the objects contained within the collection, and to generate arrays by splitting strings.
- CollectionTool() - 类的构造器 org.apache.velocity.tools.generic.CollectionTool
- CollectionTool.PropertiesComparator - org.apache.velocity.tools.generic中的类
-
Does all of the comparisons
- combine(Map<String, Object>...) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Combine several property maps
- combine(Toolbox...) - 类中的方法 org.apache.velocity.tools.Toolbox
- combinePath(String, String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If end is null, this will return start and vice versa.
- combineQuery(String, String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If the second param is null or empty, this will simply return the first and vice versa.
- compare - 类中的变量 org.apache.velocity.tools.generic.LoopTool.Comparison
- compare(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
- compare(Object, Object, int) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Internal comparison method.
- compareTo(Configuration) - 类中的方法 org.apache.velocity.tools.config.Configuration
- compareTo(Configuration) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- compareTo(Configuration) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- compareTo(Data) - 类中的方法 org.apache.velocity.tools.config.Data
- compareTo(T) - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
-
Compare unique names of inspected and given objects
- Comparison(Object) - 类的构造器 org.apache.velocity.tools.generic.LoopTool.Comparison
- Comparison(Calendar, Calendar, int, int, boolean, Locale) - 类的构造器 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Comparison object constructor
- ComparisonDateTool - org.apache.velocity.tools.generic中的类
- ComparisonDateTool() - 类的构造器 org.apache.velocity.tools.generic.ComparisonDateTool
- ComparisonDateTool.Comparison - org.apache.velocity.tools.generic中的类
- CompoundConfiguration<C extends Configuration> - org.apache.velocity.tools.config中的类
- CompoundConfiguration() - 类的构造器 org.apache.velocity.tools.config.CompoundConfiguration
- condition - 类中的变量 org.apache.velocity.tools.generic.LoopTool.ActionCondition
- condition(LoopTool.ActionCondition) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Adds a new
LoopTool.ActionConditionfor this instance to check against the elements in the iterator being managed. - CONFIG_FACTORY_METHOD - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
- Configuration - org.apache.velocity.tools.config中的类
-
This base configuration class manages a set of
Propertys for whatever thing the instance of this class represents. - Configuration() - 类的构造器 org.apache.velocity.tools.config.Configuration
- ConfigurationCleaner - org.apache.velocity.tools.config中的类
- ConfigurationCleaner() - 类的构造器 org.apache.velocity.tools.config.ConfigurationCleaner
- ConfigurationException - org.apache.velocity.tools.config中的异常错误
- ConfigurationException(String) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(String, Throwable) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(Configuration, String) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(Configuration, String, Throwable) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(Configuration, Throwable) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(Data, String) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(Data, String, Throwable) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationException(Data, Throwable) - 异常错误的构造器 org.apache.velocity.tools.config.ConfigurationException
- ConfigurationUtils - org.apache.velocity.tools.config中的类
-
Utility methods for handling tool configurations.
- configure(Object, Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Actually performs configuration of the newly instantiated tool using the combined final set of configuration properties.
- configure(String) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Configure the tool manager with the provided configuration file
- configure(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
If
SafeConfig.isConfigLocked()returnstrue, then this method does nothing; otherwise, iffalse, this will create a newValueParserfrom the specified Map of params and callSafeConfig.configure(ValueParser)with it. - configure(FactoryConfiguration) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- configure(FactoryConfiguration) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Configure the tool manager with this toolbox factory config
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Looks for a default auto-alternate value in the given params, if not, set the default to true.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Configure this tool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Calls the superclass implementation, then looks for a bundle name and any time units to be skipped.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Initializes this instance for the current request.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.FormatConfig
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Configure import support
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ImportTool
-
Configuration
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
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. - configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Configuration
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.LocaleConfig
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Looks for deprecated parse depth and catch.exceptions properties, as well as any 'forceThreadSafe' setting.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Does the actual configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Configuration.
- CONFIGURE_METHOD_NAME - 类中的静态变量 org.apache.velocity.tools.ToolInfo
- constructor - 类中的变量 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
- constructors - 类中的变量 org.apache.velocity.tools.generic.ClassTool
- ConstructorSub(Constructor) - 类的构造器 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
Constructor inspector constructor
- contains(Object) - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Returns
trueif the context contains a value for the specified reference name (aka context key). - containsKey(Object) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- containsKey(String) - 类中的方法 org.apache.velocity.tools.ToolContext
- containsValue(Object) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- context - 类中的变量 org.apache.velocity.tools.generic.ContextTool
- CONTEXT_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- ContextTool - org.apache.velocity.tools.generic中的类
-
Tool for convenient access to
Contextdata and meta-data. - ContextTool() - 类的构造器 org.apache.velocity.tools.generic.ContextTool
- ConversionTool - org.apache.velocity.tools.generic中的类
-
已过时。use NumberTool for numbers formatting/parsing, DateTool for date/time formatting/parsing, or CollectionTool for toStrings().
- ConversionTool() - 类的构造器 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- ConversionUtils - org.apache.velocity.tools中的类
-
Utility methods for parsing or otherwise converting between types.
- convert(Class, Object) - 类中的方法 org.apache.velocity.tools.config.Data.AutoConverter
- convert(Class, Object) - 类中的方法 org.apache.velocity.tools.config.Data.FieldConverter
- convert(Class, Object) - 类中的方法 org.apache.velocity.tools.config.Data.NumberConverter
- convert(Object) - 类中的方法 org.apache.velocity.tools.config.Data
- convert(String) - 类中的方法 org.apache.velocity.tools.config.Data.AutoConverter
- converter(Class) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- converter(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- convertWith(Converter) - 类中的方法 org.apache.velocity.tools.config.Data
-
This is a convenience method for those doing configuration in java.
- create(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Returns a new instance of the tool.
- createContext() - 类中的方法 org.apache.velocity.tools.ToolManager
-
create new context with configured toolboxes tools
- createContext(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolManager
-
create new context with configured toolboxes tools, using the provided tools properties
- createDocumentBuilderFactory() - 类中的静态方法 org.apache.velocity.tools.XmlUtils
- createFactory() - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a new, standard
ToolboxFactoryconfigured with the results ofConfigurationUtils.findFromSystemProperty(). - createFactory() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- createInfo() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- createToolbox(String) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- createToolbox(String) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Create a toolbox for the given scope
- createURI() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Tries to create a URI from the current port, opacity, scheme, userInfo, host, path, query and fragment set for this instance, using the
URIconstructor that is appropriate to the opacity. - currency(Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("currency", $foo).
- CURRENT_PREFIX - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- CURRENT_TYPE - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- CUSTOM - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
D
- data(String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- data(String, String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- data(String, Data.Type, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- Data - org.apache.velocity.tools.config中的类
-
This class represents configured data.
- Data() - 类的构造器 org.apache.velocity.tools.config.Data
- Data.AutoConverter - org.apache.velocity.tools.config中的类
- Data.FieldConverter - org.apache.velocity.tools.config中的类
- Data.NumberConverter - org.apache.velocity.tools.config中的类
- Data.Type - org.apache.velocity.tools.config中的Enum Class
-
Delineates the standard, known types and their associated target classes (
Data.setTargetClass(java.lang.Class)and converters (Data.setConverter(java.lang.Class)). - dataClass - 类中的变量 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- DataValueInBodyRule() - 类的构造器 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet.DataValueInBodyRule
- DATE_FORMAT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- DateTool - org.apache.velocity.tools.generic中的类
- DateTool() - 类的构造器 org.apache.velocity.tools.generic.DateTool
- DAY_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- debug(String) - 类中的方法 org.apache.velocity.tools.generic.LogTool
- decode(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Delegates decoding of the specified url content to
URLDecoder.decode(java.lang.String)using the configured character encoding. - decodeQueryPercents(String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
This is an ugly (but fast) hack that's needed because URI encodes things that we don't need encoded while not encoding things that we do need encoded.
- DEFAULT_ALTERNATE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- DEFAULT_BUNDLE_NAME - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The default path of the relative format resource bundles.
- DEFAULT_CHARSET - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- DEFAULT_DATE_FORMAT - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- DEFAULT_DELIMITER - 类中的静态变量 org.apache.velocity.tools.generic.MarkupTool
- DEFAULT_FORMAT - 类中的静态变量 org.apache.velocity.tools.generic.FormatConfig
-
The default format to be used when none is specified.
- DEFAULT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.EscapeTool
- DEFAULT_LOCALE - 类中的静态变量 org.apache.velocity.tools.generic.LocaleConfig
-
The default
Localeto be used when none is specified. - DEFAULT_NUMBER_FORMAT - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- DEFAULT_PARSE_DEPTH - 类中的静态变量 org.apache.velocity.tools.generic.RenderTool
-
The maximum number of loops allowed when recursing.
- DEFAULT_SCHEME - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- DEFAULT_SCOPE - 类中的静态变量 org.apache.velocity.tools.ToolboxFactory
- DEFAULT_STRINGS_DELIMITER - 类中的静态变量 org.apache.velocity.tools.generic.CollectionTool
- DEFAULT_STRINGS_DELIMITER - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- DEFAULT_STRINGS_DELIMITER - 类中的静态变量 org.apache.velocity.tools.generic.ValueParser
- DEFAULT_STRINGS_TRIM - 类中的静态变量 org.apache.velocity.tools.generic.CollectionTool
- DEFAULT_STRINGS_TRIM - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- DEFAULT_TAB - 类中的静态变量 org.apache.velocity.tools.generic.MarkupTool
- DEFAULT_TYPE - 类中的静态变量 org.apache.velocity.tools.config.Data
- DefaultKey - org.apache.velocity.tools.config中的Annotation Interface
-
Annotation specifying the default key to use for a tool class in the case none was specified.
- depth(int) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Set the maximum number of units to render for this comparison.
- DEPTH_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The key used for specifying a different default depth via toolbox params.
- DIFF_TYPE - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- difference(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns a
ComparisonDateTool.Comparisonbetween the result of the second specified date and the first specified date. - directory() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new LinkTool instance with the path set to the result of
LinkTool.getDirectory()and the query and fragment set to null. - DisplayTool - org.apache.velocity.tools.generic中的类
-
Provides general utility methods for controlling the display of references.
- DisplayTool() - 类的构造器 org.apache.velocity.tools.generic.DisplayTool
- DisplayTool.Measurements - org.apache.velocity.tools.generic中的类
-
Measures the dimensions of the string given to its constructor.
- div(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- div(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- dumpString(String, boolean) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
This code was pulled from the Apache Harmony project.
- duplicate() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Equivalent to clone, but with no checked exceptions.
- duplicate(boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Equivalent to clone, but with no checked exceptions.
E
- EasyData(Data, Configuration) - 类的构造器 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- EasyFactoryConfiguration - org.apache.velocity.tools.config中的类
-
FactoryConfigurationsubclass that simplifies the process of configuring aToolboxFactoryin Java without the use of an xml or properties configuration file. - EasyFactoryConfiguration() - 类的构造器 org.apache.velocity.tools.config.EasyFactoryConfiguration
- EasyFactoryConfiguration(boolean) - 类的构造器 org.apache.velocity.tools.config.EasyFactoryConfiguration
- EasyFactoryConfiguration(boolean, String) - 类的构造器 org.apache.velocity.tools.config.EasyFactoryConfiguration
- EasyFactoryConfiguration.EasyData - org.apache.velocity.tools.config中的类
- EasyFactoryConfiguration.EasyWrap<C extends Configuration> - org.apache.velocity.tools.config中的类
- EasyWrap(C, Configuration) - 类的构造器 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- encode(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Delegates encoding of the specified url content to
URLEncoder.encode(java.lang.String)using the configured character encoding. - ENGINE_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- entrySet() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- EQUAL_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- equals(Object) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- equals(Object) - 类中的方法 org.apache.velocity.tools.config.Configuration
- equals(Object) - 类中的方法 org.apache.velocity.tools.config.Data
- equals(Object) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
-
This will consider the object equal if it is a FactoryConfiguration and whose
FactoryConfiguration.toString(boolean)method, when passedfalse, returns a String equal to that returned by a call to toString(false) on this instance. - equals(Object) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- equals(Object) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- equals(Object) - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- equals(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
This instance is considered equal to any LinkTool instance whose toString() method returns a String equal to that returned by this instance's toString()
- Equals(Object) - 类的构造器 org.apache.velocity.tools.generic.LoopTool.Equals
- error(String) - 类中的方法 org.apache.velocity.tools.generic.LogTool
- EscapeTool - org.apache.velocity.tools.generic中的类
-
Tool for working with escaping in Velocity templates.
- EscapeTool() - 类的构造器 org.apache.velocity.tools.generic.EscapeTool
- eval(String) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Evaluates a String containing VTL using the context passed to the
RenderTool.setVelocityContext(org.apache.velocity.context.Context)method. - eval(Context, String) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Evaluates a String containing VTL using the current context, and returns the result as a String.
- EXACT_TYPE - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- exclude(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Directs this instance to completely exclude any elements equal to the specified Object.
- EXCLUDE - enum class 中的枚举常量 org.apache.velocity.tools.generic.LoopTool.Action
- exists(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Convenience method for checking whether a certain parameter exists.
- exists(String) - 类中的静态方法 org.apache.velocity.tools.Scope
F
- factory - 类中的变量 org.apache.velocity.tools.ToolManager
- FactoryConfiguration - org.apache.velocity.tools.config中的类
-
This class serves to define configuration info for a
ToolboxFactory. - FactoryConfiguration() - 类的构造器 org.apache.velocity.tools.config.FactoryConfiguration
- FactoryConfiguration(Class, String) - 类的构造器 org.apache.velocity.tools.config.FactoryConfiguration
-
Allows subclasses to construct an instance that uses their classname.
- FactoryConfiguration(String) - 类的构造器 org.apache.velocity.tools.config.FactoryConfiguration
-
Creates a new instance with the specified source name combined with this class's name as the initial source.
- fetch(String) - 类中的方法 org.apache.velocity.tools.generic.ImportTool
-
Returns the supplied URL rendered as a String.
- fetch(String) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Reads and parses a remote or local URL
- fetch(String) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Reads and parses a remote or local URL
- field - 类中的变量 org.apache.velocity.tools.generic.ClassTool.FieldSub
- FIELD - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- FIELD_MAXIMA - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- FieldConverter() - 类的构造器 org.apache.velocity.tools.config.Data.FieldConverter
- fields - 类中的变量 org.apache.velocity.tools.generic.ClassTool
- FieldSub(Field) - 类的构造器 org.apache.velocity.tools.generic.ClassTool.FieldSub
-
FieldSub constructor
- FieldTool - org.apache.velocity.tools.generic中的类
-
This is a simple tools class to allow easy access to static fields in a class, such as string constants from within a template.
- FieldTool() - 类的构造器 org.apache.velocity.tools.generic.FieldTool
- FieldTool.FieldToolSub - org.apache.velocity.tools.generic中的类
-
Holds a
Mapof results for a particular class. - FieldTool.MutableField - org.apache.velocity.tools.generic中的类
- FieldToolSub(Map<String, Object>) - 类的构造器 org.apache.velocity.tools.generic.FieldTool.FieldToolSub
- FileFactoryConfiguration - org.apache.velocity.tools.config中的类
-
Provides support for reading a configuration file from a specified path.
- FileFactoryConfiguration(Class, String) - 类的构造器 org.apache.velocity.tools.config.FileFactoryConfiguration
- fillKeyset(Set) - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Actually do the work of filling in the set of keys for
ContextTool.getKeys()here so subclasses can add keys too. - find(Object) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Converts the specified object to a String and calls
XmlTool.find(String)with that. - find(String) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Searches for a configuration file at the specified path and returns it in the form of a
FactoryConfiguration. - find(String) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- findConfig(String) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Find a configuration file
- findDeclaredMethod(Class, String, Class...) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Find a declared method in a class.
- findFactoryMethod(Class, Class) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Given a factory class and a target class, search for the following methods:
- findFromSystemProperty() - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a
FactoryConfigurationloaded from the path specified in the "org.apache.velocity.tools" system property (if any). - findGetter(String, Class) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
- findGetter(String, Class, boolean) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
- findInClasspath(String) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
- findInClasspath(String, Object) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Searches the classpath for a configuration file matching the specified path.
- findInFileSystem(String) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Searches the file system for a configuration file matching the specified path.
- findIterator(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Finds the
LoopTool.ManagedIteratorwith the specified name if it is in this instance's iterator stack. - findMethod(Class, String, Class...) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Find a callable method in a class
- findSetter(String, Class) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
- findSetter(String, Class, Predicate<Class>) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
- findSetter(String, Class, Predicate<Class>, boolean) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
- findTool(String) - 类中的方法 org.apache.velocity.tools.ToolContext
- findURL(String) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
- floor(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- FORCE_RELATIVE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- forceRelative - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- format(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts the specified object to a date and formats it according to the pattern or style returned by
FormatConfig.getFormat(). - format(Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Converts the specified object to a number and formats it according to the pattern or style returned by
FormatConfig.getFormat(). - format(String, Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts the specified object to a date and returns a formatted string representing that date in the locale returned by
LocaleConfig.getLocale(). - format(String, Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Converts the specified object to a number and returns a formatted string representing that number in the locale returned by
LocaleConfig.getLocale(). - format(String, Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts the specified object to a date and returns a formatted string representing that date in the specified
Locale. - format(String, Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Converts the specified object to a number and returns a formatted string representing that number in the specified
Locale. - format(String, Object, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- format(String, String, Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns the specified date as a string formatted according to the specified date and/or time styles.
- format(String, String, Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns the specified date as a string formatted according to the specified
Localeand date and/or time styles. - format(String, String, Object, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns the specified date as a string formatted according to the specified
Localeand date and/or time styles. - format(Collection, String, String, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Does the actual formatting of the collection.
- FORMAT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.FormatConfig
-
The key used for specifying a default format via tool configuration.
- FormatConfig - org.apache.velocity.tools.generic中的类
-
Implements common logic and constants for tools which allow their default format to be configured.
- FormatConfig() - 类的构造器 org.apache.velocity.tools.generic.FormatConfig
- fragment - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- FRAGMENT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
G
- GENERIC_DEFAULTS_PATH - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
- get() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.SyncedIterator
- get(int) - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Get a value from root array
- get(int) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Get nth element from root json array.
- get(Number) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- get(Object) - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Retrieves the value for the specified reference name (aka context key).
- get(Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Accepts objects and uses their string value as the key.
- get(Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- get(Object) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- get(Object) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
This will first attempt to find an attribute with the specified name and return its value.
- get(Object, String[], Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Retrieve a resource for the specified key from the first of the specified bundles in which a matching resource is found.
- get(Object, String, Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Returns the value for the specified key in the ResourceBundle for the specified basename and locale.
- get(String) - enum class中的静态方法 org.apache.velocity.tools.config.Data.Type
- get(String) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns a formatted string representing the date returned by
DateTool.getDate(). - get(String) - 类中的方法 org.apache.velocity.tools.generic.FieldTool.FieldToolSub
- get(String) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
-
Returns the value for the specified field name as found in the stored
Mapof field names to values (or placeholders). - get(String) - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Get a property from root object
- get(String) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Get a property from root object
- get(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This serves two purposes:
- get(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- get(String) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool
- get(String) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Accepts objects and uses their string value as the key.
- get(String) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- get(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Convenience method for use in Velocity templates.
- get(String) - 类中的方法 org.apache.velocity.tools.Toolbox
- get(String) - 类中的方法 org.apache.velocity.tools.ToolContext
- get(String, String) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns a formatted string representing the date and/or time given by
DateTool.getDate()in standard, localized patterns. - get(String, String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Asks the loop with the specified name for the current value of the specified sync'ed iterator, if any.
- get(String, String) - 类中的方法 org.apache.velocity.tools.Toolbox
- get(String, String, Map<String, Object>) - 类中的方法 org.apache.velocity.tools.Toolbox
- get(String, Map<String, Object>) - 类中的方法 org.apache.velocity.tools.Toolbox
- getAbbr() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
This is equivalent to calling
ComparisonDateTool.Comparison.abbr(boolean abbr)withtrueas the argument, thus setting this comparison to be rendered in abbreviated form. - getAll(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.Toolbox
- getAllowedTags() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getAllowSubkeys() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Are subkeys allowed ?
- getAnchor() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the anchor (internal document reference) set for this link.
- getAnnotations() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns the
Annotations of the Class being inspected. - getAnnotations() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
-
Returns the
Annotations of the element being inspected. - getAppendParams() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns true if
LinkTool.param(Object,Object)appends values; false if the method overwrites existing value(s) for the specified key. - getApplicationToolbox() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Get the toolbox for application scoped tools
- getArray() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Gives acces to the wrapped JsonArray, if any
- getAttribute(Node, String) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
- getAttribute(Node, String, String) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Extracts an attribute from a node.
- getAutoAlternateDefault() - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Returns true if the default for auto-alternating is true.
- getAverage(double...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the average of the values in an array of double values
- getAverage(long...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the average of the values in an array of long values
- getAverage(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the average of the values
- getAverage(Object[], String) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values from a list
- getAverage(Collection) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the average of the values
- getAverage(Collection, String) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the average of the values from a list
- getB() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a backslash (\).
- getBackslash() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a backslash (\).
- getBaseRef() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the full URI of this template without any query data.
- getBoolAttribute(Node, String) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
- getBoolAttribute(Node, String, boolean) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Retrieves an attribute as a boolean.
- getBoolean(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getBoolean(String, boolean) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getBoolean(String, Boolean) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getBooleans(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getBundle(String, Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Retrieves the
ResourceBundlefor the specified baseName and locale, if such exists. - getCalendar() - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns a
Calendarinstance created using the timezone and locale returned by getTimeZone() and getLocale(). - getCatchExceptions() - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Returns
trueif this render() and eval() methods will catch exceptions thrown during rendering. - getCellLength() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getCellSuffix() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getCharacterEncoding() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the configured charset used by the
LinkTool.encode(java.lang.Object)andLinkTool.decode(java.lang.Object)methods. - getChild(C) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- getChildren() - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- getClass(String) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Load a class with a given name.
- getClassname() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getClassname() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get tool class name
- getClasspathResource(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Classpath entry URL builder
- getComparable(Object, String) - 类中的静态方法 org.apache.velocity.tools.generic.CollectionTool
-
Safely retrieves the comparable value for the specified property from the specified object.
- getConfiguration() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- getConfigure() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Try to find a
configure()method. - getConstructors() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a
ListofClassTool.ConstructorSubs for each constructor declared constructor in the inspected class. - getContentTypeAttribute(String, String) - 类中的静态方法 org.apache.velocity.tools.generic.ImportSupport
-
Get the value associated with a content-type attribute.
- getContextPath() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
At this level, this only returns the result of
LinkTool.getDirectory(). - getConvertedValue() - 类中的方法 org.apache.velocity.tools.config.Data
- getConverter() - 类中的方法 org.apache.velocity.tools.config.Data
- getConverter() - enum class中的方法 org.apache.velocity.tools.config.Data.Type
- getCount() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Returns the number of items the current loop has handled.
- getCount() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getCount(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Returns the number of items the specified loop has handled.
- getCurrent() - 类中的方法 org.apache.velocity.tools.generic.Alternator
-
Returns the current item without shifting the list index.
- getD() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a dollar sign ($).
- getData() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- getData() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- getData() - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- getData(String) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
-
Search for Data by key
- getData(Data) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
-
Search for Data by value
- getDate() - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns a
Datederived from the result ofDateTool.getCalendar() - getDateFormat() - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。use
DateToolgetDateFormat() methods - getDateFormat(int, int, Locale, TimeZone) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- getDateFormat(String, String, Locale, TimeZone) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- getDateFormat(String, String, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getDateFormat(String, Locale, TimeZone) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- getDateFormat(String, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getDateStyleAsInt(String) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Checks a string to see if it matches one of the standard DateFormat style patterns: full, long, medium, short, or default.
- getDay() - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getDay(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getDays() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of days between the dates being compared.
- getDefaultAlternate() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getDefaultBundle() - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- getDefaultKey() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
-
Returns the default key value for the set tool class.
- getDefaultTools() - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns the "default"
FactoryConfiguration. - getDepth() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Returns the number of loops currently on the stack.
- getDifference() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Sets this comparison to be rendered as a
ComparisonDateTool.difference(java.lang.Object, java.lang.Object). - getDirectory() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the directory stack in the set
LinkTool.getPath()value, by just trimming off all that follows the last "/". - getDollar() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a dollar sign ($).
- getDouble(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getDouble(String, double) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getDouble(String, Double) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getDoubles(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getE() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders an exclamation mark (!).
- getElement() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
- getElement() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
- getElement() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
- getElement() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- getElements(String, Node) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Search for elements using an XPath expression
- getExact() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Sets this comparison to be rendered as if it where generated using the
ComparisonDateTool.timespan(Object now, Object then)method. - getExactDifference() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Internal helper returning a cached map of all exact bygone time units per field.
- getExclamation() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders an exclamation mark (!).
- getExists() - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- getFactory() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getFactory() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get factory class
- getFactoryClassname() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getFields() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a
ListofClassTool.FieldSubs for each field declared field in the inspected class. - getFieldValue(Class, String) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Given a class and a static field name, get the field value.
- getFieldValue(String) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Given a static field path, aka classname.field, get the field value.
- getFile() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the last section of the path, which is all that follows the final "/".
- getFileResource(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Overridable local file URL builder.
- getFirst() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- getFirst() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getFirst() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- getFormat() - 类中的方法 org.apache.velocity.tools.generic.FormatConfig
-
This returns the configured default format for this tool.
- getFromCache(String, String) - 类中的方法 org.apache.velocity.tools.Toolbox
- getFromClass(Class) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
- getFromClass(String) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Get a specific
FactoryConfigurationclass - getFromInfo(String, String, Map<String, Object>) - 类中的方法 org.apache.velocity.tools.Toolbox
- getFull() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Sets the
ComparisonDateTool.Comparison.depth(int depth)to which this comparison is rendered to the maximum number of time units available to the tool. - getFullName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns the fully-qualified name for the inspected Class.
- getGenericTools() - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a
FactoryConfigurationincluding all default "GenericTools" available and no others. - getGlobalProperty(String) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- getH() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a hash (#).
- getHash() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a hash (#).
- getHasNext() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getHeight() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool.Measurements
- getHost() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Return the host value for this instance.
- getHours() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of hours between the dates being compared.
- getIndex() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Returns the 0-based index of the item the current loop is handling.
- getIndex() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getIndex(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Returns the 0-based index of the item the specified loop is handling.
- getInstance() - 类中的方法 org.apache.velocity.tools.config.ConfigurationUtils
- getInstance() - 类中的方法 org.apache.velocity.tools.ConversionUtils
- getInstance() - 类中的静态方法 org.apache.velocity.tools.Scope
- getInstance(String) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Get an instance of a named class.
- getInt(String, int) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getIntAttribute(Node, String) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
- getIntAttribute(Node, String, int) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
- getInteger(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getInteger(String, Integer) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getInts(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getInvalidScopes() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getIterator(Object) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Retrieves an Iterator from or creates and Iterator for the specified object.
- getIterator(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Wraps access to
ClassUtils.getIterator(java.lang.Object)is a nice little try/catch block to prevent exceptions from escaping into the template. - getJavadocRef() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
- getJavadocRef() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
-
Simply returns the name of the field.
- getJavadocRef() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- getKey() - 类中的方法 org.apache.velocity.tools.config.Data
- getKey() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
-
Returns the key set for this tool.
- getKey() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Should return the key under which this tool has been configured.
- getKey() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get tool key
- getKeys() - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Return a
Setof the available reference keys in the current context. - getKeys() - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Lists available keys
- getKeys() - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- getKeys() - 类中的方法 org.apache.velocity.tools.Toolbox
- getKeys() - 类中的方法 org.apache.velocity.tools.ToolContext
- getKeys(String, String[], Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Returns a
Listof the key strings in the specified ResourceBundles. - getKeys(String, String, Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Returns a
Listof the key strings in the ResourceBundle with the specified baseName and locale. - getLast() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- getLast() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getLast() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- getLastSyncedValues() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getListDelimiter() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getListFinalDelimiter() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getLocale() - 类中的方法 org.apache.velocity.tools.generic.LocaleConfig
-
This returns the configured default
Localefor this tool. - getLocale(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getLocale(String, Locale) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getLocales(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getLog() - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Get logger
- getLog() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Get logger
- getLog(VelocityEngine, String) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
- getLong(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getLong(String, Long) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getMethods() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a
ListofClassTool.MethodSubs for each method declared method in the inspected class. - getMilliseconds() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of milliseconds between the dates being compared.
- getMinutes() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of minutes between the dates being compared.
- getModifiers() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
- getModifiers() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
- getModifiers() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
- getModifiers() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- getMonth() - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getMonth(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getMonths() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the approximate number of months between the dates being compared, or the bygone number of months after the bygone number of years in exact mode.
- getN() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a new line character appropriate for the operating system ("\n" in java).
- getName() - 类中的方法 org.apache.velocity.tools.config.Property
- getName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
- getName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
- getName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns the simple name (i.e. full name with package name removed) of the inspected Class.
- getName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
- getName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- getName() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- getName() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Asks
XmlTool.get(Object)for a "name" result. - getNewline() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a new line character appropriate for the operating system ("\n" in java).
- getNext() - 类中的方法 org.apache.velocity.tools.generic.Alternator
-
Returns the current item, then shifts the list index.
- getNodeName() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Returns the name of the root node.
- getNodes(String, Node) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Search for nodes using an XPath expression
- getNumber(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getNumber(String, Number) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getNumberFormat() - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。use
NumberToolformat - getNumberFormat(int, Locale) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Returns a
NumberFormatinstance for the specified number style andLocale. - getNumberFormat(String, Locale) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Returns a
NumberFormatinstance for the specified format andLocale. - getNumberFormat(String, Locale) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Returns a
NumberFormatinstance for the specified format andLocale. - getNumbers(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getNumberStyleAsInt(String) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Checks a string to see if it matches one of the standard NumberFormat style patterns: number, currency, percent, integer, or default.
- getObject() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Gives access to the wrapped JsonObject, if any
- getPackage() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns the name of the package to which the inspected Class belongs.
- getParameterCount() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Returns the number of expected parameters.
- getParameters() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
- getParameters() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
- getParameters() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
- getParams() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
- getParent() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- getParent() - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- getParent() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- getParseDepth() - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Get the maximum number of loops allowed when recursing.
- getPath() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the current path value for this instance.
- getPath() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Returns the XPath that identifies the first/sole
Noderepresented by this instance. - getPort() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the port value, if any.
- getProperties() - 类中的方法 org.apache.velocity.tools.config.Configuration
- getProperties() - 类中的方法 org.apache.velocity.tools.Toolbox
- getProperties() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get tool properties
- getProperty(Object, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Safely retrieves the specified property from the specified object.
- getProperty(String) - 类中的方法 org.apache.velocity.tools.config.Configuration
- getPropertyMap() - 类中的方法 org.apache.velocity.tools.config.Configuration
- getPropertyName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
-
If this method can be treated as a bean property in Velocity (which does not exactly follow the javabean spec for such things) then it will return the "bean property" equivalent of the method name.
- getProps() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get tools property (synchronized version)
- getProtocol(String) - 类中的静态方法 org.apache.velocity.tools.generic.ImportSupport
-
Returns protocol, or null for a local URL
- getQ() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a double quotation mark (").
- getQuery() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the current query as a string, if any.
- getQuote() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a double quotation mark (").
- getRandom() - 类中的方法 org.apache.velocity.tools.generic.MathTool
- getRaw() - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- getReadOnly() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Is the Map read-only?
- getRelative() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Sets this comparison to be rendered as if it where generated using the
ComparisonDateTool.whenIs(Object now, Object then)method. - getRequestToolbox() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Get the toolbox for request scoped tools
- getResource(String, Object) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Load a given resource.
- getResourceAsStream(String, Object) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
This is a convenience method to load a resource as a stream.
- getResourceReader(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Get a reader of a local resource, first trying with a file (or a webapp resource for the view flavor) then with a classpath entry.
- getResources(String, Object) - 类中的静态方法 org.apache.velocity.tools.ClassUtils
-
Load all resources with the specified name.
- getResourceString(String) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Fetch a local resource, first trying with a file (or a webapp resource for the view flavor) then with a classpath entry.
- getRestrictTo() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getReturns() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
- getRoot() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the "root" for this URI, if it has one.
- getRuleSet() - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Retrieves the rule set Digester should use to parse and load the toolbox for this manager.
- getS() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a single quotation mark (').
- getScheme() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Return the scheme value for this instance.
- getScope() - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- getSeconds() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of seconds between the dates being compared.
- getSelf() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
- getShowDeprecated() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns the current showDeprecated setting.
- getSignature() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Get (and cache) inspected callable signature
- getSingleQuote() - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Renders a single quotation mark (').
- getSkipSetters() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getSource() - 异常错误中的方法 org.apache.velocity.tools.config.ConfigurationException
- getSource() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
-
Returns the original source of this particular instance.
- getSource() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getSource(boolean) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getSources() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
-
Returns the list of sources for this configuration info in order starting from the source name given to this instance (if any) and going to the most recently added source.
- getStaticValue() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
-
Returns the value of the field if and only if it is a static field that has no access restrictions set by the security manager.
- getString(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getString(String, String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getStrings(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getStringsDelimiter() - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Gets the configured strings delimiter
- getStringsDelimiter() - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Gets the delimiter used for separating values in a single String value.
- getStringsTrim() - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Gets whether to trim strings
- getStringsTrim() - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- getSubkey(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
subkey getter that returns a map subkey#2 -> value for every "subkey.subkey2" found entry
- getSubkeys() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
returns the set of all possible first-level subkeys, including complete keys without dots (or returns keySet() if allowSubKeys is false)
- getSubType() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
- getSubType() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
- getSubType() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
- getSubType() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- getSuper() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the superclass of the Class being inspected by this instance.
- getSystemCalendar() - 类中的静态方法 org.apache.velocity.tools.generic.DateTool
- getSystemDate() - 类中的静态方法 org.apache.velocity.tools.generic.DateTool
- getSystemTime() - 类中的静态方法 org.apache.velocity.tools.generic.DateTool
- getTab() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool
- getTarget() - enum class中的方法 org.apache.velocity.tools.config.Data.Type
- getTargetClass() - 类中的方法 org.apache.velocity.tools.config.Data
- getText() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Returns the concatenated text content of all the internally held nodes.
- getText(String, Locale) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Retrieves the specified text resource.
- getThis() - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Returns the context being analyzed by this tool.
- getThis() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Returns the most recent
LoopTool.ManagedIteratorfor this instance. - getTimeZone() - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns the configured
TimeZone. - getTool(String) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- getToolbox() - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Returns a read-only view of the toolbox
Mapfor this context. - getToolbox() - 类中的方法 org.apache.velocity.tools.ToolContext
-
Returns a
Mapof all tools available to this context. - getToolbox(String) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- getToolboxes() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- getToolboxes() - 类中的方法 org.apache.velocity.tools.ToolContext
- getToolboxFactory() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Returns the underlying
ToolboxFactorybeing used. - getToolClass() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getToolClass() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get tool class
- getToolClassMap() - 类中的方法 org.apache.velocity.tools.Toolbox
- getToolClassMap() - 类中的方法 org.apache.velocity.tools.ToolContext
-
Gets a map of keys to classes for all available tools.
- getToolConfiguration() - 异常错误中的方法 org.apache.velocity.tools.config.InvalidScopeException
- getToolInfo(String) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- getToolProperties() - 类中的方法 org.apache.velocity.tools.ToolContext
- getTools() - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- getTotal(double...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(long...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(Object[], String) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values from a list
- getTotal(Collection) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values
- getTotal(Collection, String) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Get the sum of the values from a list
- getTruncateAtWord() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getTruncateLength() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getTruncateSuffix() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- getType() - 类中的方法 org.apache.velocity.tools.config.Data
- getType() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
- getType() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns the
Classbeing inspected by this instance. - getTypes() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
- getUniqueName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Build a unique method/ctor name by appending the simple names of the expected parameter types, thereby distinguishing constructors and overloaded methods with a useful name that would still be a valid method name.
- getUniqueName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.FieldSub
-
Simply returns the name of the field, since field names cannot be overloaded.
- getUniqueName() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- getUri() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If the tool is not in "safe mode"--which it is by default-- this will return the
URIrepresentation of this instance, if any. - getUser() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the
URI.getUserInfo()value for this instance. - getUserCanOverwriteTools() - 类中的方法 org.apache.velocity.tools.ToolContext
-
Default is
true. - getUserCanOverwriteTools() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Get whether template user can overwrite tools keys
- getValidScopes() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- getValue() - 类中的方法 org.apache.velocity.tools.config.Data
- getValue() - 类中的方法 org.apache.velocity.tools.generic.FieldTool.MutableField
- getValue(int, Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getValue(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getValue(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getValue(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Returns the value mapped to the specified key in the
Mapreturned byValueParser.getSource(). - getValue(String, Object) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- getValues() - 类中的方法 org.apache.velocity.tools.generic.ContextTool
-
Return a
Setof the available values in the current context. - getValues(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Returns an array of values.
- getVelocityEngine() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Get the underlying VelocityEngine being used.
- getVelocityView() - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a
FactoryConfigurationincluding all default "velocity-tools-view" tools available as well as the default "GenericTools". - getWeeks() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the number of weeks between the dates being compared.
- getWidth() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool.Measurements
- getYear() - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getYear(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- getYears() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Return the approximate number of years between the dates being compared, or the bygone number of years in exact mode.
H
- handleParamsBoolean(boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
In this class, this method ignores true values.
- hasApplicationTools() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Check whether this tool manager has application scoped tools
- hasChildren() - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- hasConfigure() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get whether this tool has a
configure()method - hasData() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- hasFloatingPoint(String) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- hashCode() - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- hashCode() - 类中的方法 org.apache.velocity.tools.config.Configuration
- hashCode() - 类中的方法 org.apache.velocity.tools.config.Data
- hashCode() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- hashCode() - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- hashCode() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- hashCode() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- hashCode() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the hash code for the result of toString().
- hasNext() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- hasNext() - 类中的方法 org.apache.velocity.tools.generic.XmlTool.NodeIterator
- hasPermission(String) - 类中的方法 org.apache.velocity.tools.ToolInfo
- hasPermission(ToolInfo, String) - 类中的方法 org.apache.velocity.tools.Toolbox
- hasProperties() - 类中的方法 org.apache.velocity.tools.config.Configuration
- hasRequestTools() - 类中的方法 org.apache.velocity.tools.ToolManager
-
Check whether this tool manager has request scoped tools
- hasSubkeys() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Determines whether there are subkeys available in the source map.
- hasTools(String) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- hasTools(String) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Check for the presence of tools in a given scope
- host - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- host(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set as its host.
- HOST_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- HOUR_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- html(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing HTML entities. - HTML_QUERY_DELIMITER - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
-
Standard HTML delimiter for query data ('&')
I
- id(Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- idiv(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Does integer division on the int values of the specified numbers.
- importSupport - 类中的变量 org.apache.velocity.tools.generic.ImportTool
-
ImportSupport utility which provides underlying i/o
- importSupport - 类中的变量 org.apache.velocity.tools.generic.JsonTool
-
ImportSupport utility which provides underlying i/o
- importSupport - 类中的变量 org.apache.velocity.tools.generic.XmlTool
-
ImportSupport utility which provides underlying i/o
- ImportSupport - org.apache.velocity.tools.generic中的类
-
Provides methods to import arbitrary local or remote resources as strings, generic version.
- ImportSupport() - 类的构造器 org.apache.velocity.tools.generic.ImportSupport
- ImportSupport.SafeClosingHttpURLConnectionReader - org.apache.velocity.tools.generic中的类
- ImportTool - org.apache.velocity.tools.generic中的类
-
General-purpose text-importing tool for templates.
- ImportTool() - 类的构造器 org.apache.velocity.tools.generic.ImportTool
- in(Class) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
-
Returns a
FieldTool.FieldToolSubholding aMapof all the public static field names to values (or a placeholder if the value is not final) for the specifiedClass. - in(Object) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
-
Returns a
FieldTool.FieldToolSubholding aMapof all the public static field names to values (or a placeholder if the value is not final) for theClassof the specified Object. - in(String) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
-
Returns a
FieldTool.FieldToolSubholding aMapof all the public static field names to values (or a placeholder if the value is not final) for the specified class(name). - INCLUDE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.FieldTool
-
The key used for specifying which classes should be inspected for public static methods to be made available.
- info(String) - 类中的方法 org.apache.velocity.tools.generic.LogTool
- initializeImportSupport(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.ImportTool
-
Importsupport initialization
- initializeImportSupport(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
ImportSupport initialization
- initializeImportSupport(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
ImportSupport initialization
- initJSON(Reader) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Initialize JSON content from a reader.
- initJSON(String) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Initialize JSON content from a string.
- initLog() - 类中的方法 org.apache.velocity.tools.ToolManager
-
init logger
- initLogger(ValueParser) - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Initialize logger.
- insecure() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the scheme set to "http".
- insert(Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- insert(Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- insert(Object[]) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- insert(Object[]) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- insert(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- insert(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- insert(List) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- insert(List) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- inspect(Class) - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the the specified
Class. - inspect(Class) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
-
Looks for all public, static fields in the specified class and stores their value (if final) or else a
FieldTool.MutableFieldfor in aMapunder the fields' names. - inspect(Object) - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the Class of the specified
Object. - inspect(String) - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns a new ClassTool instance that is inspecting the Class with the specified name.
- INSPECT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ClassTool
- INSTANCE - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
- INSTANCE - 类中的静态变量 org.apache.velocity.tools.ConversionUtils
- integer(Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("integer", $foo).
- internalEval(Context, String) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
- internalGet(String) - 类中的方法 org.apache.velocity.tools.ToolContext
- internalRecurse(Context, String, int) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
- internalSort(List, List) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Internal sorting method.
- InvalidScope - org.apache.velocity.tools.config中的Annotation Interface
- InvalidScopeException - org.apache.velocity.tools.config中的异常错误
- InvalidScopeException(ToolboxConfiguration, ToolConfiguration) - 异常错误的构造器 org.apache.velocity.tools.config.InvalidScopeException
- invoke(Method, Object, Object) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Invoke a single argument method on a tool
- isAbsolute() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance has a scheme value and is not being forced to create relative URIs.
- isAbstract() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared abstract.
- isAbstract() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isArray() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Check if wrapped object is a JsonArray
- isAuto() - 类中的方法 org.apache.velocity.tools.generic.Alternator
- isConfigLocked() - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Returns
trueif theSafeConfig.configure(Map)method has been locked. - isCustom() - enum class中的方法 org.apache.velocity.tools.config.Data.Type
- isDeprecated() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class has been deprecated.
- isDeprecated() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
-
Inspected object deprecation status
- isDeprecated(AnnotatedElement) - 类中的静态方法 org.apache.velocity.tools.generic.ClassTool
-
Check if an annotation deprecates its class
- isEmpty() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- isEmpty() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- isEmpty() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Returns
trueif there are noNodes internally held by this instance. - isFinal() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared final.
- isFinal() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isFirst() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- isFirst() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- isFirst(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- isInterface() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is an interface.
- isInterface() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isLast() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- isLast() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- isLast(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- isList() - enum class中的方法 org.apache.velocity.tools.config.Data.Type
- isNative() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isNull() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Check if wrapped object is null
- isObject() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Check if wrapped object is a JsonObject
- isOpaque() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance represents an opaque URI.
- isOrphan() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- isPrivate() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared private.
- isPrivate() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isProtected() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared protected.
- isProtected() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isPublic() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared public.
- isPublic() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isRelative() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance is being forced to return relative URIs or has a null scheme value.
- isRemoteURL(String) - 类中的静态方法 org.apache.velocity.tools.generic.ImportSupport
-
Returns whether an URL is remote or local
- isSafeMode() - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Returns
trueif this tool is in "safe mode". - isSecure() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns true if this instance's scheme is "https".
- isSkipSetters() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Get whether setters are to be skipped
- isStatic() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is an inner class that has been declared static or is a standard outer class..
- isStatic() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isStrict() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if the inspected Class is declared strictfp (uses strict floating point math).
- isStrict() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isSyncedWith(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- isSynchronized() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isTransient() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isVarArgs() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
- isVarArgs() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.ConstructorSub
-
Returns true if the final parameter for the constructor was declared as a vararg.
- isVarArgs() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
-
Returns true if the final parameter for the method was declared as a vararg.
- isVoid() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.MethodSub
-
Returns true if the return type of this method is void.
- isVolatile() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- isXHTML() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns true if the query delimiter used by this instance is using
&as the delimiter for query data pairs or just using&. - isXmlMimeType(String) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Checkes whether the given mime type is an XML format
- iterator() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Get an iterator.
- iterator() - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Get an iterator.
- iterator() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
J
- java(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing Java String rules. - javadocRef - 类中的变量 org.apache.velocity.tools.generic.ClassTool.CallableSub
- javascript(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing JavaScript String rules. - JsonContent - org.apache.velocity.tools.generic中的类
-
Container for *either* an array *or* an object
- JsonContent(JsonArray) - 类的构造器 org.apache.velocity.tools.generic.JsonContent
-
wraps an array
- JsonContent(JsonObject) - 类的构造器 org.apache.velocity.tools.generic.JsonContent
-
wraps an object
- JsonTool - org.apache.velocity.tools.generic中的类
-
Tool which can parse a JSON file.
- JsonTool() - 类的构造器 org.apache.velocity.tools.generic.JsonTool
K
- Key(String, String[], Object, Object[]) - 类的构造器 org.apache.velocity.tools.generic.ResourceTool.Key
- KEY - 类中的静态变量 org.apache.velocity.tools.Toolbox
-
The key used to place instances in various scopes.
- KEY_CATCH_EXCEPTIONS - 类中的静态变量 org.apache.velocity.tools.generic.RenderTool
-
已过时。
- KEY_FORCE_THREAD_SAFE - 类中的静态变量 org.apache.velocity.tools.generic.RenderTool
- KEY_PARSE_DEPTH - 类中的静态变量 org.apache.velocity.tools.generic.RenderTool
-
已过时。
- keys() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Iterate keys of root object.
- keys() - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Iterate keys of root object.
- keySet() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Get set of root object keys.
- keySet() - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Get set of root object keys.
- keySet() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- keySet() - 类中的方法 org.apache.velocity.tools.ToolContext
L
- LinkTool - org.apache.velocity.tools.generic中的类
-
The LinkTool provides many methods to work with URIs and can help you:
- LinkTool() - 类的构造器 org.apache.velocity.tools.generic.LinkTool
-
Default constructor.
- list(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Formats a collection or array into the form "A, B and C".
- list(Object, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Formats a collection or array into the form "A<delim>B<delim>C".
- list(Object, String, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Formats a collection or array into the form "A<delim>B<finaldelim>C".
- list(Object, String, String, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Formats a specified property of collection or array of objects into the form "A<delim>B<finaldelim>C".
- LIST - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- LIST_AUTO - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- LIST_BOOLEAN - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- LIST_DELIM_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- LIST_FIELD - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- LIST_FINAL_DELIM_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- LIST_NUMBER - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- LIST_STRING - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- load(String) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a
FactoryConfigurationloaded from a configuration file at the specified path. - locale(Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- locale(Object) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- locale(Locale) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Sets the locale used to look up the textual portions of the rendering.
- LOCALE_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- LocaleConfig - org.apache.velocity.tools.generic中的类
-
Implements common logic and constants for tools which allow their default
Localeto be configured. - LocaleConfig() - 类的构造器 org.apache.velocity.tools.generic.LocaleConfig
- LOCK_CONFIG_KEY - 类中的静态变量 org.apache.velocity.tools.generic.SafeConfig
-
The key used for specifying whether or not to prevent templates from reconfiguring this tool.
- log - 类中的变量 org.apache.velocity.tools.generic.SafeConfig
- log - 类中的变量 org.apache.velocity.tools.ToolManager
- LOG_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- LOGGER_NAME_KEY - 类中的静态变量 org.apache.velocity.tools.generic.SafeConfig
-
Key used to explicitely specify the logger name
- LogTool - org.apache.velocity.tools.generic中的类
-
This tool is used to log from within templates.
- LogTool() - 类的构造器 org.apache.velocity.tools.generic.LogTool
- LoopTool - org.apache.velocity.tools.generic中的类
-
A convenience tool to use with #foreach loops.
- LoopTool() - 类的构造器 org.apache.velocity.tools.generic.LoopTool
- LoopTool.Action - org.apache.velocity.tools.generic中的Enum Class
-
Represents an automatic action taken by a
LoopTool.ManagedIteratorwhen aLoopTool.Conditionis satisfied by the subsequent element. - LoopTool.ActionCondition - org.apache.velocity.tools.generic中的类
-
Composition class which associates an
LoopTool.ActionandLoopTool.Conditionfor aLoopTool.ManagedIterator. - LoopTool.Comparison - org.apache.velocity.tools.generic中的类
-
Base condition class for conditions (assumption here is that conditions are all comparative.
- LoopTool.Condition - org.apache.velocity.tools.generic中的接口
-
Represents a function into which a
LoopTool.ManagedIteratorcan pass it's next element to see if anLoopTool.Actionshould be taken. - LoopTool.Equals - org.apache.velocity.tools.generic中的类
-
Simple condition that checks elements in the iterator for equality to a specified Object.
- LoopTool.ManagedIterator - org.apache.velocity.tools.generic中的类
-
Iterator implementation that wraps a standard
Iteratorand allows it to be prematurely stopped, skipped ahead, and associated with a name for advanced nested loop control. - LoopTool.SyncedIterator - org.apache.velocity.tools.generic中的类
-
Simple wrapper to make it easy to keep an arbitray Iterator in sync with a
LoopTool.ManagedIterator.
M
- make(boolean, Object...) - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Returns a new Alternator for the specified list with the specified automatic shifting preference.
- make(Object...) - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Make an automatic
Alternatorfrom the specifed objects. - manage(Iterator, String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- ManagedIterator(String, Iterator, LoopTool) - 类的构造器 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- manual(Object...) - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Make a manual
Alternatorfrom the specified objects. - mark(int) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- markSupported() - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- MarkupTool - org.apache.velocity.tools.generic中的类
-
NOTE: This tools is considered "alpha" quality due to lack of testing and a generally unpolished API.
- MarkupTool() - 类的构造器 org.apache.velocity.tools.generic.MarkupTool
- MarkupTool.Tag - org.apache.velocity.tools.generic中的类
- matches(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ActionCondition
-
Returns true if the specified value meets the set
LoopTool.Condition - matches(MarkupTool.Tag) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- matchType(double, Number...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Takes the original argument(s) and returns the resulting value as an instance of the best matching type (Integer, Long, or Double).
- matchType(Number, double) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- matchType(Number, Number, double) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- MathTool - org.apache.velocity.tools.generic中的类
-
Tool for performing math in Velocity.
- MathTool() - 类的构造器 org.apache.velocity.tools.generic.MathTool
- max(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- max(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- measure(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Returns the
DisplayTool.Measurementsof the string value of the specified object. - Measurements(String) - 类的构造器 org.apache.velocity.tools.generic.DisplayTool.Measurements
- message(String, Object...) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Uses
MessageFormatto format the specified String with the specified arguments. - method - 类中的变量 org.apache.velocity.tools.generic.ClassTool.MethodSub
- methods - 类中的变量 org.apache.velocity.tools.generic.ClassTool
- MethodSub(Method) - 类的构造器 org.apache.velocity.tools.generic.ClassTool.MethodSub
-
Method inspector constructor
- MILLIS_PER_DAY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The number of milliseconds in a day.
- MILLIS_PER_HOUR - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The number of milliseconds in an hour.
- MILLIS_PER_MINUTE - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The number of millseconds in a minute.
- MILLIS_PER_MONTH - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
An approximation of the number of milliseconds in a month.
- MILLIS_PER_SECOND - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The number of milliseconds in a second.
- MILLIS_PER_WEEK - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The number of milliseconds in a week.
- MILLIS_PER_YEAR - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
An approximation of the number of milliseconds in a year.
- MILLISECOND_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- min(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- min(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- MINUTE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- missed(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- missed(List<Object>, List<Object>) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- mod(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Does integer modulus on the int values of the specified numbers.
- MONTH_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- mul(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- mul(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- MutableField(Field, Class) - 类的构造器 org.apache.velocity.tools.generic.FieldTool.MutableField
N
- name(Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- newInstance() - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Creates a new instance for this tool.
- next() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- next() - 类中的方法 org.apache.velocity.tools.generic.XmlTool.NodeIterator
- node() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Returns the first/sole
Nodefrom this instance's internal Node list, if any. - NodeIterator(Iterator<Node>) - 类的构造器 org.apache.velocity.tools.generic.XmlTool.NodeIterator
- nodePath(Node) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Builds the xpath expression for a node (tries to use id/name nodes when possible to get a unique path)
- nodeToString(Node) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
XML Node to string
- normalizeQuery(String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
- NullKeyException - org.apache.velocity.tools.config中的异常错误
- NullKeyException(Data) - 异常错误的构造器 org.apache.velocity.tools.config.NullKeyException
- NullKeyException(ToolConfiguration) - 异常错误的构造器 org.apache.velocity.tools.config.NullKeyException
- number(Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("number", $foo).
- number(String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- NUMBER - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- NUMBER_FORMAT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- NumberConverter() - 类的构造器 org.apache.velocity.tools.config.Data.NumberConverter
- NumberTool - org.apache.velocity.tools.generic中的类
-
Tool for working with
Numberin Velocity templates. - NumberTool() - 类的构造器 org.apache.velocity.tools.generic.NumberTool
O
- ONE_DAY_SUFFIX - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- opaque - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- org.apache.velocity.tools - 程序包 org.apache.velocity.tools
- org.apache.velocity.tools.config - 程序包 org.apache.velocity.tools.config
- org.apache.velocity.tools.generic - 程序包 org.apache.velocity.tools.generic
-
Contains a collection of reusable, general-purpose "tools" for Velocity.
- orphan() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
P
- param(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Adds a key=value pair to the query data.
- params(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
This method can do two different things.
- parent() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- parent(MarkupTool.Tag) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- parents() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- parse(Reader) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Attempts to parse the input xml into a single element.
- parse(String) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
- parse(String) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool
- parse(String) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
- parse(String) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Attempts to parse the input xml into a single element.
- parseBoolean(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Converts a parameter value into a
BooleanSub-classes can override to allow for customized boolean parsing. - parseDate(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- parseDate(String, Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- parseDate(String, String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- parseDate(String, String, Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- parseDate(String, String, Object, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
- parseLocale(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Converts a String value into a Locale.
- parseNumber(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- parseNumber(String, Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
- parseNumber(String, String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- parseNumber(String, String, Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
- parseQuery(String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Uses
LinkTool.normalizeQuery(java.lang.String)to make all delimiters in the specified query string match the current query delimiter and then usesLinkTool.parseQuery(String,String)to parse it according to that same delimiter. - parseQuery(String, String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
This will use the specified query delimiter to parse the specified query string into a map of keys to values.
- parseStringList(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Converts a single String value into an array of Strings by splitting it on the tool's set stringsDelimiter.
- parseStringList(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- path - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- path(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set as its path.
- PATH_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- PATH_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- percent(Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Convenience method equivalent to $number.format("percent", $foo).
- plural(int, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Builds plural form of a passed word if 'value' is plural, otherwise returns 'singular'.
- plural(int, String, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Returns 'plural' parameter if passed 'value' is plural, otherwise 'singular' is returned.
- PLURAL_SUFFIX - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- pop() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Don't let templates call this, but allow subclasses and ManagedIterator to have access.
- port - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- port(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set as its port number.
- PORT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- pow(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- prepareContext(ToolContext) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Prepare context
- prepend(Object) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- printf(String, Object...) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Uses
String.format(Locale,String,Object...)to format the specified String with the specified arguments. - PropertiesComparator(List) - 类的构造器 org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
- PropertiesFactoryConfiguration - org.apache.velocity.tools.config中的类
-
This reads in configuration info formatted as a property file using
ExtProperties. - PropertiesFactoryConfiguration() - 类的构造器 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- PropertiesFactoryConfiguration(String) - 类的构造器 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
-
Creates an instance using the specified string as an identifier to distinguish this instance when debugging.
- property(String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- property(String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- Property - org.apache.velocity.tools.config中的类
-
Simple extension of
Datathat treats "name" as an alias for "key". - Property() - 类的构造器 org.apache.velocity.tools.config.Property
- PropertyAttributeRule() - 类的构造器 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet.PropertyAttributeRule
- propertyClass - 类中的变量 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- propertyKey(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing java.util.Properties rules for escaping property keys. - propertyValue(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing java.util.Properties rules for escaping property values. - put(String, Object) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- put(String, Object) - 类中的方法 org.apache.velocity.tools.ToolContext
- putAll(Map) - 类中的方法 org.apache.velocity.tools.ToolContext
- putAll(Map<? extends String, ? extends Object>) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- putData(String, Object) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- putGlobalProperties(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- putProperties(String, Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolboxFactory
- putProperty(String, Object) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Puts a new property for this tool.
- putToolProperties(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.ToolContext
- putToolProperty(String, Object) - 类中的方法 org.apache.velocity.tools.ToolContext
- putVelocityEngine(VelocityEngine) - 类中的方法 org.apache.velocity.tools.ToolContext
-
Puts the specified VelocityEngine in the tool properties, as well as the Log for that engine.
Q
- query - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- query(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets the specified value as the current query data, after normalizing the pair delimiters.
- QUERY_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- queryDelim - 类中的变量 org.apache.velocity.tools.generic.LinkTool
R
- random(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
This returns a random
Numberwithin the specified range. - read() - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- read(char[]) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- read(char[], int, int) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- read(String) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
-
Reads a configuration file from the specified file path and sets up the configuration from that.
- read(String) - 类中的方法 org.apache.velocity.tools.generic.ImportTool
-
Returns the supplied resource rendered as a String.
- read(String) - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Reads and parses a local JSON resource file
- read(String) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Reads and parses a local resource file
- read(String, boolean) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
- read(String, boolean, Logger) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
- read(URL) - 类中的静态方法 org.apache.velocity.tools.config.ConfigurationUtils
-
Returns a
FactoryConfigurationread from a known configuration file type at the specifiedURL. - read(URL) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
- read(URL, boolean) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
- read(URL, boolean, Logger) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
- read(ExtProperties) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- readData(ExtProperties) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- readImpl(URL) - 类中的方法 org.apache.velocity.tools.config.FileFactoryConfiguration
-
Reads an configuration from an
URL. - readImpl(URL) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
-
Reads an properties file from an
InputStreamand uses it to configure thisFactoryConfiguration. - readImpl(URL) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Reads an XML document from an
URLand uses it to configure thisFactoryConfiguration. - READONLY_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ValueParser
-
The key used for specifying whether to be read-only
- readProperties(ExtProperties, Configuration) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- readToolboxes(ExtProperties) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- readTools(ExtProperties, ToolboxConfiguration) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- ready() - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- recurse(String) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Recursively evaluates a String containing VTL using the current context, and returns the result as a String.
- recurse(Context, String) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Recursively evaluates a String containing VTL using the current context, and returns the result as a String.
- relative() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a copy of this LinkTool instance that has
LinkTool.setForceRelative(boolean)set to true. - relative(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a copy of the link with the specified directory-relative URI reference set as the end of the path and
LinkTool.setForceRelative(boolean)set to true. - RELATIVE_TYPE - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- remove() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
This operation is unsupported.
- remove() - 类中的方法 org.apache.velocity.tools.generic.XmlTool.NodeIterator
- remove(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new LinkTool instance that has any value(s) under the specified key removed from the query data.
- remove(Object) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- remove(String) - 类中的方法 org.apache.velocity.tools.ToolContext
- removeChild(C) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- removeData(Data) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- removeParam(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Removes the query pair(s) with the specified key from the query data and returns the remove value(s), if any.
- removeProperty(String) - 类中的方法 org.apache.velocity.tools.config.Configuration
- removeProperty(Property) - 类中的方法 org.apache.velocity.tools.config.Configuration
- removeTool(ToolConfiguration) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- removeToolbox(ToolboxConfiguration) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- render(Object, Object[]) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
-
Renders the specified resource value and arguments as a String.
- render(String, StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
Render tag
- render_attributes(StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
Render tag attributes
- render_body(String, StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
Render tag body
- render_classes(StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
render tag classes
- render_end(String, StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
Render tag end
- render_id(StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
render tag id
- render_name(StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
Render tag name
- render_start(String, StringBuilder) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
-
Start tag rendering
- RenderTool - org.apache.velocity.tools.generic中的类
-
This tool exposes methods to evaluate the given strings as VTL (Velocity Template Language) using either a pre-configured context or one you provide directly.
- RenderTool() - 类的构造器 org.apache.velocity.tools.generic.RenderTool
- REQUEST - 类中的静态变量 org.apache.velocity.tools.Scope
- reset() - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- RESOURCE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ImportSupport
-
Configuration key for XmlTool and JsonTool, used to specify a local resource
- ResourceTool - org.apache.velocity.tools.generic中的类
-
Tool for accessing ResourceBundles and formatting messages therein.
- ResourceTool() - 类的构造器 org.apache.velocity.tools.generic.ResourceTool
- ResourceTool.Key - org.apache.velocity.tools.generic中的类
-
Internal class used to enable an elegant syntax for accessing resources.
- restrictTo(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- restrictTo(String) - 类中的方法 org.apache.velocity.tools.ToolInfo
- retrieve(Field, Class) - 类中的方法 org.apache.velocity.tools.generic.FieldTool
- root() - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Get JSON root object.
- root() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new LinkTool instance that represents the "root" of the current one, if it has one.
- root() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- round(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Rounds a number to the nearest whole Integer
- roundTo(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
Rounds a number to the specified number of decimal places.
S
- SAFE_MODE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.SafeConfig
-
Many tools interested in locking configure() also have other things they wish to secure.
- SafeConfig - org.apache.velocity.tools.generic中的类
-
Implements common logic and constants for tools which automatically locks down the
public void configure(Map params)method after it is called once. - SafeConfig() - 类的构造器 org.apache.velocity.tools.generic.SafeConfig
- scheme - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- scheme(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set as its scheme.
- SCHEME_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- Scope - org.apache.velocity.tools中的类
-
A specialized constants class to provide some compile-time typo checking and runtime validation for scopes specified in annotations, toolbox configs, etc.
- search(String, Node) - 类中的静态方法 org.apache.velocity.tools.XmlUtils
-
Search for nodes using an XPath expression
- SECOND_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- secure() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the scheme set to "https".
- SECURE_SCHEME - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- self - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- SESSION - 类中的静态变量 org.apache.velocity.tools.Scope
- set(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets a new key=value pair to the existing query data, overwriting any previous pair(s) that have the same key.
- setAllowedTags(String[]) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setAllowSubkeys(boolean) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
allow or disallow subkeys
- setAppendParams(boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets whether or not the
LinkTool.setParam(java.lang.Object, java.lang.Object, boolean)method will override existing query values for the same key or simply append the new value to a list of existing values. - setAuto(boolean) - 类中的方法 org.apache.velocity.tools.generic.Alternator
-
If set to true, the list index will shift automatically after a call to toString().
- setAutoAlternateDefault(boolean) - 类中的方法 org.apache.velocity.tools.generic.AlternatorTool
-
已过时。Sets the default for auto-alternating.
- setCatchExceptions(boolean) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Sets whether or not the render() and eval() methods should catch exceptions during their execution or not.
- setCellLength(int) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setCellSuffix(String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setCharacterEncoding(String) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
- setChildren(Collection<C>) - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- setClass(Class) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
-
已过时。
- setClass(Class) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Set the tool class
- setClass(String) - 类中的方法 org.apache.velocity.tools.config.Data
-
This doesn't take a
Classparameter because this class was not created for all-java configuration. - setClass(String) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setClassname(String) - 类中的方法 org.apache.velocity.tools.config.Data
- setClassname(String) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setConverter(Class) - 类中的方法 org.apache.velocity.tools.config.Data
- setConverter(String) - 类中的方法 org.apache.velocity.tools.config.Data
- setData(Collection<Data>) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- setDataClass(Class) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- setDateFormat(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。use
DateToolsetDateFormat() methods - setDefaultAlternate(String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setDefaultBundle(String) - 类中的方法 org.apache.velocity.tools.generic.ResourceTool
- setFactory(Class) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setFactory(Class) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Set the factory class used to create tool instances.
- setFactoryClassname(String) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setForceRelative(boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets whether or not the
LinkTool.createURI()method should ignore the scheme, user, port and host values for non-opaque URIs, thus makingLinkTool.toString()print the link as a relative one, not an absolute one. - setFormat(String) - 类中的方法 org.apache.velocity.tools.generic.FormatConfig
-
Sets the default format for this instance.
- setFragment(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets the anchor for this instance and treats empty strings like null.
- setFromURI(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If the specified value is null, this will set the scheme, userInfo, host, port, path, query, and fragment all to their null-equivalent values.
- setHost(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets host
- setKey(String) - 类中的方法 org.apache.velocity.tools.config.Data
- setKey(String) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setKey(String) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Sets the key under which this tool has been configured.
- setKey(String) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Set the tool key
- setListDelimiter(String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setListFinalDelimiter(String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setLocale(Locale) - 类中的方法 org.apache.velocity.tools.generic.LocaleConfig
-
Sets the default locale for this instance.
- setLockConfig(boolean) - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Only allow subclass access to this.
- setLog(Logger) - 类中的方法 org.apache.velocity.tools.config.ConfigurationCleaner
- setName(String) - 类中的方法 org.apache.velocity.tools.config.Property
- setNumberFormat(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。use
NumberToolformat - setParam(Object, Object, boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If there is no existing value for this key in the query, it will simply add it and its value to the query.
- setParams(Object, boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If append is false, this simply delegates to
LinkTool.setQuery(java.lang.Object). - setParseDepth(int) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Set the maximum number of loops allowed when recursing.
- setPath(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If this instance is not opaque and the specified value does not start with a '/' character, then that will be prepended automatically.
- setPort(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If the specified object is null, this will set the port value to -1 to indicate that.
- setProperties(Collection<Property>) - 类中的方法 org.apache.velocity.tools.config.Configuration
- setProperties(ExtProperties, Data) - 类中的方法 org.apache.velocity.tools.config.PropertiesFactoryConfiguration
- setProperty(Object, String, Object) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Set a property on a tool instance
- setProperty(String, Object) - 类中的方法 org.apache.velocity.tools.config.Configuration
- setPropertyClass(Class) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- setPropertyMap(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.config.Configuration
- setQuery(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
If the specified value is null, it will set the query to null.
- setReadOnly(boolean) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Set or unset read-only behaviour
- setRestrictTo(String) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setRoot(Node) - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Sets a singular root
Nodefor this instance. - setRuleSet(RuleSet) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Sets the
RuleSetthis loader will use to digest the xml toolbox. - setSafeMode(boolean) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport
-
Sets or clears safe mode
- setSafeMode(boolean) - 类中的方法 org.apache.velocity.tools.generic.SafeConfig
-
Set or clear safe mode.
- setScheme(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
This will treat empty strings like null values and will trim any trailing ':' character.
- setScope(String) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- setSkipSetters(boolean) - 类中的方法 org.apache.velocity.tools.ToolInfo
-
Set whether or not to skip setters.
- setSkipSetters(Boolean) - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- setSource(String) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
-
Sets the name of the original source of this particular instance.
- setSource(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- setStringsDelimiter(String) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sets the delimiter used for separating values in a single String value.
- setStringsDelimiter(String) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
- setStringsDelimiter(String) - 类中的方法 org.apache.velocity.tools.generic.ValueParser
-
Sets the delimiter used for separating values in a single String value.
- setStringsTrim(boolean) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sets whether strings should be trimmed when separated from a delimited string value.
- setStringsTrim(boolean) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
- setTab(String) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool
-
Configuration
- setTargetClass(Class) - 类中的方法 org.apache.velocity.tools.config.Data
- setTimeZone(TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Sets time zone
- setToolboxConfigurationClass(Class) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- setToolboxes(Collection<ToolboxConfiguration>) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- setToolboxFactory(ToolboxFactory) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Sets the underlying ToolboxFactory being used.
- setToolConfigurationClass(Class) - 类中的方法 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- setTools(Collection<ToolConfiguration>) - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- setTruncateAtWord(boolean) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setTruncateLength(int) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setTruncateSuffix(String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
- setType(Class) - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Set the class to inspect
- setType(String) - 类中的方法 org.apache.velocity.tools.config.Data
- setType(Data.Type) - 类中的方法 org.apache.velocity.tools.config.Data
- setUserCanOverwriteTools(boolean) - 类中的方法 org.apache.velocity.tools.ToolContext
-
Set whether or not tool references can be overwritten within a template.
- setUserCanOverwriteTools(boolean) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Set whether template user can overwrite tools keys
- setUserInfo(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Sets user info
- setValue(Object) - 类中的方法 org.apache.velocity.tools.config.Data
- setVelocityContext(Context) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
- setVelocityEngine(VelocityEngine) - 类中的方法 org.apache.velocity.tools.generic.RenderTool
-
Allow user to specify a VelocityEngine to be used in place of the Velocity singleton.
- setVelocityEngine(VelocityEngine) - 类中的方法 org.apache.velocity.tools.ToolManager
-
Sets the underlying VelocityEngine being used.
- setXHTML(boolean) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Controls the delimiter used for separating query data pairs.
- shift() - 类中的方法 org.apache.velocity.tools.generic.Alternator
-
Manually shifts the list index.
- shift() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.SyncedIterator
-
If the sync'ed iterator has any more values, this sets the next() value as the current one.
- SHOW_DEPRECATED_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ClassTool
- signature - 类中的变量 org.apache.velocity.tools.generic.ClassTool.CallableSub
- signature(boolean) - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
-
Internal method to get the inspected callable signature.
- size() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Get size of root object or array.
- size() - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Get size of root object or array.
- size() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- size() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
Returns the number of
Nodes internally held by this instance. - skip(int) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Skips ahead the specified number of iterations (if possible).
- skip(int, String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This tells the specified loop to skip ahead the specified number of iterations.
- skip(long) - 类中的方法 org.apache.velocity.tools.generic.ImportSupport.SafeClosingHttpURLConnectionReader
- SKIPPED_UNITS_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
The key used for specifying time units to be skipped over.
- SkipSetters - org.apache.velocity.tools.config中的Annotation Interface
-
Annotation specifying that
ToolInfoshould only use the public void configure(Map) method for configuration of a tool, and skip over the step of trying to find individual property setters. - sort(Object) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sort a collection, array or map
- sort(Object[]) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sort an array
- sort(Object[], List) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts array on several properties.
- sort(Object, String) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts the collection on a single property.
- sort(Object, Comparator<?>) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts a Collection (or array, or Map's values) using a Comparator.
- sort(Collection) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sort a collection
- sort(Collection<T>, Comparator<T>) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts a Collection using a Comparator.
- sort(Collection, List) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts the collection on several properties.
- sort(Map) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sort map values
- sort(Map<?, T>, Comparator<T>) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts a Map's values using a Comparator.
- sort(Map, List) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts map values on several properties.
- sort(T[], Comparator<T>) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
-
Sorts an array using a Comparator.
- SortTool - org.apache.velocity.tools.generic中的类
-
已过时。use CollectionTool sort methods
- SortTool() - 类的构造器 org.apache.velocity.tools.generic.SortTool
-
已过时。
- space(int) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Returns a string of spaces of the specified length.
- split(String) - 类中的方法 org.apache.velocity.tools.generic.CollectionTool
- split(String) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool
- sql(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringto be suitable to pass to an SQL query. - stop() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Stops this iterator from doing any further iteration.
- stop() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This tells the current loop to stop after the current iteration.
- stop(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Directs this instance to stop iterating immediately prior to any element equal to the specified Object.
- stop(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.stop()except that the stop command is issued only to the loop/iterator with the specified name. - STOP - enum class 中的枚举常量 org.apache.velocity.tools.generic.LoopTool.Action
- stopAll() - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.stop()except that the stop command is issued all the loops being watched by this tool. - stopTo(String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.stop(String)except that the stop command is issued both to the loop/iterator with the specified name and all loops nested within it. - storage - 类中的变量 org.apache.velocity.tools.generic.FieldTool
- STORE_DYNAMIC_KEY - 类中的静态变量 org.apache.velocity.tools.generic.FieldTool
-
The key used for specifying whether or not the tool should store fields in classes dynamically looked up from within a template.
- storeDynamicLookups - 类中的变量 org.apache.velocity.tools.generic.FieldTool
- string(String, Object) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- STRING - enum class 中的枚举常量 org.apache.velocity.tools.config.Data.Type
- STRINGS_DELIMITER_FORMAT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.CollectionTool
- STRINGS_DELIMITER_FORMAT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- STRINGS_DELIMITER_FORMAT_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ValueParser
- STRINGS_TRIM_KEY - 类中的静态变量 org.apache.velocity.tools.generic.CollectionTool
- stripTags(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Removes HTML tags from the string value of the specified object and returns the resulting string.
- stripTags(Object, String...) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Removes all not allowed HTML tags from the string value of the specified object and returns the resulting string.
- sub(Object...) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- sub(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
- Sub() - 类的构造器 org.apache.velocity.tools.generic.ClassTool.Sub
- supportsNewInstance() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
-
Returns true if a call to newInstance() on the Class being inspected is successful; otherwise returns false.
- sync(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Adds another iterator to be kept in sync with the one being managed by this instance.
- sync(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
- sync(Object, String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
-
Adds another iterator to be kept in sync with the one being managed by this instance.
- SyncedIterator(Iterator) - 类的构造器 org.apache.velocity.tools.generic.LoopTool.SyncedIterator
- SYSTEM_PROPERTY_KEY - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
T
- tag(String) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool
- Tag(MarkupTool) - 类的构造器 org.apache.velocity.tools.generic.MarkupTool.Tag
- takesParameters() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
- target(Class) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- test(Object) - 接口中的方法 org.apache.velocity.tools.generic.LoopTool.Condition
- test(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool.Equals
- TIME_UNITS - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
-
Array of all time unit message keys to their millisecond conversion factor.
- timespan(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns a
ComparisonDateTool.Comparisonbetween the result of the second specified date and the first specified date. - TIMEZONE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DateTool
-
The key used for specifying a default timezone via tool configuration.
- toBoolean(Object) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Converts any Object to a boolean using
ConversionUtils.toString(Object)andBoolean.valueOf(String). - toBoolean(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toBooleans(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toBooleans(Collection) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toCalendar(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toCalendar(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Calendarusing the format returned byFormatConfig.getFormat(), the locale returned byLocaleConfig.getLocale()and the time zone returned byDateTool.getTimeZone(). - toCalendar(Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Calendarusing the provided locale, the format returned byFormatConfig.getFormat()and the time zone returned byDateTool.getTimeZone(). - toCalendar(String, Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Calendarusing the provided format, the locale returned byLocaleConfig.getLocale()and the time zone returned byDateTool.getTimeZone(). - toCalendar(String, Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Calendarusing the provided format and locale, and the time zone returned byDateTool.getTimeZone(). - toCalendar(String, Object, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Calendarusing the provided format, locale and time zone. - toCalendar(Date, Locale) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toCalendars(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toCalendars(Collection) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toDate(Object) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toDate(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toDate(Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Dateusing the format returned byFormatConfig.getFormat(),theLocalereturned byLocaleConfig.getLocale(), and theTimeZonereturned byDateTool.getTimeZone()if the object is not already an instance of Date, Calendar, or Long. - toDate(Object, String, Locale, TimeZone) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toDate(Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Dateusing the format returned byFormatConfig.getFormat(),the providedLocale, and theTimeZonereturned byDateTool.getTimeZone()if the object is not already an instance of Date, Calendar, or Long. - toDate(Object, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Dateusing the format returned byFormatConfig.getFormat(),the providedLocale, andTimeZoneif the object is not already an instance of Date, Calendar, or Long. - toDate(String, Object) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Converts an object to an instance of
Dateusing the specified format,theLocalereturned byLocaleConfig.getLocale(), and theTimeZonereturned byDateTool.getTimeZone()if the object is not already an instance of Date, Calendar, or Long. - toDate(String, Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- toDate(String, Object, Locale, TimeZone) - 类中的方法 org.apache.velocity.tools.generic.DateTool
- toDate(String, String, Locale, TimeZone) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toDates(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toDates(Collection) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toDays(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Days in the specified number of milliseconds.
- toDouble(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toDouble(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
已过时。use
NumberTool.toNumber(Object).doubleValue() - toDoubles(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toHours(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Hours in the specified number of milliseconds.
- toInteger(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toInteger(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
已过时。use
NumberTool.toNumber(Object).intValue() - toIntegers(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toInts(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toList(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Convert a singleton or an array as List
- toLocale(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。use
DateTool.toLocale(Object) - toLocale(Object) - 类中的方法 org.apache.velocity.tools.generic.LocaleConfig
- toLocale(String) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Converts a string to a
Locale - toLocales(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toLocales(Collection) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toLocalizedPattern(String, Locale) - 类中的方法 org.apache.velocity.tools.generic.DateTool
-
Returns a localized date format pattern for the given format.
- toLong(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
已过时。use
NumberTool.toNumber(Object).longValue() - toMinutes(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Minutes in the specified number of milliseconds.
- toMonths(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Months in the specified number of milliseconds.
- toNumber(Object) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toNumber(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toNumber(Object) - 类中的方法 org.apache.velocity.tools.generic.MathTool
-
已过时。
- toNumber(Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Converts an object to an instance of
Numberusing the format returned byFormatConfig.getFormat()and theLocalereturned byLocaleConfig.getLocale()if the object is not already an instance of Number. - toNumber(Object, boolean) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Just like
ConversionUtils.toNumber(Object)except that you can tell this to attempt parsing the object as a String by passingtrueas the second parameter. - toNumber(Object, String, Locale) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toNumber(String, Object) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
-
Converts an object to an instance of
Numberusing the specified format and theLocalereturned byLocaleConfig.getLocale()if the object is not already an instance of Number. - toNumber(String, Object, Locale) - 类中的方法 org.apache.velocity.tools.generic.NumberTool
- toNumber(String, String, Locale) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
- toNumbers(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toNumbers(Collection) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- tool(Class) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- tool(Class) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- tool(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- tool(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- tool(String, Class) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- tool(String, Class) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- tool(String, String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyWrap
- tool(String, String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- toolbox - 类中的变量 org.apache.velocity.tools.generic.ContextTool
- toolbox(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration
- Toolbox - org.apache.velocity.tools中的类
-
Instances of this class are typically created by a
ToolboxFactoryon a one-per-scope basis. - Toolbox(Map<String, ToolInfo>) - 类的构造器 org.apache.velocity.tools.Toolbox
- Toolbox(Map<String, ToolInfo>, Map<String, Object>) - 类的构造器 org.apache.velocity.tools.Toolbox
- ToolboxConfiguration - org.apache.velocity.tools.config中的类
-
This class handles configuration info for the Toolbox instances that will eventually be produced by
ToolboxFactory. - ToolboxConfiguration() - 类的构造器 org.apache.velocity.tools.config.ToolboxConfiguration
- toolboxConfigurationClass - 类中的变量 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- ToolboxFactory - org.apache.velocity.tools中的类
-
This class is the central point of action for VelocityTools.
- ToolboxFactory() - 类的构造器 org.apache.velocity.tools.ToolboxFactory
- ToolConfiguration - org.apache.velocity.tools.config中的类
-
This class handles configuration info for tools, including their key, classname, path restriction, and properties.
- ToolConfiguration() - 类的构造器 org.apache.velocity.tools.config.ToolConfiguration
- toolConfigurationClass - 类中的变量 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- ToolContext - org.apache.velocity.tools中的类
-
Contextimplementation that keeps a list ofToolboxes and returns them as requested, using its internal context Map as the dynamic properties passed to the requested tools when they are first created. - ToolContext() - 类的构造器 org.apache.velocity.tools.ToolContext
- ToolContext(Map<String, Object>) - 类的构造器 org.apache.velocity.tools.ToolContext
-
Creates an instance starting with the specified tool properties.
- ToolContext(VelocityEngine) - 类的构造器 org.apache.velocity.tools.ToolContext
-
Creates an instance that automatically has the specified VelocityEngine and related tool properties set.
- ToolInfo - org.apache.velocity.tools中的类
-
Manages data needed to create instances of a tool.
- ToolInfo(String, Class) - 类的构造器 org.apache.velocity.tools.ToolInfo
-
Creates a new instance using the minimum required info necessary for a tool.
- ToolInfo(String, Class, Class) - 类的构造器 org.apache.velocity.tools.ToolInfo
-
Creates a new instance using the minimum required info necessary for a tool.
- TOOLKEY_KEY - 类中的静态变量 org.apache.velocity.tools.ToolContext
- ToolManager - org.apache.velocity.tools中的类
-
Manages tools for non-web applications.
- ToolManager() - 类的构造器 org.apache.velocity.tools.ToolManager
-
Constructs an instance already configured to use the default tools and any configuration specified via a "org.apache.velocity.tools" system property.
- ToolManager(boolean) - 类的构造器 org.apache.velocity.tools.ToolManager
-
Constructs an instance that may or not include default tools, and already configured with any configuration specified via a "org.apache.velocity.tools" system property.
- ToolManager(boolean, boolean) - 类的构造器 org.apache.velocity.tools.ToolManager
-
Constructs an instance that may or not include default tools, and which may or not be already configured with any configuration specified via a "org.apache.velocity.tools" system property.
- toQuery(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Turns the specified key and value into a properly encoded query pair string.
- toQuery(Map) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Converts the map of keys to values into a query string.
- toSeconds(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Seconds in the specified number of milliseconds.
- toString() - 类中的方法 org.apache.velocity.tools.config.Data
- toString() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- toString() - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- toString() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- toString() - 类中的方法 org.apache.velocity.tools.generic.Alternator
-
Returns a string representation of the current item or
nullif the current item is null. - toString() - 类中的方法 org.apache.velocity.tools.generic.ClassTool.Sub
- toString() - 类中的方法 org.apache.velocity.tools.generic.ClassTool
- toString() - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Renders this comparison to a String.
- toString() - 类中的方法 org.apache.velocity.tools.generic.DateTool
- toString() - 类中的方法 org.apache.velocity.tools.generic.DisplayTool.Measurements
- toString() - 类中的方法 org.apache.velocity.tools.generic.FieldTool.FieldToolSub
-
Return the toString() value of the internal results Map for this sub.
- toString() - 类中的方法 org.apache.velocity.tools.generic.JsonContent
-
Convert JSON object or array into string
- toString() - 类中的方法 org.apache.velocity.tools.generic.JsonTool
-
Convert JSON object or array into string
- toString() - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns the full URI reference that's been built with this tool, including the query string and anchor, e.g.
- toString() - 类中的方法 org.apache.velocity.tools.generic.LoopTool.ManagedIterator
- toString() - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
- toString() - 类中的方法 org.apache.velocity.tools.generic.ResourceTool.Key
- toString() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- toString() - 类中的方法 org.apache.velocity.tools.generic.XmlTool
-
If this instance has no XML
Nodes, then this returns the result ofsuper.toString(). - toString(boolean) - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- toString(long, int) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool.Comparison
-
Converts the specified positive duration of milliseconds into larger units up to the specified number of positive units, beginning with the largest positive unit.
- toString(Object) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Converts objects to String in a more Tools-ish way than String.valueOf(Object), especially with nulls, Arrays and Collections.
- toString(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。Converts objects to String in a more Tools-ish way than String.valueOf(Object), especially with nulls, Arrays and Collections.
- toString(Collection) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Returns the first value as a String, if any; otherwise returns null.
- toStrings(Object) - 类中的方法 org.apache.velocity.tools.generic.ConversionTool
-
已过时。
- toURI(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Turns the specified object into a string and thereby a URI.
- toURL(String) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Converts a string to a
URL. - toURL(String, Object) - 类中的静态方法 org.apache.velocity.tools.ConversionUtils
-
Converts a string to a
URL. - toWeeks(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Weeks in the specified number of milliseconds.
- toYears(long) - 类中的静态方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns the number of whole Years in the specified number of milliseconds.
- trace(String) - 类中的方法 org.apache.velocity.tools.generic.LogTool
- truncate(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the configured max length in characters (default is 30 characters).
- truncate(Object, int) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to 'maxLength' characters.
- truncate(Object, int, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the specified max length in characters.
- truncate(Object, int, String, boolean) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the latest complete word within the specified maxLength.
- truncate(Object, String) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Limits the string value of 'truncateMe' to the configured max length in characters (default is 30 characters).
- TRUNCATE_AT_WORD_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- TRUNCATE_LENGTH_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- TRUNCATE_SUFFIX_KEY - 类中的静态变量 org.apache.velocity.tools.generic.DisplayTool
- type - 类中的变量 org.apache.velocity.tools.generic.ClassTool
- type(String) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- type(Data.Type) - 类中的方法 org.apache.velocity.tools.config.EasyFactoryConfiguration.EasyData
- TYPE_ASCENDING_SHORT - 类中的静态变量 org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
- TYPE_DESCENDING_SHORT - 类中的静态变量 org.apache.velocity.tools.generic.CollectionTool.PropertiesComparator
U
- uncapitalize(Object) - 类中的方法 org.apache.velocity.tools.generic.DisplayTool
-
Changes the first character of the string value of the specified object to lower case and returns the resulting string.
- unicode(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Converts the specified Unicode code point and/or escape sequence into the associated Unicode character.
- uniqueName - 类中的变量 org.apache.velocity.tools.generic.ClassTool.CallableSub
- UNIT_KEYS - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- unurl(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Unscape the characters in a
Stringencoded as an HTTP parameter value. - uri(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a copy of the link with the given URI reference set.
- URI_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- url(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escape the characters in a
Stringto be suitable to use as an HTTP parameter value. - URL_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ImportSupport
-
Configuration key for ImportTool, XmlTool and JsonTool, used to specify a local or remote source URL
- USE_CLASS_LOGGER_KEY - 类中的静态变量 org.apache.velocity.tools.generic.SafeConfig
-
Key used to specify whether or not tools shall use loggers named after the tools classes.
- user - 类中的变量 org.apache.velocity.tools.generic.LinkTool
- user(Object) - 类中的方法 org.apache.velocity.tools.generic.LinkTool
-
Returns a new instance with the specified value set as its user info.
- USER_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
V
- VALID_SCHEME_CHARS - 类中的静态变量 org.apache.velocity.tools.generic.ImportSupport
- validate() - 类中的方法 org.apache.velocity.tools.config.CompoundConfiguration
- validate() - 类中的方法 org.apache.velocity.tools.config.Configuration
- validate() - 类中的方法 org.apache.velocity.tools.config.Data
- validate() - 类中的方法 org.apache.velocity.tools.config.FactoryConfiguration
- validate() - 类中的方法 org.apache.velocity.tools.config.ToolboxConfiguration
- validate() - 类中的方法 org.apache.velocity.tools.config.ToolConfiguration
- ValidScope - org.apache.velocity.tools.config中的Annotation Interface
- value() - enum class中的方法 org.apache.velocity.tools.config.Data.Type
- value() - annotation interface 中的元素 org.apache.velocity.tools.config.DefaultKey
- value() - annotation interface 中的元素 org.apache.velocity.tools.config.InvalidScope
- value() - annotation interface 中的元素 org.apache.velocity.tools.config.ValidScope
- valueOf(String) - enum class中的静态方法 org.apache.velocity.tools.config.Data.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 org.apache.velocity.tools.generic.LoopTool.Action
-
Returns the enum constant of this class with the specified name.
- ValueParser - org.apache.velocity.tools.generic中的类
-
Utility class for easy parsing of String values held in a Map.
- ValueParser() - 类的构造器 org.apache.velocity.tools.generic.ValueParser
- ValueParser(Map<String, Object>) - 类的构造器 org.apache.velocity.tools.generic.ValueParser
- values() - enum class中的静态方法 org.apache.velocity.tools.config.Data.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 org.apache.velocity.tools.generic.LoopTool.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - 类中的方法 org.apache.velocity.tools.generic.ValueParser
- values() - 类中的静态方法 org.apache.velocity.tools.Scope
- velocity - 类中的变量 org.apache.velocity.tools.ToolManager
- velocity(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing "poor man's escaping" for Velocity templates by replacing all '$' characters with '${esc.d}' and all '#' characters with '${esc.h}'. - VIEW_DEFAULTS_PATH - 类中的静态变量 org.apache.velocity.tools.config.ConfigurationUtils
W
- warn(String) - 类中的方法 org.apache.velocity.tools.generic.LogTool
- watch(Object) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
Tells the LoopTool to watch the specified Array, Collection, Map, Iterator, Iterable, Enumeration or POJO with an iterator() method while the template iterates over the values within it.
- watch(Object, String) - 类中的方法 org.apache.velocity.tools.generic.LoopTool
-
This is just like
LoopTool.watch(Object)except that it also takes a name which is given to theLoopTool.ManagedIteratorthat is returned. - WEEK_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
- whenIs(Object) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns a
ComparisonDateTool.Comparisonbetween the result ofDateTool.getCalendar()and the specified date. - whenIs(Object, Object) - 类中的方法 org.apache.velocity.tools.generic.ComparisonDateTool
-
Returns a
ComparisonDateTool.Comparisonbetween the second specified date and the first specified date. - wrap(String) - 类中的方法 org.apache.velocity.tools.generic.MarkupTool.Tag
X
- XHTML_MODE_KEY - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
- XHTML_QUERY_DELIMITER - 类中的静态变量 org.apache.velocity.tools.generic.LinkTool
-
XHTML delimiter for query data ('&')
- xml(Object) - 类中的方法 org.apache.velocity.tools.generic.EscapeTool
-
Escapes the characters in a
Stringusing XML entities. - XmlFactoryConfiguration - org.apache.velocity.tools.config中的类
-
This reads in configuration info formatted as an XML file using Commons-
Digester. - XmlFactoryConfiguration() - 类的构造器 org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Creates an instance
- XmlFactoryConfiguration(String) - 类的构造器 org.apache.velocity.tools.config.XmlFactoryConfiguration
-
Creates an instance using the specified string as an identifier to distinguish this instance when debugging
- XmlFactoryConfigurationRuleSet - org.apache.velocity.tools.config中的类
-
This provides set of
Rules used by Commons-Digesterto process configuration info formatted as XML. - XmlFactoryConfigurationRuleSet() - 类的构造器 org.apache.velocity.tools.config.XmlFactoryConfigurationRuleSet
- XmlFactoryConfigurationRuleSet.DataValueInBodyRule - org.apache.velocity.tools.config中的类
-
Rule for adding configuration properties
- XmlFactoryConfigurationRuleSet.PropertyAttributeRule - org.apache.velocity.tools.config中的类
- XmlTool - org.apache.velocity.tools.generic中的类
-
Tool for reading/navigating XML files, with XPath expressions support.
- XmlTool() - 类的构造器 org.apache.velocity.tools.generic.XmlTool
-
Default constructor.
- XmlTool(List<Node>) - 类的构造器 org.apache.velocity.tools.generic.XmlTool
-
Builds an XmlTool around a nodes list.
- XmlTool(Node) - 类的构造器 org.apache.velocity.tools.generic.XmlTool
-
Builds an XmlTool around a node.
- XmlTool.NodeIterator - org.apache.velocity.tools.generic中的类
-
Iterator implementation that wraps a Node list iterator to return new XmlTool instances for each item in the wrapped iterator.s
- XmlUtils - org.apache.velocity.tools中的类
-
Utility class for simplifying parsing of xml documents.
Y
- YEAR_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
Z
- ZERO_KEY - 类中的静态变量 org.apache.velocity.tools.generic.ComparisonDateTool
All Classes and Interfaces|常量字段值|所有程序包|序列化表格