- AbstractJSONLikeFormat - Class in freemarker.core
-
Defines the methods in
CFormat
that are the same for all JSON-like languages.
- ACCURACY_HOURS - Static variable in class freemarker.template.utility.DateUtil
-
Show hours (24h); always 2 digits, like 00
, 05
, etc.
- ACCURACY_MILLISECONDS - Static variable in class freemarker.template.utility.DateUtil
-
Show hours, minutes and seconds and up to 3 fraction second digits, without trailing 0-s in the fraction part.
- ACCURACY_MILLISECONDS_FORCED - Static variable in class freemarker.template.utility.DateUtil
-
Show hours, minutes and seconds and exactly 3 fraction second digits (even if it's 000)
- ACCURACY_MINUTES - Static variable in class freemarker.template.utility.DateUtil
-
Show hours and minutes (even if minutes is 00).
- ACCURACY_SECONDS - Static variable in class freemarker.template.utility.DateUtil
-
Show hours, minutes and seconds (even if seconds is 00).
- adapt(Object, ObjectWrapperAndUnwrapper) - Static method in class freemarker.template.DefaultArrayAdapter
-
Factory method for creating new adapter instances.
- adapt(Enumeration<?>, ObjectWrapper) - Static method in class freemarker.template.DefaultEnumerationAdapter
-
Factory method for creating new adapter instances.
- adapt(Iterable<?>, ObjectWrapperWithAPISupport) - Static method in class freemarker.template.DefaultIterableAdapter
-
Factory method for creating new adapter instances.
- adapt(Iterator, ObjectWrapper) - Static method in class freemarker.template.DefaultIteratorAdapter
-
Factory method for creating new adapter instances.
- adapt(List, RichObjectWrapper) - Static method in class freemarker.template.DefaultListAdapter
-
Factory method for creating new adapter instances.
- adapt(Map, ObjectWrapperWithAPISupport) - Static method in class freemarker.template.DefaultMapAdapter
-
Factory method for creating new adapter instances.
- adapt(Collection, ObjectWrapperWithAPISupport) - Static method in class freemarker.template.DefaultNonListCollectionAdapter
-
Factory method for creating new adapter instances.
- AdapterTemplateModel - Interface in freemarker.template
-
A
TemplateModel
that can be unwrapped and then it considers a provided desired (hint) class.
- add(Number, Number) - Method in class freemarker.core.ArithmeticEngine
-
- add(Number, Number) - Method in class freemarker.core.ArithmeticEngine.BigDecimalEngine
-
- add(Number, Number) - Method in class freemarker.core.ArithmeticEngine.ConservativeEngine
-
- add(Object) - Method in class freemarker.template.SimpleSequence
-
Adds an arbitrary object to the end of this sequence.
- add(boolean) - Method in class freemarker.template.SimpleSequence
-
- add_escapes(String) - Method in exception freemarker.core.ParseException
-
Used to convert raw characters to their escaped version
when these raw version cannot be used as part of an ASCII
string literal.
- addAutoImport(String, String) - Method in class freemarker.core.Configurable
-
Adds an invisible #import templateName as namespaceVarName
at the beginning of the
main template (that's the top-level template that wasn't included/imported from another template).
- addAutoInclude(String) - Method in class freemarker.core.Configurable
-
Adds an invisible #include templateName
at the beginning of the main template (that's the
top-level template that wasn't included/imported from another template).
- addBreakpoint(Breakpoint) - Method in interface freemarker.debug.Debugger
-
Adds a breakpoint
- addConfiguredJython(JythonAntTask) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- addConfiguredPrepareEnvironment(JythonAntTask) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- addConfiguredPrepareModel(JythonAntTask) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- addDebuggerListener(DebuggerListener) - Method in interface freemarker.debug.Debugger
-
Adds a listener for debugger events.
- addImport(LibraryLoad) - Method in class freemarker.template.Template
-
- addMacro(Macro) - Method in class freemarker.template.Template
-
- addPrefixNSMapping(String, String) - Method in class freemarker.template.Template
-
- addText(String) - Method in class freemarker.ext.ant.JythonAntTask
-
- AdhocTest2 - Class in freemarker.ext.beans
-
- AdhocTest2() - Constructor for class freemarker.ext.beans.AdhocTest2
-
- AdhocTest3 - Class in freemarker.ext.beans
-
- AdhocTest3() - Constructor for class freemarker.ext.beans.AdhocTest3
-
- AdhocTestExposeMyMultimap - Class in freemarker.ext.beans.delme
-
- AdhocTestExposeMyMultimap() - Constructor for class freemarker.ext.beans.delme.AdhocTestExposeMyMultimap
-
- AdhocTestMultimap<K,V> - Interface in freemarker.ext.beans
-
- AdhocTestNonPublicSubType - Class in freemarker.ext.beans.delme
-
- AdhocTestNonPublicSubType() - Constructor for class freemarker.ext.beans.delme.AdhocTestNonPublicSubType
-
- AdhocTestPublicSubSubType - Class in freemarker.ext.beans.delme
-
- AdhocTestPublicSubSubType() - Constructor for class freemarker.ext.beans.delme.AdhocTestPublicSubSubType
-
- AdhocTestPublicType - Class in freemarker.ext.beans.delme
-
- AdhocTestPublicType() - Constructor for class freemarker.ext.beans.delme.AdhocTestPublicType
-
- afterBody() - Method in interface freemarker.template.TransformControl
-
Called after the body has been evaluated.
- AliasTemplateDateFormatFactory - Class in freemarker.core
-
Creates an alias to another format, so that the format can be referred to with a simple name in the template, rather
than as a concrete pattern or other kind of format string.
- AliasTemplateDateFormatFactory(String) - Constructor for class freemarker.core.AliasTemplateDateFormatFactory
-
- AliasTemplateDateFormatFactory(String, Map<Locale, String>) - Constructor for class freemarker.core.AliasTemplateDateFormatFactory
-
- AliasTemplateNumberFormatFactory - Class in freemarker.core
-
Creates an alias to another format, so that the format can be referred to with a simple name in the template, rather
than as a concrete pattern or other kind of format string.
- AliasTemplateNumberFormatFactory(String) - Constructor for class freemarker.core.AliasTemplateNumberFormatFactory
-
- AliasTemplateNumberFormatFactory(String, Map<Locale, String>) - Constructor for class freemarker.core.AliasTemplateNumberFormatFactory
-
- AllHttpScopesHashModel - Class in freemarker.ext.servlet
-
An extension of SimpleHash that looks up keys in the hash, then in the
request, session, and servlet context scopes.
- AllHttpScopesHashModel(ObjectWrapper, ServletContext, HttpServletRequest) - Constructor for class freemarker.ext.servlet.AllHttpScopesHashModel
-
Creates a new instance of AllHttpScopesHashModel for handling a single
HTTP servlet request.
- allowNoMatch(boolean) - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
- ALLOWS_NOTHING_RESOLVER - Static variable in interface freemarker.core.TemplateClassResolver
-
Doesn't allow resolving any classes.
- AndMatcher - Class in freemarker.cache
-
Logical "and" operation among the given matchers.
- AndMatcher(TemplateSourceMatcher...) - Constructor for class freemarker.cache.AndMatcher
-
- ANGLE_BRACKET_TAG_SYNTAX - Static variable in class freemarker.template.Configuration
-
For example <#if x><@foo /></#if>
- API_BUILTIN_ENABLED_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- API_BUILTIN_ENABLED_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- API_BUILTIN_ENABLED_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- append(CharSequence) - Method in class freemarker.template.utility.NullWriter
-
- append(CharSequence, int, int) - Method in class freemarker.template.utility.NullWriter
-
- append(char) - Method in class freemarker.template.utility.NullWriter
-
- apply(Template) - Method in class freemarker.core.TemplateConfiguration
-
- applyEqualsOperator(TemplateModel, TemplateModel) - Method in class freemarker.core.Environment
-
Compares two
TemplateModel
-s according the rules of the FTL "==" operator.
- applyEqualsOperatorLenient(TemplateModel, TemplateModel) - Method in class freemarker.core.Environment
-
Compares two
TemplateModel
-s according the rules of the FTL "==" operator, except that if the two types
are incompatible, they are treated as non-equal instead of throwing an exception.
- applyGreaterThanOperator(TemplateModel, TemplateModel) - Method in class freemarker.core.Environment
-
Compares two
TemplateModel
-s according the rules of the FTL ">" operator.
- applyLessThanOperator(TemplateModel, TemplateModel) - Method in class freemarker.core.Environment
-
Compares two
TemplateModel
-s according the rules of the FTL "<" operator.
- applyLessThanOrEqualsOperator(TemplateModel, TemplateModel) - Method in class freemarker.core.Environment
-
Compares two
TemplateModel
-s according the rules of the FTL "<" operator.
- applyWithGreaterThanOrEqualsOperator(TemplateModel, TemplateModel) - Method in class freemarker.core.Environment
-
Compares two
TemplateModel
-s according the rules of the FTL ">=" operator.
- ARITHMETIC_ENGINE_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- ARITHMETIC_ENGINE_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- ARITHMETIC_ENGINE_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- ArithmeticEngine - Class in freemarker.core
-
Used for implementing the arithmetic operations and number comparisons in the template language.
- ArithmeticEngine() - Constructor for class freemarker.core.ArithmeticEngine
-
- ArithmeticEngine.BigDecimalEngine - Class in freemarker.core
-
This is the default arithmetic engine in FreeMarker.
- ArithmeticEngine.ConservativeEngine - Class in freemarker.core
-
An arithmetic engine that conservatively widens the operation arguments
to extent that they can hold the result of the operation.
- ArrayModel - Class in freemarker.ext.beans
-
- ArrayModel(Object, BeansWrapper) - Constructor for class freemarker.ext.beans.ArrayModel
-
Creates a new model that wraps the specified array object.
- ASCII_INSTANCE - Static variable in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Instance that uses "[...]"
as the defaultTerminator
constructor argument, and thus is
safe to use for all output charsets.
- ATTEMPT_EXCEPTION_REPORTER_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- ATTEMPT_EXCEPTION_REPORTER_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- ATTEMPT_EXCEPTION_REPORTER_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- AttemptExceptionReporter - Interface in freemarker.template
-
- attributeAdded(ServletContextAttributeEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- attributeAdded(HttpSessionBindingEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- attributeRemoved(ServletContextAttributeEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- attributeRemoved(HttpSessionBindingEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- attributeReplaced(ServletContextAttributeEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- attributeReplaced(HttpSessionBindingEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- AUTO_DETECT_NAMING_CONVENTION - Static variable in class freemarker.template.Configuration
-
- AUTO_DETECT_TAG_SYNTAX - Static variable in class freemarker.template.Configuration
-
- AUTO_ESCAPING_POLICY_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- AUTO_ESCAPING_POLICY_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- AUTO_ESCAPING_POLICY_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- AUTO_FLUSH_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- AUTO_FLUSH_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- AUTO_FLUSH_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- AUTO_IMPORT_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- AUTO_IMPORT_KEY - Static variable in class freemarker.template.Configuration
-
- AUTO_IMPORT_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- AUTO_IMPORT_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
- AUTO_IMPORT_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- AUTO_IMPORT_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
- AUTO_INCLUDE_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- AUTO_INCLUDE_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- AUTO_INCLUDE_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- AUTO_INCLUDE_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- AUTO_INCLUDE_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- AUTO_INCLUDE_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- C_FORMAT_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- C_FORMAT_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- C_FORMAT_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- CACHE_STORAGE_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- CACHE_STORAGE_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- CACHE_STORAGE_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- CacheStorage - Interface in freemarker.cache
-
Cache storage abstracts away the storage aspects of a cache - associating
an object with a key, retrieval and removal via the key.
- CacheStorageWithGetSize - Interface in freemarker.cache
-
A cache storage that has a getSize()
method for returning the current number of cache entries.
- calculate(int, int, int, int, int, int, int, int, boolean, TimeZone) - Method in interface freemarker.template.utility.DateUtil.CalendarFieldsToDateConverter
-
Calculates the Date
from the specified calendar fields.
- calculate(int, int, int, int, int, int, int, int, boolean, TimeZone) - Method in class freemarker.template.utility.DateUtil.TrivialCalendarFieldsToDateConverter
-
- CallPlaceCustomDataInitializationException - Exception in freemarker.core
-
- CallPlaceCustomDataInitializationException(String, Throwable) - Constructor for exception freemarker.core.CallPlaceCustomDataInitializationException
-
- CAMEL_CASE_NAMING_CONVENTION - Static variable in class freemarker.template.Configuration
-
- canonicalizePrefix(String) - Static method in class freemarker.cache.URLTemplateLoader
-
Can be used by subclasses to canonicalize URL path prefixes.
- CANT_UNWRAP_TO_TARGET_CLASS - Static variable in interface freemarker.template.ObjectWrapperAndUnwrapper
-
Indicates that while the unwrapping is maybe possible, the result surely can't be the instance of the
desired class, nor it can be null
.
- capitalize(String) - Static method in class freemarker.template.utility.StringUtil
-
- CaptureOutput - Class in freemarker.template.utility
-
- CaptureOutput() - Constructor for class freemarker.template.utility.CaptureOutput
-
Deprecated.
- caseInsensitive(boolean) - Method in class freemarker.cache.FileExtensionMatcher
-
- caseInsensitive(boolean) - Method in class freemarker.cache.FileNameGlobMatcher
-
- caseInsensitive(boolean) - Method in class freemarker.cache.PathGlobMatcher
-
- CFormat - Class in freemarker.core
-
Defines a format (usually a computer language) that's used by the
c
,
cn
built-ins, and for the
"c"
and
"computer"
number_format
, and
the
"c"
boolean_format
.
- check(String, Object) - Static method in exception freemarker.template.utility.NullArgumentException
-
Convenience method to protect against a null
argument.
- check(Object) - Static method in exception freemarker.template.utility.NullArgumentException
-
- checkHasNoParameters(String) - Static method in class freemarker.core.TemplateFormatUtil
-
- checkModifiable() - Method in class freemarker.ext.beans.BeansWrapper
-
If this object is already read-only according to
WriteProtectable
, throws
IllegalStateException
,
otherwise does nothing.
- chomp(String) - Static method in class freemarker.template.utility.StringUtil
-
Removes a line-break from the end of the string (if there's any).
- CLASSIC_COMPATIBLE_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- CLASSIC_COMPATIBLE_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- CLASSIC_COMPATIBLE_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- ClassMemberAccessPolicy - Interface in freemarker.ext.beans
-
- ClasspathMetaInfTldSource(Pattern) - Constructor for class freemarker.ext.jsp.TaglibFactory.ClasspathMetaInfTldSource
-
- ClassTemplateLoader - Class in freemarker.cache
-
- ClassTemplateLoader() - Constructor for class freemarker.cache.ClassTemplateLoader
-
- ClassTemplateLoader(Class<?>) - Constructor for class freemarker.cache.ClassTemplateLoader
-
- ClassTemplateLoader(Class<?>, String) - Constructor for class freemarker.cache.ClassTemplateLoader
-
Creates a template loader that will use the Class.getResource(String)
method of the specified class to
load the resources, and the specified base package path (absolute or relative).
- ClassTemplateLoader(ClassLoader, String) - Constructor for class freemarker.cache.ClassTemplateLoader
-
- ClassUtil - Class in freemarker.template.utility
-
- clear() - Method in interface freemarker.cache.CacheStorage
-
- clear() - Method in class freemarker.cache.MruCacheStorage
-
- clear() - Method in class freemarker.cache.NullCacheStorage
-
- clear() - Method in class freemarker.cache.SoftCacheStorage
-
- clear() - Method in class freemarker.cache.StrongCacheStorage
-
- clear() - Method in class freemarker.cache.TemplateCache
-
- clear() - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Removes all mappings from this map.
- clearCache() - Method in class freemarker.ext.util.ModelCache
-
- clearClassIntrospecitonCache() - Method in class freemarker.ext.beans.BeansWrapper
-
- clearClassIntrospectionCache() - Method in class freemarker.ext.beans.BeansWrapper
-
Removes all class introspection data from the cache.
- clearEncodingMap() - Method in class freemarker.template.Configuration
-
Clears language-to-encoding map.
- clearSharedVariables() - Method in class freemarker.template.Configuration
-
Removes all shared variables, except the predefined ones (compress, html_escape, etc.).
- clearTemplateCache() - Method in class freemarker.template.Configuration
-
Removes all entries from the template cache, thus forcing reloading of templates
on subsequent getTemplate
calls.
- clone() - Method in class freemarker.core.Configurable
-
- clone(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- clone() - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Returns a shallow copy of this IdentityHashMap instance: the keys and
values themselves are not cloned.
- clone() - Method in class freemarker.template.Configuration
-
- close() - Method in class freemarker.template.utility.NullWriter
-
- closeTemplateSource(Object) - Method in class freemarker.cache.ByteArrayTemplateLoader
-
- closeTemplateSource(Object) - Method in class freemarker.cache.FileTemplateLoader
-
- closeTemplateSource(Object) - Method in class freemarker.cache.MultiTemplateLoader
-
- closeTemplateSource(Object) - Method in class freemarker.cache.StringTemplateLoader
-
- closeTemplateSource(Object) - Method in interface freemarker.cache.TemplateLoader
-
Closes the template source, releasing any resources held that are only required for reading the template and/or
its metadata.
- closeTemplateSource(Object) - Method in class freemarker.cache.URLTemplateLoader
-
- closeTemplateSource(Object) - Method in class freemarker.cache.WebappTemplateLoader
-
- coerceBigDecimal(BigDecimal, Class<?>) - Static method in class freemarker.ext.beans.BeansWrapper
-
Converts BigDecimal
to the class given in the formalType
argument if that's a known numerical
type, returns the BigDecimal
as is otherwise.
- coerceBigDecimals(AccessibleObject, Object[]) - Static method in class freemarker.ext.beans.BeansWrapper
-
Converts any BigDecimal
s in the passed array to the type of
the corresponding formal argument of the method.
- coerceBigDecimals(Class<?>[], Object[]) - Static method in class freemarker.ext.beans.BeansWrapper
-
- CollectionModel - Class in freemarker.ext.beans
-
- CollectionModel(Collection, BeansWrapper) - Constructor for class freemarker.ext.beans.CollectionModel
-
Creates a new model that wraps the specified collection object.
- Collections12 - Class in freemarker.template.utility
-
- CollectionUtils - Class in freemarker.template.utility
-
- columnNumber - Variable in exception freemarker.core.ParseException
-
- CombinedMarkupOutputFormat - Class in freemarker.core
-
Represents two markup formats nested into each other.
- CombinedMarkupOutputFormat(MarkupOutputFormat, MarkupOutputFormat) - Constructor for class freemarker.core.CombinedMarkupOutputFormat
-
- CombinedMarkupOutputFormat(String, MarkupOutputFormat, MarkupOutputFormat) - Constructor for class freemarker.core.CombinedMarkupOutputFormat
-
- CommandLine - Class in freemarker.core
-
- CommandLine() - Constructor for class freemarker.core.CommandLine
-
Deprecated.
- CommonMarkupOutputFormat<MO extends CommonTemplateMarkupOutputModel> - Class in freemarker.core
-
- CommonMarkupOutputFormat() - Constructor for class freemarker.core.CommonMarkupOutputFormat
-
- CommonTemplateMarkupOutputModel<MO extends CommonTemplateMarkupOutputModel<MO>> - Class in freemarker.core
-
- CommonTemplateMarkupOutputModel(String, String) - Constructor for class freemarker.core.CommonTemplateMarkupOutputModel
-
A least one of the parameters must be non-null
!
- compareNumbers(Number, Number) - Method in class freemarker.core.ArithmeticEngine.BigDecimalEngine
-
- compareNumbers(Number, Number) - Method in class freemarker.core.ArithmeticEngine
-
- compareNumbers(Number, Number) - Method in class freemarker.core.ArithmeticEngine.ConservativeEngine
-
- compareTo(Object) - Method in class freemarker.debug.Breakpoint
-
- concat(MO, MO) - Method in class freemarker.core.CommonMarkupOutputFormat
-
- concat(MO, MO) - Method in class freemarker.core.MarkupOutputFormat
-
- ConcurrentCacheStorage - Interface in freemarker.cache
-
An optional interface for cache storage that knows whether it can be
concurrently accessible without synchronization.
- ConditionalTemplateConfigurationFactory - Class in freemarker.cache
-
- ConditionalTemplateConfigurationFactory(TemplateSourceMatcher, TemplateConfigurationFactory) - Constructor for class freemarker.cache.ConditionalTemplateConfigurationFactory
-
- ConditionalTemplateConfigurationFactory(TemplateSourceMatcher, TemplateConfiguration) - Constructor for class freemarker.cache.ConditionalTemplateConfigurationFactory
-
- Configurable - Class in freemarker.core
-
- Configurable() - Constructor for class freemarker.core.Configurable
-
- Configurable(Version) - Constructor for class freemarker.core.Configurable
-
Intended to be called from inside FreeMarker only.
- Configurable(Configurable) - Constructor for class freemarker.core.Configurable
-
Creates a new instance.
- Configurable.SettingValueAssignmentException - Exception in freemarker.core
-
The setting name was recognized, but its value couldn't be parsed or the setting couldn't be set for some
other reason.
- Configurable.UnknownSettingException - Exception in freemarker.core
-
The setting name was not recognized.
- Configuration - Class in freemarker.template
-
The main entry point into the FreeMarker API; encapsulates the configuration settings of FreeMarker,
also serves as a central template-loading and caching service.
- Configuration() - Constructor for class freemarker.template.Configuration
-
- Configuration(Version) - Constructor for class freemarker.template.Configuration
-
Creates a new instance and sets which of the non-backward-compatible bugfixes/improvements should be enabled.
- CONSERVATIVE_ENGINE - Static variable in class freemarker.core.ArithmeticEngine
-
Arithmetic engine that uses (more-or-less) the widening conversions of
Java language to determine the type of result of operation, instead of
converting everything to BigDecimal up front.
- ConservativeEngine() - Constructor for class freemarker.core.ArithmeticEngine.ConservativeEngine
-
- Constants - Class in freemarker.template.utility
-
- Constants() - Constructor for class freemarker.template.utility.Constants
-
- containingElements(int, int) - Method in class freemarker.template.Template
-
- contains(TemplateModel) - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- containsKey(Object) - Method in class freemarker.ext.beans.HashAdapter
-
- containsKey(Object) - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Returns true if this map contains a mapping for the specified
key.
- containsKey(String) - Method in class freemarker.template.SimpleHash
-
Tells if the map contains a key or not, regardless if the associated value is null
or not.
- containsValue(Object) - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Returns true if this map maps one or more keys to the
specified value.
- contextDestroyed(ServletContextEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- contextInitialized(ServletContextEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- convertArray(Object) - Method in class freemarker.template.DefaultObjectWrapper
-
Converts an array to a java.util.List.
- convertValueToText(Object, boolean, boolean, boolean, int, boolean) - Method in class freemarker.core.FreeMarkerTree
-
Deprecated.
- copyMap(Map) - Method in class freemarker.template.SimpleHash
-
- create() - Method in class freemarker.core.CustomAttribute
-
- create(Object) - Method in class freemarker.ext.beans.BeansModelCache
-
- create(Object) - Method in class freemarker.ext.util.ModelCache
-
- create(Object, ObjectWrapper) - Method in interface freemarker.ext.util.ModelFactory
-
Create a wrapping model for the specified object that belongs to
the specified wrapper.
- createConfiguration() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Creates the FreeMarker
Configuration
singleton and (when overidden) maybe sets its defaults.
- createDefaultClassPathTlds() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Creates the default of the
"ClasspathTlds" init-param; if this init-param is specified, it
will be appended
after the default, not replace it.
- createDefaultMetaInfTldSources() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Creates the default of the
"MetaInfTldSources" init-param; if this init-param is
specified, it will completelly
replace the default value.
- createDefaultObjectWrapper() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Override this to specify what the default
ObjectWrapper
will be when the
object_wrapper
Servlet init-param wasn't specified.
- createLegacyDefaultTemplateLoader() - Static method in class freemarker.cache.TemplateCache
-
- createModel(ObjectWrapper, ServletContext, HttpServletRequest, HttpServletResponse) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- createNegativeLookupResult() - Method in class freemarker.cache.TemplateLookupContext
-
- createObject() - Method in interface freemarker.template.utility.ObjectFactory
-
- createObjectWrapper() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- createProcessingEnvironment(Object, Writer, ObjectWrapper) - Method in class freemarker.template.Template
-
Creates a
Environment
object, using this template, the data-model provided as
parameter.
- createProcessingEnvironment(Object, Writer) - Method in class freemarker.template.Template
-
- createRequestParametersHashModel(HttpServletRequest) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- createTaglibFactory(ObjectWrapper, ServletContext) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- createTemplateLoader(String) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Create the template loader.
- CSSOutputFormat - Class in freemarker.core
-
Represents the CSS output format (MIME type "text/css", name "CSS").
- currentToken - Variable in exception freemarker.core.ParseException
-
This is the last token that has been consumed successfully.
- CUSTOM_DATE_FORMATS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- CUSTOM_DATE_FORMATS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- CUSTOM_DATE_FORMATS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- CUSTOM_NUMBER_FORMATS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- CUSTOM_NUMBER_FORMATS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- CUSTOM_NUMBER_FORMATS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- CustomAttribute - Class in freemarker.core
-
- CustomAttribute(int) - Constructor for class freemarker.core.CustomAttribute
-
Creates a new custom attribute with the specified scope
- DATE - Static variable in interface freemarker.template.TemplateDateModel
-
The date model represents a date value (no time part).
- DATE_FORMAT_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- DATE_FORMAT_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- DATE_FORMAT_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- DateModel - Class in freemarker.ext.beans
-
Wraps arbitrary subclass of Date
into a reflective model.
- DateModel(Date, BeansWrapper) - Constructor for class freemarker.ext.beans.DateModel
-
Creates a new model that wraps the specified date object.
- DateParseException(String) - Constructor for exception freemarker.template.utility.DateUtil.DateParseException
-
- DATETIME - Static variable in interface freemarker.template.TemplateDateModel
-
The date model represents a date-time value (also known as timestamp).
- DATETIME_FORMAT_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- DATETIME_FORMAT_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- DATETIME_FORMAT_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- dateToISO8601String(Date, boolean, boolean, boolean, int, TimeZone, DateUtil.DateToISO8601CalendarFactory) - Static method in class freemarker.template.utility.DateUtil
-
Format a date, time or dateTime with one of the ISO 8601 extended
formats that is also compatible with the XML Schema format (as far as you
don't have dates in the BC era).
- dateToXSString(Date, boolean, boolean, boolean, int, TimeZone, DateUtil.DateToISO8601CalendarFactory) - Static method in class freemarker.template.utility.DateUtil
-
- DateUtil - Class in freemarker.template.utility
-
Date and time related utilities.
- DateUtil.CalendarFieldsToDateConverter - Interface in freemarker.template.utility
-
Used internally by
DateUtil
; don't use its implementations for anything else.
- DateUtil.DateParseException - Exception in freemarker.template.utility
-
- DateUtil.DateToISO8601CalendarFactory - Interface in freemarker.template.utility
-
Used internally by
DateUtil
; don't use its implementations for
anything else.
- DateUtil.TrivialCalendarFieldsToDateConverter - Class in freemarker.template.utility
-
Non-thread-safe implementation that hard-references a calendar internally.
- DateUtil.TrivialDateToISO8601CalendarFactory - Class in freemarker.template.utility
-
Non-thread-safe factory that hard-references a calendar internally.
- debug - Variable in class freemarker.ext.servlet.FreemarkerServlet
-
- debug(String) - Method in class freemarker.log.Logger
-
Logs a debugging message.
- debug(String, Throwable) - Method in class freemarker.log.Logger
-
Logs a debugging message with accompanying throwable.
- DEBUG_HANDLER - Static variable in interface freemarker.template.TemplateExceptionHandler
-
- DebuggedEnvironment - Interface in freemarker.debug
-
Represents the debugger-side mirror of a debugged
Environment
object in the remote VM.
- Debugger - Interface in freemarker.debug
-
The main debugger interface.
- DebuggerClient - Class in freemarker.debug
-
A utility class that allows you to connect to the FreeMarker debugger service
running on a specific host and port.
- DebuggerListener - Interface in freemarker.debug
-
An interface for components that wish to receive debugging events.
- DebugModel - Interface in freemarker.debug
-
Represents the debugger-side mirror of a TemplateModel object, a Template
object, or a Configuration object.
- deduceLocale(String, HttpServletRequest, HttpServletResponse) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- deduceLocale(String) - Static method in class freemarker.template.utility.StringUtil
-
- DeepUnwrap - Class in freemarker.template.utility
-
- DeepUnwrap() - Constructor for class freemarker.template.utility.DeepUnwrap
-
- DEFAULT_2_3_0 - Static variable in class freemarker.cache.TemplateLookupStrategy
-
The default lookup strategy of FreeMarker.
- DEFAULT_2_3_0 - Static variable in class freemarker.cache.TemplateNameFormat
-
- DEFAULT_2_4_0 - Static variable in class freemarker.cache.TemplateNameFormat
-
- DEFAULT_CLASSPATH_TLDS - Static variable in class freemarker.ext.jsp.TaglibFactory
-
- DEFAULT_ENCODING_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- DEFAULT_ENCODING_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- DEFAULT_ENCODING_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- DEFAULT_INCOMPATIBLE_ENHANCEMENTS - Static variable in class freemarker.template.Configuration
-
- DEFAULT_INCOMPATIBLE_IMPROVEMENTS - Static variable in class freemarker.template.Configuration
-
- DEFAULT_META_INF_TLD_SOURCES - Static variable in class freemarker.ext.jsp.TaglibFactory
-
- DEFAULT_NAMESPACE_PREFIX - Static variable in class freemarker.template.Template
-
- DEFAULT_PORT - Static variable in interface freemarker.debug.Debugger
-
- DEFAULT_TEMPLATE_UPDATE_DELAY_MILLIS - Static variable in class freemarker.cache.TemplateCache
-
- DEFAULT_WORD_BOUNDARY_MIN_LENGTH - Static variable in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- DEFAULT_WRAPPER - Static variable in interface freemarker.template.ObjectWrapper
-
- DefaultArrayAdapter - Class in freemarker.template
-
- DefaultEnumerationAdapter - Class in freemarker.template
-
- DefaultIterableAdapter - Class in freemarker.template
-
- DefaultIteratorAdapter - Class in freemarker.template
-
- DefaultListAdapter - Class in freemarker.template
-
- DefaultMapAdapter - Class in freemarker.template
-
- DefaultMemberAccessPolicy - Class in freemarker.ext.beans
-
Member access policy, used to implement default behavior that's mostly compatible with pre-2.3.30 versions, but is
somewhat safer; it still can't provide safety in practice, if you allow untrusted users to edit templates! Use
WhitelistMemberAccessPolicy
if you need stricter control.
- DefaultNonListCollectionAdapter - Class in freemarker.template
-
- DefaultObjectWrapper - Class in freemarker.template
-
- DefaultObjectWrapper() - Constructor for class freemarker.template.DefaultObjectWrapper
-
- DefaultObjectWrapper(Version) - Constructor for class freemarker.template.DefaultObjectWrapper
-
- DefaultObjectWrapper(BeansWrapperConfiguration, boolean) - Constructor for class freemarker.template.DefaultObjectWrapper
-
- DefaultObjectWrapper(DefaultObjectWrapperConfiguration, boolean) - Constructor for class freemarker.template.DefaultObjectWrapper
-
- DefaultObjectWrapperBuilder - Class in freemarker.template
-
- DefaultObjectWrapperBuilder(Version) - Constructor for class freemarker.template.DefaultObjectWrapperBuilder
-
Creates a builder that creates a
DefaultObjectWrapper
with the given
incompatibleImprovements
;
using at least 2.3.22 is highly recommended.
- DefaultObjectWrapperConfiguration - Class in freemarker.template
-
- DefaultObjectWrapperConfiguration(Version) - Constructor for class freemarker.template.DefaultObjectWrapperConfiguration
-
- DefaultTruncateBuiltinAlgorithm - Class in freemarker.core
-
- DefaultTruncateBuiltinAlgorithm(String, TemplateMarkupOutputModel<?>, boolean) - Constructor for class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Creates an instance with a string (plain text) terminator and a markup terminator.
- DefaultTruncateBuiltinAlgorithm(String, boolean) - Constructor for class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Creates an instance with string (plain text) terminator.
- DefaultTruncateBuiltinAlgorithm(String, Integer, Boolean, TemplateMarkupOutputModel<?>, Integer, Boolean, boolean, Double) - Constructor for class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Creates an instance with markup terminator.
- DirectiveCallPlace - Interface in freemarker.core
-
Gives information about the place where a directive is called from, also lets you attach a custom data object to that
place.
- DISABLE_AUTO_ESCAPING_POLICY - Static variable in class freemarker.template.Configuration
-
Don't enable auto-escaping, regardless of what the
OutputFormat
is.
- divide(Number, Number) - Method in class freemarker.core.ArithmeticEngine.BigDecimalEngine
-
- divide(Number, Number) - Method in class freemarker.core.ArithmeticEngine.ConservativeEngine
-
- divide(Number, Number) - Method in class freemarker.core.ArithmeticEngine
-
- doAfterBody() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- doAutoImportsAndIncludes(Environment) - Method in class freemarker.core.Configurable
-
Executes the auto-imports and auto-includes for the main template of this environment.
- doAutoImportsAndIncludes(Environment) - Method in class freemarker.template.Configuration
-
- doEndTag() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- doInitBody() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- DOLLAR_INTERPOLATION_SYNTAX - Static variable in class freemarker.template.Configuration
-
${expression}
only (not #{expression; numFormat}
) @since 2.3.28
- DOMNodeModel - Class in freemarker.template.utility
-
- DOMNodeModel(Node) - Constructor for class freemarker.template.utility.DOMNodeModel
-
Deprecated.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- doStartTag() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- dump(PrintStream) - Method in class freemarker.template.Template
-
Dump the raw template in canonical form.
- dump(Writer) - Method in class freemarker.template.Template
-
Dump the raw template in canonical form.
- FALLBACK_ON_NULL_LOOP_VARIABLE_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation.
- FALLBACK_ON_NULL_LOOP_VARIABLE_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- FALLBACK_ON_NULL_LOOP_VARIABLE_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- FALSE - Static variable in interface freemarker.template.TemplateBooleanModel
-
A singleton object to represent boolean false
- FALSE - Static variable in class freemarker.template.utility.Constants
-
- FileExtensionMatcher - Class in freemarker.cache
-
Matches the file extension; unlike other matchers, by default case insensitive.
- FileExtensionMatcher(String) - Constructor for class freemarker.cache.FileExtensionMatcher
-
- FileNameGlobMatcher - Class in freemarker.cache
-
As opposed to
PathGlobMatcher
, it only compares the "file name" part (the part after the last
/
) of
the source name with the given glob.
- FileNameGlobMatcher(String) - Constructor for class freemarker.cache.FileNameGlobMatcher
-
- FileTemplateLoader - Class in freemarker.cache
-
A
TemplateLoader
that uses files inside a specified directory as the source of templates.
- FileTemplateLoader() - Constructor for class freemarker.cache.FileTemplateLoader
-
- FileTemplateLoader(File) - Constructor for class freemarker.cache.FileTemplateLoader
-
Creates a new file template loader that will use the specified directory
as the base directory for loading templates.
- FileTemplateLoader(File, boolean) - Constructor for class freemarker.cache.FileTemplateLoader
-
Creates a new file template loader that will use the specified directory as the base directory for loading
templates.
- finalizeConstruction(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
- findTemplateSource(String) - Method in class freemarker.cache.ByteArrayTemplateLoader
-
- findTemplateSource(String) - Method in class freemarker.cache.FileTemplateLoader
-
- findTemplateSource(String) - Method in class freemarker.cache.MultiTemplateLoader
-
- findTemplateSource(String) - Method in class freemarker.cache.StringTemplateLoader
-
- findTemplateSource(String) - Method in interface freemarker.cache.TemplateLoader
-
Finds the template in the backing storage and returns an object that identifies the storage location where the
template can be loaded from.
- findTemplateSource(String) - Method in class freemarker.cache.URLTemplateLoader
-
- findTemplateSource(String) - Method in class freemarker.cache.WebappTemplateLoader
-
- finetuneMethodAppearance(Class<?>, Method, BeansWrapper.MethodAppearanceDecision) - Method in class freemarker.ext.beans.BeansWrapper
-
- FirstMatchTemplateConfigurationFactory - Class in freemarker.cache
-
Returns the first non-null
result of the child factories, ignoring all further child factories.
- FirstMatchTemplateConfigurationFactory(TemplateConfigurationFactory...) - Constructor for class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
- flush() - Method in class freemarker.template.utility.NullWriter
-
- forClass(Class<?>) - Method in class freemarker.ext.beans.DefaultMemberAccessPolicy
-
- forClass(Class<?>) - Method in class freemarker.ext.beans.LegacyDefaultMemberAccessPolicy
-
- forClass(Class<?>) - Method in interface freemarker.ext.beans.MemberAccessPolicy
-
- forClass(Class<?>) - Method in class freemarker.ext.beans.MemberSelectorListMemberAccessPolicy
-
- format(TemplateDateModel) - Method in class freemarker.core.TemplateDateFormat
-
Formats the model to markup instead of to plain text if the result markup will be more than just plain text
escaped, otherwise falls back to formatting to plain text.
- format(TemplateNumberModel) - Method in class freemarker.core.TemplateNumberFormat
-
Formats the model to markup instead of to plain text if the result markup will be more than just plain text
escaped, otherwise falls back to formatting to plain text.
- format(String, Object[]) - Method in class freemarker.ext.beans.ResourceBundleModel
-
Provides direct access to caching format engine from code (instead of from script).
- formatToPlainText(TemplateDateModel) - Method in class freemarker.core.TemplateDateFormat
-
- formatToPlainText(TemplateNumberModel) - Method in class freemarker.core.TemplateNumberFormat
-
- forName(String) - Static method in class freemarker.template.utility.ClassUtil
-
Similar to Class.forName(java.lang.String)
, but attempts to load
through the thread context class loader.
- freemarker.cache - package freemarker.cache
-
Template loading and caching.
- freemarker.core - package freemarker.core
-
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.
- freemarker.debug - package freemarker.debug
-
Debugging API; experimental status, might change!
This is to support debugging in IDE-s.
- freemarker.ext.ant - package freemarker.ext.ant
-
Ant task to transform XML files
with a template; a more powerful alternative is
FMPP.
- freemarker.ext.beans - package freemarker.ext.beans
-
- freemarker.ext.beans.delme - package freemarker.ext.beans.delme
-
- freemarker.ext.dom - package freemarker.ext.dom
-
Exposes DOM XML nodes to templates as easily traversable trees;
see
in the Manual.
- freemarker.ext.jdom - package freemarker.ext.jdom
-
- freemarker.ext.jsp - package freemarker.ext.jsp
-
Classes for two-way FreeMarker-JSP integration.
- freemarker.ext.jython - package freemarker.ext.jython
-
Exposes
Jython objects to templates.
- freemarker.ext.rhino - package freemarker.ext.rhino
-
Exposes Rhino (ECMAScript) objects to templates.
- freemarker.ext.servlet - package freemarker.ext.servlet
-
Servlet for legacy "Model 2" frameworks that allows using FreeMarker
templates instead of JSP as the MVC View
(see
in the Manual).
- freemarker.ext.util - package freemarker.ext.util
-
Various classes used by freemarker.ext
but might be useful outside it too.
- freemarker.ext.xml - package freemarker.ext.xml
-
Deprecated, use W3C DOM with
freemarker.ext.dom
instead;
Exposes XML from DOM, dom4j or JDOM nodes, uniformly.
- freemarker.log - package freemarker.log
-
Logging facility; dispatches FreeMarker log messages to the chosen logger library.
- freemarker.template - package freemarker.template
-
- freemarker.template.utility - package freemarker.template.utility
-
Various classes used by core FreeMarker code but might be useful outside of it too.
- FreemarkerServlet - Class in freemarker.ext.servlet
-
FreeMarker MVC View servlet that can be used similarly to JSP views.
- FreemarkerServlet() - Constructor for class freemarker.ext.servlet.FreemarkerServlet
-
- FreemarkerTag - Class in freemarker.ext.jsp
-
- FreemarkerTag() - Constructor for class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- FreeMarkerTree - Class in freemarker.core
-
- FreeMarkerTree(Template) - Constructor for class freemarker.core.FreeMarkerTree
-
Deprecated.
- FreemarkerXmlTask - Class in freemarker.ext.ant
-
- FreemarkerXmlTask() - Constructor for class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Constructor creates the SAXBuilder.
- fromMarkup(String) - Method in class freemarker.core.CommonMarkupOutputFormat
-
- fromMarkup(String) - Method in class freemarker.core.MarkupOutputFormat
-
- fromPlainTextByEscaping(String) - Method in class freemarker.core.CommonMarkupOutputFormat
-
- fromPlainTextByEscaping(String) - Method in class freemarker.core.MarkupOutputFormat
-
Converts a
String
that's assumed to be plain text to
TemplateMarkupOutputModel
, by escaping any
special characters in the plain text.
- ftlQuote(String) - Static method in class freemarker.template.utility.StringUtil
-
Creates a quoted FTL string literal from a string, using escaping where necessary.
- FTLStringLiteralDec(String) - Static method in class freemarker.template.utility.StringUtil
-
FTL string literal decoding.
- FTLStringLiteralEnc(String, char) - Static method in class freemarker.template.utility.StringUtil
-
Escapes a string according the FTL string literal escaping rules, assuming the literal is quoted with
quotation
; it doesn't add the quotation marks itself.
- FTLStringLiteralEnc(String) - Static method in class freemarker.template.utility.StringUtil
-
Escapes a string according the FTL string literal escaping rules; it doesn't add the quotation marks.
- get(Object) - Method in interface freemarker.cache.CacheStorage
-
- get(String, Object) - Method in class freemarker.cache.ConditionalTemplateConfigurationFactory
-
- get(String, Object) - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
- get(String, Object) - Method in class freemarker.cache.MergingTemplateConfigurationFactory
-
- get(Object) - Method in class freemarker.cache.MruCacheStorage
-
- get(Object) - Method in class freemarker.cache.NullCacheStorage
-
- get(Object) - Method in class freemarker.cache.SoftCacheStorage
-
- get(Object) - Method in class freemarker.cache.StrongCacheStorage
-
- get(String, Object) - Method in class freemarker.cache.TemplateConfigurationFactory
-
- get(String, int, Locale, TimeZone, boolean, Environment) - Method in class freemarker.core.AliasTemplateDateFormatFactory
-
- get(String, Locale, Environment) - Method in class freemarker.core.AliasTemplateNumberFormatFactory
-
- get(Environment) - Method in class freemarker.core.CustomAttribute
-
Gets the attribute from the appropriate scope that's accessible through the specified
Environment
.
- get() - Method in class freemarker.core.CustomAttribute
-
- get(Template) - Method in class freemarker.core.CustomAttribute
-
- get(TemplateConfiguration) - Method in class freemarker.core.CustomAttribute
-
- get(Configuration) - Method in class freemarker.core.CustomAttribute
-
- get(String, int, Locale, TimeZone, boolean, Environment) - Method in class freemarker.core.TemplateDateFormatFactory
-
Returns a formatter for the given parameters.
- get(String, Locale, Environment) - Method in class freemarker.core.TemplateNumberFormatFactory
-
Returns a formatter for the given parameters.
- get(int) - Method in interface freemarker.debug.DebugModel
-
- get(int, int) - Method in interface freemarker.debug.DebugModel
-
- get(String) - Method in interface freemarker.debug.DebugModel
-
- get(String[]) - Method in interface freemarker.debug.DebugModel
-
- get(K) - Method in interface freemarker.ext.beans.AdhocTestMultimap
-
- get(int) - Method in class freemarker.ext.beans.ArrayModel
-
- get(String) - Method in class freemarker.ext.beans.BeanModel
-
Uses Beans introspection to locate a property or method with name
matching the key name.
- get(int) - Method in class freemarker.ext.beans.CollectionModel
-
Retrieves the i-th object from the collection, wrapped as a TemplateModel.
- get() - Static method in class freemarker.ext.beans.delme.AdhocTestExposeMyMultimap
-
- get(Object) - Method in class freemarker.ext.beans.HashAdapter
-
- get(int) - Method in class freemarker.ext.beans.OverloadedMethodsModel
-
- get(String) - Method in class freemarker.ext.beans.SimpleMapModel
-
- get(int) - Method in class freemarker.ext.beans.SimpleMethodModel
-
- get(String) - Method in class freemarker.ext.dom.NodeModel
-
- get(int) - Method in class freemarker.ext.dom.NodeModel
-
- get(String) - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
Provides node list traversal as well as special functions: filtering by name,
filtering by node type, shallow-copying, and duplicate removal.
- get(int) - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
Retrieves the i-th element of the node list.
- get(String) - Method in class freemarker.ext.jsp.TaglibFactory
-
Retrieves a JSP tag library identified by an URI.
- get(String) - Method in class freemarker.ext.jython.JythonModel
-
Calls PyObject.__findattr__(java.lang.String)
, then if it
returns null calls PyObject.__finditem__(java.lang.String)
.
- get(int) - Method in class freemarker.ext.jython.JythonSequenceModel
-
Returns PyObject.__finditem__(int)
.
- get(String) - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- get(int) - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- get(String) - Method in class freemarker.ext.servlet.AllHttpScopesHashModel
-
- get(String) - Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- get(String) - Method in class freemarker.ext.servlet.HttpRequestParametersHashModel
-
- get(String) - Method in class freemarker.ext.servlet.HttpSessionHashModel
-
- get(String) - Method in class freemarker.ext.servlet.ServletContextHashModel
-
- get(Object) - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Returns the value to which this map maps the specified key.
- get(int) - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
Selects a single node from this model's nodelist by its list index and
returns a new NodeListModel containing that single node.
- get(String) - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
Returns a new NodeListModel containing the nodes that result from applying
an operator to this model's nodes.
- get(int) - Method in class freemarker.template.DefaultListAdapter
-
- get(String) - Method in class freemarker.template.DefaultMapAdapter
-
- get(String) - Method in class freemarker.template.SimpleHash
-
- get(int) - Method in class freemarker.template.SimpleSequence
-
Returns the item at the specified index of the list.
- get(String) - Method in interface freemarker.template.TemplateHashModel
-
Gets a TemplateModel from the hash.
- get(int) - Method in class freemarker.template.TemplateModelListSequence
-
- get(int) - Method in interface freemarker.template.TemplateSequenceModel
-
Retrieves the i-th template model in this sequence.
- get(TimeZone, Date) - Method in interface freemarker.template.utility.DateUtil.DateToISO8601CalendarFactory
-
Returns a GregorianCalendar
with the desired time zone and
time and US locale.
- get(TimeZone, Date) - Method in class freemarker.template.utility.DateUtil.TrivialDateToISO8601CalendarFactory
-
- get(String) - Method in class freemarker.template.utility.DOMNodeModel
-
Deprecated.
- getActualNamingConvention() - Method in class freemarker.template.Template
-
Returns the naming convention the parser has chosen for this template.
- getActualTagSyntax() - Method in class freemarker.template.Template
-
Returns the tag syntax the parser has chosen for this template.
- getAdaptedObject(Class<?>) - Method in class freemarker.ext.beans.BeanModel
-
- getAdaptedObject(Class) - Method in class freemarker.ext.beans.SimpleMapModel
-
- getAdaptedObject(Class) - Method in class freemarker.ext.dom.NodeModel
-
- getAdaptedObject(Class) - Method in class freemarker.ext.jython.JythonModel
-
- getAdaptedObject(Class) - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- getAdaptedObject(Class<?>) - Method in interface freemarker.template.AdapterTemplateModel
-
Retrieves the underlying object, or some other object semantically
equivalent to its value narrowed by the class hint.
- getAdaptedObject(Class) - Method in class freemarker.template.DefaultArrayAdapter
-
- getAdaptedObject(Class<?>) - Method in class freemarker.template.DefaultEnumerationAdapter
-
- getAdaptedObject(Class) - Method in class freemarker.template.DefaultIterableAdapter
-
- getAdaptedObject(Class) - Method in class freemarker.template.DefaultIteratorAdapter
-
- getAdaptedObject(Class) - Method in class freemarker.template.DefaultListAdapter
-
- getAdaptedObject(Class) - Method in class freemarker.template.DefaultMapAdapter
-
- getAdaptedObject(Class) - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- getAddSpaceAtWordBoundary() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getAllowNoMatch() - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
- getAPI() - Method in class freemarker.ext.beans.BeanModel
-
- getAPI() - Method in class freemarker.ext.beans.SimpleMapModel
-
- getAPI() - Method in class freemarker.template.DefaultEnumerationAdapter
-
- getAPI() - Method in class freemarker.template.DefaultIterableAdapter
-
- getAPI() - Method in class freemarker.template.DefaultIteratorAdapter
-
- getAPI() - Method in class freemarker.template.DefaultListAdapter
-
- getAPI() - Method in class freemarker.template.DefaultMapAdapter
-
- getAPI() - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- getAPI() - Method in interface freemarker.template.TemplateModelWithAPISupport
-
Returns the model that exposes the (Java) API of the value.
- getArithmeticEngine() - Method in class freemarker.core.Configurable
-
- getArithmeticEngine() - Method in interface freemarker.core.ParserConfiguration
-
- getArrayClass(Class<?>, int) - Static method in class freemarker.template.utility.ClassUtil
-
Returns the array type that corresponds to the element type and the given number of array dimensions.
- getAsBoolean() - Method in interface freemarker.debug.DebugModel
-
- getAsBoolean() - Method in class freemarker.ext.beans.BooleanModel
-
- getAsBoolean() - Method in class freemarker.ext.beans.EnumerationModel
-
Returns Enumeration.hasMoreElements()
.
- getAsBoolean() - Method in class freemarker.ext.beans.IteratorModel
-
Returns Iterator.hasNext()
.
- getAsBoolean() - Method in class freemarker.ext.jython.JythonModel
-
Returns the value of PyObject.__nonzero__()
.
- getAsBoolean() - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- getAsBoolean() - Method in interface freemarker.template.TemplateBooleanModel
-
- getAsDate() - Method in interface freemarker.debug.DebugModel
-
- getAsDate() - Method in class freemarker.ext.beans.DateModel
-
- getAsDate() - Method in class freemarker.template.SimpleDate
-
- getAsDate() - Method in interface freemarker.template.TemplateDateModel
-
Returns the date value.
- getAsNumber() - Method in interface freemarker.debug.DebugModel
-
- getAsNumber() - Method in class freemarker.ext.beans.NumberModel
-
- getAsNumber() - Method in class freemarker.ext.jython.JythonNumberModel
-
Returns either PyObject.__tojava__(java.lang.Class)
with
Number
.class as argument.
- getAsNumber() - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- getAsNumber() - Method in class freemarker.template.SimpleNumber
-
- getAsNumber() - Method in interface freemarker.template.TemplateNumberModel
-
Returns the numeric value.
- getAsString() - Method in interface freemarker.debug.DebugModel
-
- getAsString() - Method in class freemarker.ext.beans.StringModel
-
Returns the result of calling Object.toString()
on the wrapped
object.
- getAsString() - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
This method returns the string resulting from concatenation
of string representations of its nodes.
- getAsString() - Method in class freemarker.ext.jython.JythonModel
-
Returns the value of Object.toString()
.
- getAsString() - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- getAsString() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
Returns the string representation of the wrapped nodes.
- getAsString() - Method in class freemarker.template.LocalizedString
-
- getAsString() - Method in class freemarker.template.SimpleScalar
-
- getAsString() - Method in interface freemarker.template.TemplateScalarModel
-
Returns the String
representation of this model.
- getAttemptExceptionReporter() - Method in class freemarker.core.Configurable
-
- getAttemptFileAccess() - Method in class freemarker.cache.WebappTemplateLoader
-
- getAutoEscaping() - Method in class freemarker.template.Template
-
- getAutoEscapingPolicy() - Method in interface freemarker.core.ParserConfiguration
-
- getAutoEscapingPolicy() - Method in class freemarker.core.TemplateConfiguration
-
- getAutoEscapingPolicy() - Method in class freemarker.template.Configuration
-
- getAutoFlush() - Method in class freemarker.core.Configurable
-
- getAutoImports() - Method in class freemarker.core.Configurable
-
Getter pair of
Configurable.setAutoImports(Map)
; do not modify the returned
Map
! To be consistent with other
setting getters, if this setting was set directly on this
Configurable
object, this simply returns that
value, otherwise it returns the value from the parent
Configurable
.
- getAutoImportsWithoutFallback() - Method in class freemarker.core.Configurable
-
- getAutoIncludes() - Method in class freemarker.core.Configurable
-
- getAutoIncludesWithoutFallback() - Method in class freemarker.core.Configurable
-
- getBaseDirectory() - Method in class freemarker.cache.FileTemplateLoader
-
Returns the base directory in which the templates are searched.
- getBasePackagePath() - Method in class freemarker.cache.ClassTemplateLoader
-
- getBeginColumn() - Method in interface freemarker.core.DirectiveCallPlace
-
The 1-based column number of the first character of the directive call in the template source code, or -1 if it's
not known.
- getBeginLine() - Method in interface freemarker.core.DirectiveCallPlace
-
The 1-based line number of the first character of the directive call in the template source code, or -1 if it's
not known.
- getBlamedExpressionString() - Method in exception freemarker.template.TemplateException
-
If there was a blamed expression attached to this exception, it returns its canonical form, otherwise it returns
null
.
- getBooleanFormat() - Method in class freemarker.core.Configurable
-
- getBreakpoints() - Method in interface freemarker.debug.Debugger
-
- getBreakpoints(String) - Method in interface freemarker.debug.Debugger
-
Retrieves a list of all
Breakpoint
objects for the specified
template.
- getBuildDate() - Method in class freemarker.template.Version
-
- getBundle() - Method in class freemarker.ext.beans.ResourceBundleModel
-
- getCacheStorage() - Method in class freemarker.cache.TemplateCache
-
- getCacheStorage() - Method in class freemarker.template.Configuration
-
- getCaching() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- getCauseException() - Method in exception freemarker.template.TemplateException
-
- getCFormat() - Method in class freemarker.core.Configurable
-
- getChildNodes() - Method in class freemarker.ext.dom.NodeModel
-
- getChildNodes() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
- getChildNodes() - Method in interface freemarker.template.TemplateNodeModel
-
- getClassicCompatibleAsInt() - Method in class freemarker.core.Configurable
-
- getClassLoader() - Method in class freemarker.cache.ClassTemplateLoader
-
- getClasspathTlds() - Method in class freemarker.ext.jsp.TaglibFactory
-
- getCNumberFormat() - Method in class freemarker.core.Environment
-
- getCollection() - Method in interface freemarker.debug.DebugModel
-
- getColumnNumber() - Method in exception freemarker.core.ParseException
-
1-based column number of the failing section, or 0 is the information is not available.
- getColumnNumber() - Method in exception freemarker.template.TemplateException
-
1-based column number of the failing section, or null
if the information is not available.
- getConfiguration() - Method in class freemarker.cache.TemplateConfigurationFactory
-
Returns the configuration this object belongs to, or
null
if it isn't yet bound to a
Configuration
.
- getConfiguration() - Method in class freemarker.core.Environment
-
- getConfiguration() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- getConfiguration() - Method in class freemarker.template.Template
-
Returns the Configuration object associated with this template.
- getConstructor() - Method in class freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector
-
Maybe null
;
set if the selector matches constructors similar to the returned one.
- getConstructorSpecifiedEncoding() - Method in exception freemarker.template.Template.WrongEncodingException
-
- getContainingClass() - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput
-
- getCorrectedNameForUnknownSetting(String) - Method in class freemarker.core.Configurable
-
- getCorrectedNameForUnknownSetting(String) - Method in class freemarker.template.Configuration
-
- getCTemplateNumberFormat() - Method in class freemarker.core.Environment
-
- getCurrentDirectiveCallPlace() - Method in class freemarker.core.Environment
-
Gets the currently executing custom directive's call place information, or null
if there's no
executing custom directive.
- getCurrentEnvironment() - Static method in class freemarker.core.Environment
-
Retrieves the environment object associated with the current thread, or null
if there's no template
processing going on in this thread.
- getCurrentNamespace() - Method in class freemarker.core.Environment
-
Returns the current namespace.
- getCurrentTemplate() - Method in class freemarker.core.Environment
-
Returns the
Template
that we are "lexically" inside at the moment.
- getCurrentVisitorNode() - Method in class freemarker.core.Environment
-
- getCustomAttribute(String) - Method in class freemarker.core.Configurable
-
Retrieves a named custom attribute for this configurable.
- getCustomAttributeNames() - Method in class freemarker.core.Configurable
-
Returns an array with names of all custom attributes defined directly
on this configurable.
- getCustomDateFormat(String) - Method in class freemarker.core.Configurable
-
Gets the custom name format registered for the name.
- getCustomDateFormats() - Method in class freemarker.core.Configurable
-
- getCustomDateFormatsWithoutFallback() - Method in class freemarker.core.Configurable
-
- getCustomLookupCondition() - Method in class freemarker.cache.TemplateLookupContext
-
- getCustomLookupCondition() - Method in class freemarker.template.Template
-
Gets the custom lookup condition with which this template was found.
- getCustomLookupCondition() - Method in exception freemarker.template.TemplateNotFoundException
-
The custom lookup condition with which the template was requested, or null
if there's no such condition.
- getCustomNumberFormat(String) - Method in class freemarker.core.Configurable
-
Gets the custom name format registered for the name.
- getCustomNumberFormats() - Method in class freemarker.core.Configurable
-
- getCustomNumberFormatsWithoutFallback() - Method in class freemarker.core.Configurable
-
- getCustomState(Object) - Method in class freemarker.core.Environment
-
- getDataModel() - Method in class freemarker.core.Environment
-
Returns a view of the data-model (also known as the template context in some other template engines)
that falls back to
shared variables.
- getDataModelOrSharedVariable(String) - Method in class freemarker.core.Environment
-
- getDateFormat() - Method in class freemarker.core.Configurable
-
- getDateTimeFormat() - Method in class freemarker.core.Configurable
-
- getDateType() - Method in interface freemarker.debug.DebugModel
-
- getDateType() - Method in class freemarker.ext.beans.DateModel
-
- getDateType() - Method in class freemarker.template.SimpleDate
-
- getDateType() - Method in interface freemarker.template.TemplateDateModel
-
Returns the type of the date.
- getDebugger(InetAddress, int, String) - Static method in class freemarker.debug.DebuggerClient
-
Connects to the FreeMarker debugger service running on a specific host
and port.
- getDefaultConfiguration() - Static method in class freemarker.template.Configuration
-
- getDefaultDateType() - Method in class freemarker.ext.beans.BeansWrapper
-
Returns the default date type.
- getDefaultDateType() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getDefaultEncoding() - Method in class freemarker.template.Configuration
-
Gets the default encoding for converting bytes to characters when
reading template files in a locale for which no explicit encoding
was specified.
- getDefaultInstance() - Static method in class freemarker.ext.beans.BeansWrapper
-
- getDefaultMTerminator() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getDefaultMTerminatorLength() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getDefaultMTerminatorRemovesDots() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getDefaultNS() - Method in class freemarker.core.Environment
-
- getDefaultNS() - Method in class freemarker.template.Template
-
- getDefaultObjectWrapper(Version) - Static method in class freemarker.template.Configuration
-
Returns the default object wrapper for a given "incompatible_improvements" version.
- getDefaultObjectWrapper() - Static method in class freemarker.template.WrappingTemplateModel
-
- getDefaultOverrideResponseContentType() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- getDefaultTerminator() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getDefaultTerminatorLength() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getDefaultTerminatorRemovesDots() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getDelay() - Method in class freemarker.cache.TemplateCache
-
Gets the delay in milliseconds between checking for newer versions of a
template source.
- getDescription() - Method in class freemarker.core.TemplateValueFormat
-
Meant to be used in error messages to tell what format the parsed string didn't fit.
- getDocumentBuilderFactory() - Static method in class freemarker.ext.dom.NodeModel
-
Returns the DOM parser implementation that is used when building
NodeModel
objects from XML files or from
InputStream
with the static convenience methods of
NodeModel
.
- getDOMNodeSupport() - Method in class freemarker.template.DefaultObjectWrapper
-
- getDOMNodeSupport() - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- getEditorMessage() - Method in exception freemarker.core.ParseException
-
Returns the description of the error without error location or source quotations, or null
if there's no
description available.
- getEmulateCaseSensitiveFileSystem() - Method in class freemarker.cache.FileTemplateLoader
-
- getEmulateCaseSensitiveFileSystemDefault() - Method in class freemarker.cache.FileTemplateLoader
-
- getEncoding() - Method in class freemarker.core.TemplateConfiguration
-
- getEncoding(Locale) - Method in class freemarker.template.Configuration
-
Gets the preferred character encoding for the given locale, or the
default encoding if no encoding is set explicitly for the specified
locale.
- getEncoding() - Method in class freemarker.template.Template
-
The encoding that was (allegedly) used to read this template; also the the default character encoding used for
reading files included from this template.
- getEndColumn() - Method in interface freemarker.core.DirectiveCallPlace
-
The 1-based column number of the last character of the directive call in the template source code, or -1 if it's
not known.
- getEndColumnNumber() - Method in exception freemarker.core.ParseException
-
1-based column number of the last character of the failing section, or 0 if the information is not available.
- getEndColumnNumber() - Method in exception freemarker.template.TemplateException
-
1-based column number of the last character of the failing template section, or null
if the information
is not available.
- getEndLine() - Method in interface freemarker.core.DirectiveCallPlace
-
The 1-based line number of the last character of the directive call in the template source code, or -1 if it's
not known.
- getEndLineNumber() - Method in exception freemarker.core.ParseException
-
1-based line number of the last line that contains the failing section, or 0 if the information is not available.
- getEndLineNumber() - Method in exception freemarker.template.TemplateException
-
1-based line number of the last line that contains the failing section, or null
if the information is not
available.
- getEnumModels() - Method in class freemarker.ext.beans.BeansWrapper
-
Returns a hash model that represents the so-called class enum models.
- getEnvironment() - Method in class freemarker.core.Configurable
-
- getEnvironment() - Method in class freemarker.debug.EnvironmentSuspendedEvent
-
The environment that was suspended
- getEnvironment() - Method in exception freemarker.template.TemplateException
-
- getErrorHandler() - Static method in class freemarker.ext.dom.NodeModel
-
- getExposeAsProperty() - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- getExposeFields() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getExposeMethodAs() - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- getExposureLevel() - Method in class freemarker.ext.beans.BeansWrapper
-
- getExposureLevel() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getExtraInfo() - Method in class freemarker.template.Version
-
The arbitrary string after the micro version number without leading dot, dash or underscore,
like "RC03" in "2.4.0-RC03".
- getFallbackOnNullLoopVariable() - Method in class freemarker.template.Configuration
-
- getField() - Method in class freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector
-
Maybe null
;
set if the selector matches fields similar to the returned one.
- getForceLegacyNonListCollections() - Method in class freemarker.template.DefaultObjectWrapper
-
- getForceLegacyNonListCollections() - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- getFTLInstructionStack() - Method in exception freemarker.template.TemplateException
-
Returns the snapshot of the FTL stack trace at the time this exception was created.
- getFTLTypeDescription(TemplateModel) - Static method in class freemarker.template.utility.ClassUtil
-
Returns the type description of a value with FTL terms (not plain class name), as it should be used in
type-related error messages and for debugging purposes.
- getFullTemplatePath(Environment, String, String) - Static method in class freemarker.cache.TemplateCache
-
- getGlobalNamespace() - Method in class freemarker.core.Environment
-
Returns the name-space that contains the globally visible non-data-model variables (usually created with
<#global ...>
).
- getGlobalVariable(String) - Method in class freemarker.core.Environment
-
Returns the globally visible variable of the given name, or null
.
- getGlobalVariables() - Method in class freemarker.core.Environment
-
Returns the read-only hash of globally visible variables.
- getId() - Method in interface freemarker.debug.DebuggedEnvironment
-
Returns a unique identifier for this environment
- getImports() - Method in class freemarker.template.Template
-
- getIncompatibleEnhancements() - Method in class freemarker.template.Configuration
-
- getIncompatibleImprovements() - Method in interface freemarker.core.ParserConfiguration
-
- getIncompatibleImprovements() - Method in class freemarker.core.TemplateConfiguration
-
- getIncompatibleImprovements() - Method in class freemarker.ext.beans.BeansWrapper
-
- getIncompatibleImprovements() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getIncompatibleImprovements() - Method in class freemarker.template.Configuration
-
- getInnerOutputFormat() - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- getInstance(Object, ModelFactory) - Method in class freemarker.ext.beans.BeansWrapper
-
- getInstance(Version) - Static method in class freemarker.ext.beans.DefaultMemberAccessPolicy
-
Returns the singleton that's compatible with the given incompatible improvements version.
- getInstance(Object) - Method in class freemarker.ext.util.ModelCache
-
- getInterpolationSyntax() - Method in interface freemarker.core.ParserConfiguration
-
- getInterpolationSyntax() - Method in class freemarker.core.TemplateConfiguration
-
- getInterpolationSyntax() - Method in class freemarker.template.Configuration
-
- getInterpolationSyntax() - Method in class freemarker.template.Template
-
Returns the interpolation syntax the parser has used for this template.
- getIterableSupport() - Method in class freemarker.template.DefaultObjectWrapper
-
- getIterableSupport() - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- getJythonSupport() - Method in class freemarker.template.DefaultObjectWrapper
-
- getJythonSupport() - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- getKey() - Method in interface freemarker.template.TemplateHashModelEx2.KeyValuePair
-
- getKeyValuePairIterator(TemplateHashModelEx) - Static method in class freemarker.template.utility.TemplateModelUtils
-
- getKnownVariableNames() - Method in class freemarker.core.Environment
-
Returns a set of variable names that are known at the time of call.
- getLastModified(Object) - Method in class freemarker.cache.ByteArrayTemplateLoader
-
- getLastModified(Object) - Method in class freemarker.cache.FileTemplateLoader
-
- getLastModified(Object) - Method in class freemarker.cache.MultiTemplateLoader
-
- getLastModified(Object) - Method in class freemarker.cache.StringTemplateLoader
-
- getLastModified(Object) - Method in interface freemarker.cache.TemplateLoader
-
Returns the time of last modification of the specified template source.
- getLastModified(Object) - Method in class freemarker.cache.URLTemplateLoader
-
- getLastModified(Object) - Method in class freemarker.cache.WebappTemplateLoader
-
- getLazyAutoImports() - Method in class freemarker.core.Configurable
-
- getLazyImports() - Method in class freemarker.core.Configurable
-
- getLine() - Method in class freemarker.debug.Breakpoint
-
Returns the line number of the breakpoint
- getLine() - Method in class freemarker.debug.EnvironmentSuspendedEvent
-
The line number in the template where the execution of the environment
was suspended.
- getLineNumber() - Method in exception freemarker.core.ParseException
-
1-based line number of the failing section, or 0 is the information is not available.
- getLineNumber() - Method in exception freemarker.template.TemplateException
-
1-based line number of the failing section, or null
if the information is not available.
- getLocale() - Method in class freemarker.core.Configurable
-
- getLocalizedLookup() - Method in class freemarker.cache.TemplateCache
-
Returns if localized template lookup is enabled or not.
- getLocalizedLookup() - Method in class freemarker.template.Configuration
-
- getLocalizedString(Locale) - Method in class freemarker.template.LocalizedString
-
- getLocalizedString(Locale) - Method in class freemarker.template.ResourceBundleLocalizedString
-
- getLocalVariable(String) - Method in class freemarker.core.Environment
-
Returns the loop or macro local variable corresponding to this variable name.
- getLocationString() - Method in class freemarker.debug.Breakpoint
-
Returns the template name and the line number separated with a colon
- getLogger(String) - Static method in class freemarker.log.Logger
-
Returns a logger for the specified category.
- getLogTemplateExceptions() - Method in class freemarker.core.Configurable
-
- getMacros() - Method in class freemarker.template.Template
-
- getMainNamespace() - Method in class freemarker.core.Environment
-
Returns the main namespace.
- getMainTemplate() - Method in class freemarker.core.Environment
-
Returns the topmost
Template
, with other words, the one for which this
Environment
was created.
- getMajor() - Method in class freemarker.template.Version
-
The 1st version number, like 1 in "1.2.3".
- getMalformednessDescription() - Method in exception freemarker.template.MalformedTemplateNameException
-
- getMarkupString(MO) - Method in class freemarker.core.CommonMarkupOutputFormat
-
- getMarkupString(MO) - Method in class freemarker.core.MarkupOutputFormat
-
Returns the content as markup text; never null
.
- getMemberAccessPolicy() - Method in class freemarker.ext.beans.BeansWrapper
-
- getMemberAccessPolicy() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getMessage() - Method in exception freemarker.core.ParseException
-
Returns the error location plus the error description.
- getMessage() - Method in exception freemarker.template.Template.WrongEncodingException
-
- getMessage() - Method in exception freemarker.template.TemplateException
-
- getMessageWithoutStackTop() - Method in exception freemarker.template.TemplateException
-
- getMetaInfTldSources() - Method in class freemarker.ext.jsp.TaglibFactory
-
- getMethod() - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput
-
- getMethod() - Method in class freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector
-
Maybe null
;
set if the selector matches methods similar to the returned one.
- getMethodAppearanceFineTuner() - Method in class freemarker.ext.beans.BeansWrapper
-
- getMethodAppearanceFineTuner() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getMethodShadowsProperty() - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- getMicro() - Method in class freemarker.template.Version
-
The 3rd version number, like 3 in "1.2.3".
- getMimeType() - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- getMimeType() - Method in class freemarker.core.CSSOutputFormat
-
- getMimeType() - Method in class freemarker.core.HTMLOutputFormat
-
- getMimeType() - Method in class freemarker.core.JavaScriptOutputFormat
-
- getMimeType() - Method in class freemarker.core.JSONOutputFormat
-
- getMimeType() - Method in class freemarker.core.OutputFormat
-
Returns the MIME type of the output format.
- getMimeType() - Method in class freemarker.core.PlainTextOutputFormat
-
- getMimeType() - Method in class freemarker.core.RTFOutputFormat
-
- getMimeType() - Method in class freemarker.core.UndefinedOutputFormat
-
- getMimeType() - Method in class freemarker.core.XHTMLOutputFormat
-
- getMimeType() - Method in class freemarker.core.XMLOutputFormat
-
- getMinor() - Method in class freemarker.template.Version
-
The 2nd version number, like 2 in "1.2.3".
- getMissingTemplateNormalizedName() - Method in class freemarker.cache.TemplateCache.MaybeMissingTemplate
-
When the template was missing, this possibly contains its normalized name.
- getMissingTemplateReason() - Method in class freemarker.cache.TemplateCache.MaybeMissingTemplate
-
When the template was missing, this possibly contains the explanation, or null
.
- getModelFactory(Class<?>) - Method in class freemarker.ext.beans.BeansWrapper
-
- getModelFactory(Class) - Method in class freemarker.ext.rhino.RhinoWrapper
-
- getModelTypes() - Method in interface freemarker.debug.DebugModel
-
- getMTerminatorLength(TemplateMarkupOutputModel<?>) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Returns the (estimated) length of the argument terminator.
- getMTerminatorRemovesDots(TemplateMarkupOutputModel) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getName() - Method in class freemarker.core.CFormat
-
- getName() - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- getName() - Method in class freemarker.core.CSSOutputFormat
-
- getName() - Method in class freemarker.core.HTMLOutputFormat
-
- getName() - Method in class freemarker.core.JavaCFormat
-
- getName() - Method in class freemarker.core.JavaScriptCFormat
-
- getName() - Method in class freemarker.core.JavaScriptOrJSONCFormat
-
- getName() - Method in class freemarker.core.JavaScriptOutputFormat
-
- getName() - Method in class freemarker.core.JSONCFormat
-
- getName() - Method in class freemarker.core.JSONOutputFormat
-
- getName() - Method in class freemarker.core.LegacyCFormat
-
- getName() - Method in class freemarker.core.OutputFormat
-
The short name used to refer to this format (like in the #ftl
header).
- getName() - Method in class freemarker.core.PlainTextOutputFormat
-
- getName() - Method in class freemarker.core.RTFOutputFormat
-
- getName() - Method in class freemarker.core.UndefinedOutputFormat
-
- getName() - Method in class freemarker.core.XHTMLOutputFormat
-
- getName() - Method in class freemarker.core.XMLOutputFormat
-
- getName() - Method in class freemarker.core.XSCFormat
-
- getName() - Method in class freemarker.debug.EnvironmentSuspendedEvent
-
The name of the template where the execution of the environment
was suspended
- getName() - Method in class freemarker.template.Template
-
The usually path-like (or URL-like) identifier of the template, or possibly null
for non-stored
templates.
- getNamespace(String) - Method in class freemarker.core.Environment
-
Returns the name-space for the name if exists, or null.
- getNamespaceForPrefix(String) - Method in class freemarker.core.Environment
-
- getNamespaceForPrefix(String) - Method in class freemarker.template.Template
-
- getNamingConvention() - Method in interface freemarker.core.ParserConfiguration
-
- getNamingConvention() - Method in class freemarker.core.TemplateConfiguration
-
- getNamingConvention() - Method in class freemarker.template.Configuration
-
- getNewBuiltinClassResolver() - Method in class freemarker.core.Configurable
-
Retrieves the
TemplateClassResolver
used
to resolve classes when "SomeClassName"?new is called in a template.
- getNextSibling() - Method in class freemarker.ext.dom.NodeModel
-
- getNextSibling() - Method in interface freemarker.template.TemplateNodeModelEx
-
- getNode() - Method in class freemarker.ext.dom.NodeModel
-
- getNodeName() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
- getNodeName() - Method in interface freemarker.template.TemplateNodeModel
-
- getNodeNamespace() - Method in class freemarker.ext.dom.NodeModel
-
- getNodeNamespace() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
- getNodeNamespace() - Method in interface freemarker.template.TemplateNodeModel
-
- getNodeType() - Method in class freemarker.ext.dom.NodeModel
-
- getNodeType() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
- getNodeType() - Method in interface freemarker.template.TemplateNodeModel
-
- getNoMatchErrorDetails() - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
Use this to specify the text added to the exception error message when there was no matching choice.
- getNonNullDate(TemplateDateModel) - Static method in class freemarker.core.TemplateFormatUtil
-
- getNonNullNumber(TemplateNumberModel) - Static method in class freemarker.core.TemplateFormatUtil
-
- getNumberFormat() - Method in class freemarker.core.Configurable
-
- getObjectWrapper() - Method in class freemarker.core.Configurable
-
- getObjectWrapper() - Method in class freemarker.ext.jsp.TaglibFactory
-
- getObjectWrapper() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Should be final; don't override it.
- getObjectWrapper() - Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- getObjectWrapper() - Method in class freemarker.template.WrappingTemplateModel
-
Returns the object wrapper instance used by this wrapping template model.
- getOrCreateCustomData(Object, ObjectFactory) - Method in interface freemarker.core.DirectiveCallPlace
-
Returns the custom data, or if that's null
, then it creates and stores it in an atomic operation then
returns it.
- getOut() - Method in class freemarker.core.Environment
-
- getOuterIdentity() - Method in class freemarker.ext.beans.BeansWrapper
-
By default returns this.
- getOuterIdentity() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getOuterOutputFormat() - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- getOutputEncoding() - Method in class freemarker.core.Configurable
-
- getOutputFormat() - Method in class freemarker.core.CommonTemplateMarkupOutputModel
-
- getOutputFormat() - Method in interface freemarker.core.ParserConfiguration
-
- getOutputFormat() - Method in class freemarker.core.TemplateCombinedMarkupOutputModel
-
- getOutputFormat() - Method in class freemarker.core.TemplateConfiguration
-
- getOutputFormat() - Method in class freemarker.core.TemplateHTMLOutputModel
-
- getOutputFormat() - Method in interface freemarker.core.TemplateMarkupOutputModel
-
Returns the singleton
OutputFormat
object that implements the operations for the "markup output" value.
- getOutputFormat() - Method in class freemarker.core.TemplateRTFOutputModel
-
- getOutputFormat() - Method in class freemarker.core.TemplateXHTMLOutputModel
-
- getOutputFormat() - Method in class freemarker.core.TemplateXMLOutputModel
-
- getOutputFormat() - Method in class freemarker.template.Configuration
-
- getOutputFormat(String) - Method in class freemarker.template.Configuration
-
Returns the output format for a name.
- getOutputFormat() - Method in class freemarker.template.Template
-
- getParent() - Method in class freemarker.core.Configurable
-
- getParent() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- getParentConfiguration() - Method in class freemarker.core.TemplateConfiguration
-
Returns the parent
Configuration
, or
null
if none was associated yet.
- getParentNode() - Method in class freemarker.ext.dom.NodeModel
-
- getParentNode() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
- getParentNode() - Method in interface freemarker.template.TemplateNodeModel
-
- getParsedIncompatibleEnhancements() - Method in class freemarker.template.Configuration
-
- getParserConfiguration() - Method in class freemarker.template.Template
-
- getPlainTextTemplate(String, String, Configuration) - Static method in class freemarker.template.Template
-
- getPlainTextTemplate(String, String, String, Configuration) - Static method in class freemarker.template.Template
-
Creates (not "get"-s) a
Template
that only contains a single block of static text, no dynamic content.
- getPreferIndexedReadMethod() - Method in class freemarker.ext.beans.BeansWrapper
-
- getPreferIndexedReadMethod() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getPrefixedName(String, String) - Method in class freemarker.template.Template
-
- getPrefixForNamespace(String) - Method in class freemarker.core.Environment
-
- getPrefixForNamespace(String) - Method in class freemarker.template.Template
-
- getPreviousSibling() - Method in class freemarker.ext.dom.NodeModel
-
- getPreviousSibling() - Method in interface freemarker.template.TemplateNodeModelEx
-
- getPythonClassName(PyObject) - Method in class freemarker.ext.jython.JythonVersionAdapter
-
Returns pyObject.__class__.__name__
- getReader(Object, String) - Method in class freemarker.cache.ByteArrayTemplateLoader
-
- getReader(Object, String) - Method in class freemarker.cache.FileTemplateLoader
-
- getReader(Object, String) - Method in class freemarker.cache.MultiTemplateLoader
-
- getReader(Object, String) - Method in class freemarker.cache.StringTemplateLoader
-
- getReader(Object, String) - Method in interface freemarker.cache.TemplateLoader
-
Returns the character stream of a template represented by the specified template source.
- getReader(Object, String) - Method in class freemarker.cache.URLTemplateLoader
-
- getReader(Object, String) - Method in class freemarker.cache.WebappTemplateLoader
-
- getReasourceAsStream(Class<?>, String, boolean) - Static method in class freemarker.template.utility.ClassUtil
-
Very similar to Class.getResourceAsStream(String)
, but throws IOException
instead of returning
null
if optional
is false
, and attempts to work around "IllegalStateException: zip file
closed" and similar sun.net.www.protocol.jar.JarURLConnection
-related glitches.
- getReasourceAsStream(ClassLoader, String, boolean) - Static method in class freemarker.template.utility.ClassUtil
-
- getRecognizeStandardFileExtensions() - Method in interface freemarker.core.ParserConfiguration
-
- getRecognizeStandardFileExtensions() - Method in class freemarker.core.TemplateConfiguration
-
- getRecognizeStandardFileExtensions() - Method in class freemarker.template.Configuration
-
- getRegisteredCustomOutputFormats() - Method in class freemarker.template.Configuration
-
- getReplaceExistingProperty() - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- getReplaceWithCause() - Method in exception freemarker.template.TemplateModelException
-
Indicates that the cause exception should be thrown instead of this exception; it was only wrapped into this
exception due to API constraints.
- getRequest() - Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- getResourceLoaderClass() - Method in class freemarker.cache.ClassTemplateLoader
-
- getResponse() - Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- getRootContainerPattern() - Method in class freemarker.ext.jsp.TaglibFactory.ClasspathMetaInfTldSource
-
See constructor argument: #ClasspathMetaInfTldSource(Pattern)
.
- getRootTreeNode() - Method in class freemarker.template.Template
-
- getServlet() - Method in class freemarker.ext.servlet.ServletContextHashModel
-
Returns the underlying servlet.
- getSetting(String) - Method in class freemarker.core.Configurable
-
- getSettingNames(boolean) - Method in class freemarker.core.Configurable
-
- getSettingNames(boolean) - Method in class freemarker.template.Configuration
-
- getSettings() - Method in class freemarker.core.Configurable
-
- getSharedVariable(String) - Method in class freemarker.template.Configuration
-
Gets a shared variable.
- getSharedVariableNames() - Method in class freemarker.template.Configuration
-
Returns the set containing the names of all defined shared sharedVariables.
- getShortClassName(Class) - Static method in class freemarker.template.utility.ClassUtil
-
- getShortClassName(Class, boolean) - Static method in class freemarker.template.utility.ClassUtil
-
Returns a class name without "java.lang." and "java.util." prefix, also shows array types in a format like
int[]
; useful for printing class names in error messages.
- getShortClassNameOfObject(Object) - Static method in class freemarker.template.utility.ClassUtil
-
- getShortClassNameOfObject(Object, boolean) - Static method in class freemarker.template.utility.ClassUtil
-
- getShowErrorTips() - Method in class freemarker.core.Configurable
-
- getSignum(Number) - Static method in class freemarker.template.utility.NumberUtil
-
- getSize() - Method in interface freemarker.cache.CacheStorageWithGetSize
-
Returns the current number of cache entries.
- getSize() - Method in class freemarker.cache.MruCacheStorage
-
Returns a close approximation of the current number of cache entries.
- getSize() - Method in class freemarker.cache.NullCacheStorage
-
Always returns 0.
- getSize() - Method in class freemarker.cache.SoftCacheStorage
-
Returns a close approximation of the number of cache entries.
- getSize() - Method in class freemarker.cache.StrongCacheStorage
-
Returns a close approximation of the number of cache entries.
- getSoftSize() - Method in class freemarker.cache.MruCacheStorage
-
Returns a close approximation of the current number of soft cache entries.
- getSoftSizeLimit() - Method in class freemarker.cache.MruCacheStorage
-
Returns the configured upper limit of the number of soft cache entries.
- getSource(int, int, int, int) - Method in class freemarker.template.Template
-
Returns the template source at the location specified by the coordinates given, or null
if unavailable.
- getSourceName() - Method in class freemarker.template.Template
-
The name that was actually used to load this template from the
TemplateLoader
(or from other custom
storage mechanism).
- getSourcePlainText(MO) - Method in class freemarker.core.CommonMarkupOutputFormat
-
- getSourcePlainText(MO) - Method in class freemarker.core.MarkupOutputFormat
-
- getSQLDateAndTimeTimeZone() - Method in class freemarker.core.Configurable
-
- getStaticModels() - Method in class freemarker.ext.beans.BeansWrapper
-
Returns a hash model that represents the so-called class static models.
- getStrictSyntaxMode() - Method in interface freemarker.core.ParserConfiguration
-
- getStrictSyntaxMode() - Method in class freemarker.core.TemplateConfiguration
-
- getStrictSyntaxMode() - Method in class freemarker.template.Configuration
-
- getStrongSize() - Method in class freemarker.cache.MruCacheStorage
-
Returns the current number of strong cache entries.
- getStrongSizeLimit() - Method in class freemarker.cache.MruCacheStorage
-
Returns the configured upper limit of the number of strong cache entries.
- getSupportedBuiltInDirectiveNames() - Method in class freemarker.template.Configuration
-
- getSupportedBuiltInDirectiveNames(int) - Method in class freemarker.template.Configuration
-
Returns the names of the directives that are predefined by FreeMarker.
- getSupportedBuiltInNames() - Method in class freemarker.template.Configuration
-
- getSupportedBuiltInNames(int) - Method in class freemarker.template.Configuration
-
Returns the names of the supported "built-ins".
- getSupportsIndexedAccess() - Method in class freemarker.ext.beans.CollectionModel
-
- getSuspendedEnvironments() - Method in interface freemarker.debug.Debugger
-
- getSymbol() - Method in enum freemarker.template.utility.StringUtil.JsStringEncQuotation
-
- getSystemProperty(String) - Static method in class freemarker.template.utility.SecurityUtilities
-
- getSystemProperty(String, String) - Static method in class freemarker.template.utility.SecurityUtilities
-
- getSystemProperty(String, int) - Static method in class freemarker.template.utility.SecurityUtilities
-
- getTabSize() - Method in interface freemarker.core.ParserConfiguration
-
- getTabSize() - Method in class freemarker.core.TemplateConfiguration
-
- getTabSize() - Method in class freemarker.template.Configuration
-
- getTagSyntax() - Method in interface freemarker.core.ParserConfiguration
-
- getTagSyntax() - Method in class freemarker.core.TemplateConfiguration
-
- getTagSyntax() - Method in class freemarker.template.Configuration
-
- getTemplate(String, Locale, Object, String, boolean) - Method in class freemarker.cache.TemplateCache
-
Retrieves the template with the given name (and according the specified further parameters) from the template
cache, loading it into the cache first if it's missing/staled.
- getTemplate(String, Locale, String, boolean) - Method in class freemarker.cache.TemplateCache
-
- getTemplate() - Method in class freemarker.cache.TemplateCache.MaybeMissingTemplate
-
The
Template
if it wasn't missing, otherwise
null
.
- getTemplate() - Method in interface freemarker.core.DirectiveCallPlace
-
The template that contains this call; null
if the call is not from a template (but directly from
user Java code, for example).
- getTemplate() - Method in class freemarker.core.Environment
-
- getTemplate() - Method in class freemarker.core.Environment.Namespace
-
- getTemplate(String) - Method in class freemarker.template.Configuration
-
Retrieves the template with the given name from the template cache, loading it into the cache first if it's
missing/staled.
- getTemplate(String, Locale) - Method in class freemarker.template.Configuration
-
- getTemplate(String, String) - Method in class freemarker.template.Configuration
-
- getTemplate(String, Locale, String) - Method in class freemarker.template.Configuration
-
- getTemplate(String, Locale, String, boolean) - Method in class freemarker.template.Configuration
-
- getTemplate(String, Locale, String, boolean, boolean) - Method in class freemarker.template.Configuration
-
- getTemplate(String, Locale, Object, String, boolean, boolean) - Method in class freemarker.template.Configuration
-
Retrieves the template with the given name (and according the specified further parameters) from the template
cache, loading it into the cache first if it's missing/staled.
- getTemplateConfigurations() - Method in class freemarker.cache.TemplateCache
-
- getTemplateConfigurations() - Method in class freemarker.template.Configuration
-
- getTemplateDateFormat(int, Class<? extends Date>) - Method in class freemarker.core.Environment
-
Gets a
TemplateDateFormat
using the date/time/datetime format settings and the current locale and time
zone.
- getTemplateDateFormat(String, int, Class<? extends Date>) - Method in class freemarker.core.Environment
-
Gets a
TemplateDateFormat
for the specified format string and the current locale and time zone.
- getTemplateDateFormat(String, int, Class<? extends Date>, Locale) - Method in class freemarker.core.Environment
-
- getTemplateDateFormat(String, int, Class<? extends Date>, Locale, TimeZone, TimeZone) - Method in class freemarker.core.Environment
-
- getTemplateDateFormat(String, int, Locale, TimeZone, boolean) - Method in class freemarker.core.Environment
-
- getTemplateExceptionHandler() - Method in class freemarker.core.Configurable
-
- getTemplateForImporting(String) - Method in class freemarker.core.Environment
-
- getTemplateForInclusion(String, String, boolean) - Method in class freemarker.core.Environment
-
- getTemplateForInclusion(String, String, boolean, boolean) - Method in class freemarker.core.Environment
-
- getTemplateLoader(int) - Method in class freemarker.cache.MultiTemplateLoader
-
- getTemplateLoader() - Method in class freemarker.cache.TemplateCache
-
- getTemplateLoader() - Method in class freemarker.template.Configuration
-
- getTemplateLoaderCount() - Method in class freemarker.cache.MultiTemplateLoader
-
- getTemplateLocale() - Method in class freemarker.cache.TemplateLookupContext
-
- getTemplateLookupStrategy() - Method in class freemarker.cache.TemplateCache
-
- getTemplateLookupStrategy() - Method in class freemarker.template.Configuration
-
- getTemplateModel() - Method in class freemarker.ext.beans.HashAdapter
-
- getTemplateModel() - Method in interface freemarker.template.TemplateModelAdapter
-
- getTemplateName() - Method in class freemarker.cache.TemplateLookupContext
-
The normalized name (path) of the template (relatively to the
TemplateLoader
).
- getTemplateName() - Method in exception freemarker.core.ParseException
-
Returns the name (template-root relative path) of the template whose parsing was failed.
- getTemplateName() - Method in class freemarker.debug.Breakpoint
-
Returns the template name of the breakpoint
- getTemplateName() - Method in exception freemarker.template.MalformedTemplateNameException
-
- getTemplateName() - Method in exception freemarker.template.TemplateException
-
- getTemplateName() - Method in exception freemarker.template.TemplateNotFoundException
-
The name (path) of the template that wasn't found.
- getTemplateNameFormat() - Method in class freemarker.cache.TemplateCache
-
- getTemplateNameFormat() - Method in class freemarker.template.Configuration
-
- getTemplateNumberFormat() - Method in class freemarker.core.Environment
-
- getTemplateNumberFormat(String) - Method in class freemarker.core.Environment
-
Returns the number format as
TemplateNumberFormat
for the given format string and the current locale.
- getTemplateNumberFormat(String, Locale) - Method in class freemarker.core.Environment
-
- getTemplatePath() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- getTemplateSourceName() - Method in class freemarker.cache.TemplateLookupResult
-
- getTemplateSourceName() - Method in exception freemarker.template.TemplateException
-
Returns the source name (
Template.getSourceName()
) of the template where the error has occurred, or
null
if the information isn't available.
- getTemplateSpecifiedEncoding() - Method in exception freemarker.template.Template.WrongEncodingException
-
- getTemplateUpdateDelayMilliseconds() - Method in class freemarker.template.Configuration
-
- getTerminatorRemovesDots(String) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Tells if the dots touched by the terminator text should be removed.
- getTimeFormat() - Method in class freemarker.core.Configurable
-
- getTimeZone() - Method in class freemarker.core.Configurable
-
- getTimeZone(String) - Static method in class freemarker.template.utility.DateUtil
-
Returns the time zone object for the name (or ID).
- getTimeZoneName() - Method in exception freemarker.template.utility.UnrecognizedTimeZoneException
-
- getTreatDefaultMethodsAsBeanMembers() - Method in class freemarker.ext.beans.BeansWrapper
-
- getTreatDefaultMethodsAsBeanMembers() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getTruncateBuiltinAlgorithm() - Method in class freemarker.core.Configurable
-
- getUndeclaredThrowable() - Method in exception freemarker.template.utility.UndeclaredThrowableException
-
- getUnsupportedClass() - Method in exception freemarker.template.utility.UnsupportedNumberClassException
-
- getUpperBoundType() - Method in class freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector
-
Not null
.
- getURL(String) - Method in class freemarker.cache.ClassTemplateLoader
-
- getURL(String) - Method in class freemarker.cache.URLTemplateLoader
-
Given a template name (plus potential locale decorations) retrieves
an URL that points the template source.
- getURLConnectionUsesCaches() - Method in class freemarker.cache.URLTemplateLoader
-
- getURLConnectionUsesCaches() - Method in class freemarker.cache.WebappTemplateLoader
-
- getURLEscapingCharset() - Method in class freemarker.core.Configurable
-
- getUseAdaptersForContainers() - Method in class freemarker.template.DefaultObjectWrapper
-
- getUseAdaptersForContainers() - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- getUseCache() - Method in class freemarker.ext.beans.BeansWrapper
-
- getUseCache() - Method in class freemarker.ext.util.ModelCache
-
- getUseModelCache() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- getValue() - Method in interface freemarker.template.TemplateHashModelEx2.KeyValuePair
-
- getVariable(String) - Method in class freemarker.core.Environment
-
Returns the variable that is visible in this context, or null
if the variable is not found.
- getVersion() - Static method in class freemarker.template.Configuration
-
Returns FreeMarker version information, most importantly the major.minor.micro version numbers;
do NOT use this as the value of the
incompatible_improvements
setting (as the parameter to
Configuration.Configuration(Version)
), as then your application can break when you upgrade FreeMarker!
Use a constant value, like
Configuration.VERSION_2_3_28
, to protect your application from fixes/changes that aren't
entirely backward compatible.
- getVersionNumber() - Static method in class freemarker.template.Configuration
-
- getWhitespaceStripping() - Method in interface freemarker.core.ParserConfiguration
-
- getWhitespaceStripping() - Method in class freemarker.core.TemplateConfiguration
-
- getWhitespaceStripping() - Method in class freemarker.template.Configuration
-
Gets whether the FTL parser will try to remove
superfluous white-space around certain FTL tags.
- getWordBoundaryMinLength() - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- getWrappedObject() - Method in class freemarker.ext.beans.BeanModel
-
- getWrappedObject() - Method in class freemarker.ext.beans.SimpleMapModel
-
- getWrappedObject() - Method in class freemarker.ext.dom.NodeModel
-
- getWrappedObject() - Method in class freemarker.ext.jython.JythonModel
-
- getWrappedObject() - Method in interface freemarker.ext.util.WrapperTemplateModel
-
Retrieves the original object wrapped by this model.
- getWrappedObject() - Method in class freemarker.template.DefaultEnumerationAdapter
-
- getWrappedObject() - Method in class freemarker.template.DefaultIterableAdapter
-
- getWrappedObject() - Method in class freemarker.template.DefaultIteratorAdapter
-
- getWrappedObject() - Method in class freemarker.template.DefaultListAdapter
-
- getWrappedObject() - Method in class freemarker.template.DefaultMapAdapter
-
- getWrappedObject() - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- getWrappedObject() - Method in class freemarker.template.TemplateModelListSequence
-
Returns the original
List
of
TemplateModel
-s, so it's not a fully unwrapped value.
- getWrapUncheckedExceptions() - Method in class freemarker.core.Configurable
-
- getWriter(Writer, Map) - Method in interface freemarker.template.TemplateTransformModel
-
Returns a writer that will be used by the engine to feed the transformation input to the transform.
- getWriter(Writer, Map) - Method in class freemarker.template.utility.CaptureOutput
-
Deprecated.
- getWriter(Writer, Map) - Method in class freemarker.template.utility.HtmlEscape
-
- getWriter(Writer, Map) - Method in class freemarker.template.utility.JythonRuntime
-
- getWriter(Writer, Map) - Method in class freemarker.template.utility.NormalizeNewlines
-
- getWriter(Writer, Map) - Method in class freemarker.template.utility.StandardCompress
-
- getWriter(Writer, Map) - Method in class freemarker.template.utility.XmlEscape
-
- getX() - Method in class freemarker.ext.beans.delme.AdhocTestNonPublicSubType
-
- getX() - Method in class freemarker.ext.beans.delme.AdhocTestPublicType
-
- getXPathSupportClass() - Static method in class freemarker.ext.dom.NodeModel
-
Get the currently used freemarker.ext.dom.XPathSupport used as the XPath engine.
- getY() - Method in class freemarker.ext.beans.delme.AdhocTestPublicType
-
- getYesNo(String) - Static method in class freemarker.template.utility.StringUtil
-
- globToRegularExpression(String) - Static method in class freemarker.template.utility.StringUtil
-
- globToRegularExpression(String, boolean) - Static method in class freemarker.template.utility.StringUtil
-
Creates a regular expression from a glob.
- IdentityHashMap - Class in freemarker.ext.util
-
- IdentityHashMap(int, float) - Constructor for class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Constructs a new, empty map with the specified initial
capacity and the specified load factor.
- IdentityHashMap(int) - Constructor for class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Constructs a new, empty map with the specified initial capacity
and default load factor, which is 0.75.
- IdentityHashMap() - Constructor for class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Constructs a new, empty map with a default capacity and load
factor, which is 0.75.
- IdentityHashMap(Map) - Constructor for class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Constructs a new map with the same mappings as the given map.
- IGNORE_HANDLER - Static variable in interface freemarker.template.TemplateExceptionHandler
-
- importLib(String, String) - Method in class freemarker.core.Environment
-
Emulates import
directive, except that templateName
must be template root relative.
- importLib(Template, String) - Method in class freemarker.core.Environment
-
Does what the #import
directive does, but with an already loaded template.
- importLib(String, String, boolean) - Method in class freemarker.core.Environment
-
- include(String, String, boolean) - Method in class freemarker.core.Environment
-
Emulates include
directive, except that name
must be template root relative.
- include(Template) - Method in class freemarker.core.Environment
-
Processes a Template in the context of this Environment
, including its output in the
Environment
's Writer.
- IncludePage - Class in freemarker.ext.servlet
-
A model that when invoked with a 'path' parameter will perform a servlet
include.
- IncludePage(HttpServletRequest, HttpServletResponse) - Constructor for class freemarker.ext.servlet.IncludePage
-
- INCOMPATIBLE_ENHANCEMENTS - Static variable in class freemarker.template.Configuration
-
- INCOMPATIBLE_IMPROVEMENTS - Static variable in class freemarker.template.Configuration
-
- INCOMPATIBLE_IMPROVEMENTS_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- INCOMPATIBLE_IMPROVEMENTS_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- INCOMPATIBLE_IMPROVEMENTS_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- info(String) - Method in class freemarker.log.Logger
-
Logs an informational message.
- info(String, Throwable) - Method in class freemarker.log.Logger
-
Logs an informational message with accompanying throwable.
- init() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_BUFFER_SIZE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_CLASSPATH_TLDS - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_CONTENT_TYPE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_EXCEPTION_ON_MISSING_TEMPLATE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_META_INF_TLD_LOCATIONS - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_NO_CACHE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_OVERRIDE_RESPONSE_CONTENT_TYPE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_OVERRIDE_RESPONSE_LOCALE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_RESPONSE_CHARACTER_ENCODING - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_TEMPLATE_PATH - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
Init-param name - see the
FreemarkerServlet
class documentation about the init-params.
- INIT_PARAM_VALUE_ALWAYS - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_VALUE_DO_NOT_SET - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_VALUE_FORCE_PREFIX - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_VALUE_FROM_TEMPLATE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_VALUE_LEGACY - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_VALUE_NEVER - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- INIT_PARAM_VALUE_WHEN_TEMPLATE_HAS_MIME_TYPE - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- initializeServletContext(HttpServletRequest, HttpServletResponse) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Called when servlet detects in a request processing that
application-global (that is, ServletContext-specific) attributes are not yet
set.
- initializeSession(HttpServletRequest, HttpServletResponse) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Called when servlet detects in a request processing that session-global
(that is, HttpSession-specific) attributes are not yet set.
- insertDefaults(Map) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- INSTANCE - Static variable in class freemarker.cache.NullCacheStorage
-
- INSTANCE - Static variable in class freemarker.core.CSSOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.HTMLOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.JavaCFormat
-
- INSTANCE - Static variable in class freemarker.core.JavaScriptCFormat
-
- INSTANCE - Static variable in class freemarker.core.JavaScriptOrJSONCFormat
-
- INSTANCE - Static variable in class freemarker.core.JavaScriptOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.JSONCFormat
-
- INSTANCE - Static variable in class freemarker.core.JSONOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.LegacyCFormat
-
- INSTANCE - Static variable in class freemarker.core.PlainTextOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.RTFOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.UndefinedOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.XHTMLOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.XMLOutputFormat
-
- INSTANCE - Static variable in class freemarker.core.XSCFormat
-
- INSTANCE - Static variable in class freemarker.ext.beans.delme.AdhocTestPublicType
-
- INSTANCE - Static variable in class freemarker.ext.beans.LegacyDefaultMemberAccessPolicy
-
- INSTANCE - Static variable in class freemarker.ext.jsp.TaglibFactory.ClearMetaInfTldSource
-
- INSTANCE - Static variable in class freemarker.ext.jsp.TaglibFactory.WebInfPerLibJarMetaInfTldSource
-
- INSTANCE - Static variable in class freemarker.ext.jython.JythonWrapper
-
- INSTANCE - Static variable in class freemarker.template.utility.NullWriter
-
- INSTANCE - Static variable in class freemarker.template.utility.StandardCompress
-
- INTERPOLATION_SYNTAX_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- INTERPOLATION_SYNTAX_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- INTERPOLATION_SYNTAX_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- intValue() - Method in class freemarker.template.Version
-
- intValueFor(int, int, int) - Static method in class freemarker.template.Version
-
- InvalidFormatParametersException - Exception in freemarker.core
-
- InvalidFormatParametersException(String, Throwable) - Constructor for exception freemarker.core.InvalidFormatParametersException
-
- InvalidFormatParametersException(String) - Constructor for exception freemarker.core.InvalidFormatParametersException
-
- InvalidFormatStringException - Exception in freemarker.core
-
- InvalidFormatStringException(String, Throwable) - Constructor for exception freemarker.core.InvalidFormatStringException
-
- InvalidFormatStringException(String) - Constructor for exception freemarker.core.InvalidFormatStringException
-
- InvalidPropertyException - Exception in freemarker.ext.beans
-
An exception thrown when there is an attempt to access
an invalid bean property when we are in a "strict bean" mode
- InvalidPropertyException(String) - Constructor for exception freemarker.ext.beans.InvalidPropertyException
-
- InvalidReferenceException - Exception in freemarker.core
-
A subclass of
TemplateException
that says that an FTL expression has evaluated to
null
or it refers
to something that doesn't exist.
- InvalidReferenceException(Environment) - Constructor for exception freemarker.core.InvalidReferenceException
-
Creates and invalid reference exception that contains no information about what was missing or null.
- InvalidReferenceException(String, Environment) - Constructor for exception freemarker.core.InvalidReferenceException
-
Creates and invalid reference exception that contains no programmatically extractable information about the
blamed expression.
- invalidSettingValueException(String, String) - Method in class freemarker.core.Configurable
-
- invokeGenericGet(Map, Class<?>, String) - Method in class freemarker.ext.beans.BeanModel
-
- invokeGenericGet(Map, Class, String) - Method in class freemarker.ext.beans.MapModel
-
Overridden to invoke the generic get method by casting to Map instead of
through reflection - should yield better performance.
- invokeGenericGet(Map, Class, String) - Method in class freemarker.ext.beans.ResourceBundleModel
-
Overridden to invoke the getObject method of the resource bundle.
- invokeMethod(Object, Method, Object[]) - Method in class freemarker.ext.beans.BeansWrapper
-
Invokes the specified method, wrapping the return value.
- isAPIBuiltinEnabled() - Method in class freemarker.core.Configurable
-
- isAPIBuiltinEnabledSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isArithmeticEngineSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isAttemptExceptionReporterExplicitlySet() - Method in class freemarker.template.Configuration
-
- isAttemptExceptionReporterSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isAutoEscapedByDefault() - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- isAutoEscapedByDefault() - Method in class freemarker.core.CommonMarkupOutputFormat
-
- isAutoEscapedByDefault() - Method in class freemarker.core.MarkupOutputFormat
-
Tells if by default auto-escaping should be on for this format.
- isAutoEscapingPolicySet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isAutoFlushSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isAutoImportsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isAutoIncludesSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isBackslashEscapedFTLIdentifierCharacter(char) - Static method in class freemarker.template.utility.StringUtil
-
Tells if a character can occur in an FTL identifier if it's preceded with a backslash.
- isBooleanFormatSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isCacheable(Object) - Method in class freemarker.ext.beans.BeansModelCache
-
- isCacheable(Object) - Method in class freemarker.ext.util.ModelCache
-
- isCacheStorageExplicitlySet() - Method in class freemarker.template.Configuration
-
- isCaseInsensitive() - Method in class freemarker.cache.FileExtensionMatcher
-
- isCaseInsensitive() - Method in class freemarker.cache.FileNameGlobMatcher
-
- isCaseInsensitive() - Method in class freemarker.cache.PathGlobMatcher
-
- isCFormatExplicitlySet() - Method in class freemarker.template.Configuration
-
- isCFormatSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isClassicCompatible() - Method in class freemarker.core.Configurable
-
Returns whether the engine runs in the "Classic Compatibile" mode.
- isClassicCompatibleSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isClassIntrospectionCacheRestricted() - Method in class freemarker.ext.beans.BeansWrapper
-
Tells if this instance acts like if its class introspection cache is sharable with other
BeansWrapper
-s.
- isConcurrent() - Method in interface freemarker.cache.ConcurrentCacheStorage
-
Returns true if this instance of cache storage is concurrently
accessible from multiple threads without synchronization.
- isConcurrent() - Method in class freemarker.cache.NullCacheStorage
-
- isConcurrent() - Method in class freemarker.cache.SoftCacheStorage
-
Returns true if the underlying Map is a ConcurrentMap
.
- isConcurrent() - Method in class freemarker.cache.StrongCacheStorage
-
Always returns true
.
- isConstructorExposed(Constructor<?>) - Method in interface freemarker.ext.beans.ClassMemberAccessPolicy
-
- isCustomDateFormatsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isCustomNumberFormatsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isDateFormatSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isDateTimeFormatSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isDebugEnabled() - Method in class freemarker.log.Logger
-
Returns true if this logger will log debug messages.
- isDefaultEncodingExplicitlySet() - Method in class freemarker.template.Configuration
-
- isEmpty(MO) - Method in class freemarker.core.CommonMarkupOutputFormat
-
- isEmpty(MO) - Method in class freemarker.core.MarkupOutputFormat
-
Returns if the markup is empty (0 length).
- isEmpty() - Method in class freemarker.ext.beans.ArrayModel
-
- isEmpty() - Method in class freemarker.ext.beans.BeanModel
-
Tells whether the model is empty.
- isEmpty() - Method in class freemarker.ext.beans.HashAdapter
-
- isEmpty() - Method in class freemarker.ext.beans.MapModel
-
- isEmpty() - Method in class freemarker.ext.beans.ResourceBundleModel
-
Returns true if this bundle contains no objects.
- isEmpty() - Method in class freemarker.ext.beans.SimpleMapModel
-
- isEmpty() - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
Returns true if this model contains no nodes.
- isEmpty() - Method in class freemarker.ext.jsp.TaglibFactory
-
Returns false.
- isEmpty() - Method in class freemarker.ext.jython.JythonModel
-
Returns PyObject.__len__()
== 0
.
- isEmpty() - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- isEmpty() - Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- isEmpty() - Method in class freemarker.ext.servlet.HttpRequestParametersHashModel
-
- isEmpty() - Method in class freemarker.ext.servlet.HttpSessionHashModel
-
- isEmpty() - Method in class freemarker.ext.servlet.ServletContextHashModel
-
- isEmpty() - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Returns true if this map contains no key-value mappings.
- isEmpty() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
Returns true if this NodeListModel contains no nodes.
- isEmpty() - Method in class freemarker.template.DefaultMapAdapter
-
- isEmpty() - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- isEmpty() - Method in class freemarker.template.SimpleHash
-
- isEmpty() - Method in interface freemarker.template.TemplateCollectionModelEx
-
Returns if the collection contains any elements.
- isEmpty() - Method in interface freemarker.template.TemplateHashModel
-
- isEmpty() - Method in class freemarker.template.utility.DOMNodeModel
-
Deprecated.
- isEncodingSet() - Method in class freemarker.core.TemplateConfiguration
-
- isErrorEnabled() - Method in class freemarker.log.Logger
-
Returns true if this logger will log error messages.
- isExposeFields() - Method in class freemarker.ext.beans.BeansWrapper
-
Returns whether exposure of public instance fields of classes is
enabled.
- isFatalEnabled() - Method in class freemarker.log.Logger
-
Returns true if this logger will log fatal error messages.
- isFieldExposed(Field) - Method in interface freemarker.ext.beans.ClassMemberAccessPolicy
-
- isFTLIdentifierPart(char) - Static method in class freemarker.template.utility.StringUtil
-
Tells if a character can occur in an FTL identifier expression (without escaping) as other than the first
character.
- isFTLIdentifierStart(char) - Static method in class freemarker.template.utility.StringUtil
-
Tells if a character can occur on the beginning of an FTL identifier expression (without escaping).
- isGAECompliant() - Method in class freemarker.template.Version
-
- isIgnoredLine(String) - Static method in class freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector
-
A line is ignored if it's blank or a comment.
- isInAttemptBlock() - Method in class freemarker.core.Environment
-
Tells if we are inside an #attempt block (but before #recover).
- isInfinite(Number) - Static method in class freemarker.template.utility.NumberUtil
-
- isInfoEnabled() - Method in class freemarker.log.Logger
-
Returns true if this logger will log informational messages.
- isIntegerBigDecimal(BigDecimal) - Static method in class freemarker.template.utility.NumberUtil
-
Tells if a BigDecimal
stores a whole number.
- isInterpolationSyntaxSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isLazyAutoImportsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isLazyImportsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isLegacyBuiltInBypassed(String) - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- isLegacyBuiltInBypassed(String) - Method in class freemarker.core.HTMLOutputFormat
-
- isLegacyBuiltInBypassed(String) - Method in class freemarker.core.MarkupOutputFormat
-
- isLegacyBuiltInBypassed(String) - Method in class freemarker.core.RTFOutputFormat
-
- isLegacyBuiltInBypassed(String) - Method in class freemarker.core.XHTMLOutputFormat
-
- isLegacyBuiltInBypassed(String) - Method in class freemarker.core.XMLOutputFormat
-
- isLocaleBound() - Method in class freemarker.core.TemplateDateFormat
-
Tells if this formatter should be re-created if the locale changes.
- isLocaleBound() - Method in class freemarker.core.TemplateNumberFormat
-
Tells if this formatter should be re-created if the locale changes.
- isLocaleExplicitlySet() - Method in class freemarker.template.Configuration
-
- isLocaleSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isLogTemplateExceptionsExplicitlySet() - Method in class freemarker.template.Configuration
-
- isLogTemplateExceptionsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isMethodExposed(Method) - Method in interface freemarker.ext.beans.ClassMemberAccessPolicy
-
- isNamingConventionSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isNaN(Number) - Static method in class freemarker.template.utility.NumberUtil
-
- isNestedOutputCacheable() - Method in interface freemarker.core.DirectiveCallPlace
-
Tells if the nested content (the body) can be safely cached, as it only depends on the template content (not on
variable values and such) and has no side-effects (other than writing to the output).
- isNewBuiltinClassResolverSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isNumberFormatSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isNumerical(Class) - Static method in class freemarker.template.utility.ClassUtil
-
Tells if a type is numerical; works both for primitive types and classes.
- isObjectWrapperExplicitlySet() - Method in class freemarker.template.Configuration
-
- isObjectWrapperSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isOutputEncodingSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isOutputFormatExplicitlySet() - Method in class freemarker.template.Configuration
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.CombinedMarkupOutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.CommonMarkupOutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.CSSOutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.JavaScriptOutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.JSONOutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.OutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.PlainTextOutputFormat
-
- isOutputFormatMixingAllowed() - Method in class freemarker.core.UndefinedOutputFormat
-
- isOutputFormatSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isPositive() - Method in class freemarker.cache.TemplateLookupResult
-
Tells if the lookup has found a matching template.
- isPyInstance(Object) - Method in class freemarker.ext.jython.JythonVersionAdapter
-
Returns
obj instanceof Py[Java]Instance
.
- isRecognizeStandardFileExtensionsExplicitlySet() - Method in class freemarker.template.Configuration
-
- isRecognizeStandardFileExtensionsSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isShowErrorTipsSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isSimpleMapWrapper() - Method in class freemarker.ext.beans.BeansWrapper
-
Tells whether Maps are exposed as simple maps, without access to their
method.
- isSimpleMapWrapper() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- isSQLDateAndTimeTimeZoneSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isSticky() - Method in class freemarker.cache.MultiTemplateLoader
-
- isStrict() - Method in class freemarker.ext.beans.BeansWrapper
-
- isStrict() - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- isStrictSyntaxModeSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isTabSizeSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isTagSyntaxSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isTemplateExceptionHandlerExplicitlySet() - Method in class freemarker.template.Configuration
-
- isTemplateExceptionHandlerSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isTemplateLoaderExplicitlySet() - Method in class freemarker.template.Configuration
-
- isTemplateLookupStrategyExplicitlySet() - Method in class freemarker.template.Configuration
-
- isTemplateNameFormatExplicitlySet() - Method in class freemarker.template.Configuration
-
- isTimeFormatSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isTimeZoneBound() - Method in class freemarker.core.TemplateDateFormat
-
Tells if this formatter should be re-created if the time zone changes.
- isTimeZoneExplicitlySet() - Method in class freemarker.template.Configuration
-
- isTimeZoneSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isToStringAlwaysExposed() - Method in class freemarker.ext.beans.BlacklistMemberAccessPolicy
-
- isToStringAlwaysExposed() - Method in class freemarker.ext.beans.DefaultMemberAccessPolicy
-
- isToStringAlwaysExposed() - Method in class freemarker.ext.beans.LegacyDefaultMemberAccessPolicy
-
- isToStringAlwaysExposed() - Method in interface freemarker.ext.beans.MemberAccessPolicy
-
If this returns true
, we won't invoke the probably more expensive lookup to figure out if
Object.toString()
(including its overridden variants) is exposed for a given object.
- isToStringAlwaysExposed() - Method in class freemarker.ext.beans.WhitelistMemberAccessPolicy
-
- isTrimmableToEmpty(char[]) - Static method in class freemarker.template.utility.StringUtil
-
Tells if String.trim()
will return a 0-length string for the String
equivalent of the argument.
- isTrimmableToEmpty(char[], int) - Static method in class freemarker.template.utility.StringUtil
-
- isTrimmableToEmpty(char[], int, int) - Static method in class freemarker.template.utility.StringUtil
-
- isTruncateBuiltinAlgorithmSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isURLEscapingCharsetSet() - Method in class freemarker.core.Configurable
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isWarnEnabled() - Method in class freemarker.log.Logger
-
Returns true if this logger will log warning messages.
- isWhitespaceStrippingSet() - Method in class freemarker.core.TemplateConfiguration
-
Tells if this setting is set directly in this object or its value is coming from the
parent
.
- isWrappedIterable(TemplateModel) - Static method in exception freemarker.core.NonSequenceOrCollectionException
-
- isWrapUncheckedExceptionsExplicitlySet() - Method in class freemarker.template.Configuration
-
- isWrapUncheckedExceptionsSet() - Method in class freemarker.core.Configurable
-
- isWriteProtected() - Method in class freemarker.ext.beans.BeansWrapper
-
- isWriteProtected() - Method in interface freemarker.template.utility.WriteProtectable
-
- isXMLID(String) - Static method in class freemarker.template.utility.StringUtil
-
- iterator() - Method in class freemarker.ext.beans.ArrayModel
-
- iterator() - Method in class freemarker.ext.beans.CollectionModel
-
- iterator() - Method in class freemarker.ext.beans.EnumerationModel
-
This allows the enumeration to be used in a <#list> block.
- iterator() - Method in class freemarker.ext.beans.IteratorModel
-
This allows the iterator to be used in a <#list> block.
- iterator() - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
- iterator() - Method in class freemarker.ext.jython.JythonSequenceModel
-
- iterator() - Method in class freemarker.template.DefaultEnumerationAdapter
-
- iterator() - Method in class freemarker.template.DefaultIterableAdapter
-
- iterator() - Method in class freemarker.template.DefaultIteratorAdapter
-
- iterator() - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- iterator() - Method in class freemarker.template.SimpleCollection
-
Retrieves a template model iterator that is used to iterate over the elements in this collection.
- iterator() - Method in interface freemarker.template.TemplateCollectionModel
-
Retrieves a template model iterator that is used to iterate over the elements in this collection.
- IteratorModel - Class in freemarker.ext.beans
-
- IteratorModel(Iterator, BeansWrapper) - Constructor for class freemarker.ext.beans.IteratorModel
-
Creates a new model that wraps the specified iterator object.
- LAZY_AUTO_IMPORTS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- LAZY_AUTO_IMPORTS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- LAZY_AUTO_IMPORTS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- LAZY_IMPORTS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- LAZY_IMPORTS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- LAZY_IMPORTS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- leftPad(String, int) - Static method in class freemarker.template.utility.StringUtil
-
Pads the string at the left with spaces until it reaches the desired
length.
- leftPad(String, int, char) - Static method in class freemarker.template.utility.StringUtil
-
Pads the string at the left with the specified character until it reaches
the desired length.
- leftPad(String, int, String) - Static method in class freemarker.template.utility.StringUtil
-
Pads the string at the left with a filling pattern until it reaches the
desired length.
- LEGACY_INTERPOLATION_SYNTAX - Static variable in class freemarker.template.Configuration
-
${expression}
and the deprecated #{expression; numFormat}
@since 2.3.28
- LEGACY_NAMING_CONVENTION - Static variable in class freemarker.template.Configuration
-
- LegacyCFormat - Class in freemarker.core
-
Corresponds to the behavior of
?c
before
2.3.32 (when there
were no
CFormat
-s yet).
- LegacyDefaultMemberAccessPolicy - Class in freemarker.ext.beans
-
Legacy blacklist based member access policy, used only to keep old behavior, as it can't provide meaningful safety.
- LIBRARY_AUTO - Static variable in class freemarker.log.Logger
-
- LIBRARY_AVALON - Static variable in class freemarker.log.Logger
-
- LIBRARY_COMMONS - Static variable in class freemarker.log.Logger
-
- LIBRARY_JAVA - Static variable in class freemarker.log.Logger
-
- LIBRARY_LOG4J - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_AUTO - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_AVALON - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_COMMONS_LOGGING - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_JUL - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_LOG4J - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_NONE - Static variable in class freemarker.log.Logger
-
- LIBRARY_NAME_SLF4J - Static variable in class freemarker.log.Logger
-
- LIBRARY_NONE - Static variable in class freemarker.log.Logger
-
- LIBRARY_SLF4J - Static variable in class freemarker.log.Logger
-
- lineNumber - Variable in exception freemarker.core.ParseException
-
- list - Variable in class freemarker.template.DefaultListAdapter
-
- list - Variable in class freemarker.template.SimpleSequence
-
The List
that stored the elements of this sequence.
- loadBuiltInEncodingMap() - Method in class freemarker.template.Configuration
-
- loadProperties(Class<?>, String) - Static method in class freemarker.template.utility.ClassUtil
-
Loads a class loader resource into a Properties
; tries to work around "zip file closed" and related
sun.net.www.protocol.jar.JarURLConnection
glitches.
- LOCALE_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- LOCALE_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- LOCALE_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- LOCALIZED_LOOKUP_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- LOCALIZED_LOOKUP_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- LOCALIZED_LOOKUP_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- LocalizedString - Class in freemarker.template
-
An abstract base class for scalars that vary by locale.
- LocalizedString() - Constructor for class freemarker.template.LocalizedString
-
- LOG_ERROR_REPORTER - Static variable in interface freemarker.template.AttemptExceptionReporter
-
Logs the exception into the "freemarker.runtime" log category with "error" log level.
- LOG_TEMPLATE_EXCEPTIONS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- LOG_TEMPLATE_EXCEPTIONS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- LOG_TEMPLATE_EXCEPTIONS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- LOG_WARN_REPORTER - Static variable in interface freemarker.template.AttemptExceptionReporter
-
- Logger - Class in freemarker.log
-
Delegates logger creation to an actual logging library.
- Logger() - Constructor for class freemarker.log.Logger
-
- lookup(TemplateLookupContext) - Method in class freemarker.cache.TemplateLookupStrategy
-
Finds the template source that matches the template name, locale (if not
null
) and other parameters
specified in the
TemplateLookupContext
.
- lookupWithAcquisitionStrategy(String) - Method in class freemarker.cache.TemplateLookupContext
-
- lookupWithLocalizedThenAcquisitionStrategy(String, Locale) - Method in class freemarker.cache.TemplateLookupContext
-
- readField(Object, Field) - Method in class freemarker.ext.beans.BeansWrapper
-
- RECOGNIZE_STANDARD_FILE_EXTENSIONS_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- RECOGNIZE_STANDARD_FILE_EXTENSIONS_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- RECOGNIZE_STANDARD_FILE_EXTENSIONS_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- REGISTERED_CUSTOM_OUTPUT_FORMATS_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- REGISTERED_CUSTOM_OUTPUT_FORMATS_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- REGISTERED_CUSTOM_OUTPUT_FORMATS_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- registerNamespace(String, String) - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
Registers an XML namespace with this node list.
- registerNamespace(String, String) - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
Registers a namespace prefix-URI pair for subsequent use in
NodeListModel.get(String)
as well as for use in XPath expressions.
- release() - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- remove(Object) - Method in interface freemarker.cache.CacheStorage
-
- remove(Object) - Method in class freemarker.cache.MruCacheStorage
-
- remove(Object) - Method in class freemarker.cache.NullCacheStorage
-
- remove(Object) - Method in class freemarker.cache.SoftCacheStorage
-
- remove(Object) - Method in class freemarker.cache.StrongCacheStorage
-
- remove(Object) - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Removes the mapping for this key from this map if present.
- remove(String) - Method in class freemarker.template.SimpleHash
-
Removes the given key from the underlying map.
- removeAutoImport(String) - Method in class freemarker.core.Configurable
-
- removeAutoInclude(String) - Method in class freemarker.core.Configurable
-
- removeBreakpoint(Breakpoint) - Method in interface freemarker.debug.Debugger
-
Removes a single breakpoint
- removeBreakpoints(String) - Method in interface freemarker.debug.Debugger
-
Removes all breakpoints for a specific template
- removeBreakpoints() - Method in interface freemarker.debug.Debugger
-
Removes all breakpoints
- removeComments(Node) - Static method in class freemarker.ext.dom.NodeModel
-
Recursively removes all comment nodes from the subtree.
- removeCustomAttribute(String) - Method in class freemarker.core.Configurable
-
Removes a named custom attribute for this configurable.
- removeDebuggerListener(Object) - Method in interface freemarker.debug.Debugger
-
Removes a previously added debugger listener.
- removeFromClassIntrospectionCache(Class<?>) - Method in class freemarker.ext.beans.BeansWrapper
-
Removes the introspection data for a class from the cache.
- removePIs(Node) - Static method in class freemarker.ext.dom.NodeModel
-
Recursively removes all processing instruction nodes from the subtree.
- removeTemplate(String) - Method in class freemarker.cache.ByteArrayTemplateLoader
-
- removeTemplate(String) - Method in class freemarker.cache.StringTemplateLoader
-
Removes the template with the specified name if it was added earlier.
- removeTemplate(String, Locale, String, boolean) - Method in class freemarker.cache.TemplateCache
-
- removeTemplate(String, Locale, Object, String, boolean) - Method in class freemarker.cache.TemplateCache
-
Removes an entry from the cache, hence forcing the re-loading of it when it's next time requested.
- removeTemplateFromCache(String) - Method in class freemarker.template.Configuration
-
- removeTemplateFromCache(String, Locale) - Method in class freemarker.template.Configuration
-
- removeTemplateFromCache(String, String) - Method in class freemarker.template.Configuration
-
- removeTemplateFromCache(String, Locale, String) - Method in class freemarker.template.Configuration
-
- removeTemplateFromCache(String, Locale, String, boolean) - Method in class freemarker.template.Configuration
-
- removeTemplateFromCache(String, Locale, Object, String, boolean) - Method in class freemarker.template.Configuration
-
Removes a template from the template cache, hence forcing the re-loading
of it when it's next time requested.
- render(Writer) - Method in interface freemarker.template.TemplateDirectiveBody
-
Renders the body of the directive body to the specified writer.
- REPEAT_EVALUATION - Static variable in interface freemarker.template.TransformControl
-
Constant returned from
TransformControl.afterBody()
that tells the
template engine to repeat transform body evaluation and feed
it again to the transform.
- replace(String, String, String) - Static method in class freemarker.template.utility.StringUtil
-
- replace(String, String, String, boolean, boolean) - Static method in class freemarker.template.utility.StringUtil
-
Replaces all occurrences of a sub-string in a string.
- report(TemplateException, Environment) - Method in interface freemarker.template.AttemptExceptionReporter
-
Called to log or otherwise report the error that has occurred inside an #attempt
block.
- requestUrlToTemplatePath(HttpServletRequest) - Method in class freemarker.ext.servlet.FreemarkerServlet
-
- resetState() - Method in class freemarker.cache.MultiTemplateLoader
-
- resetState() - Method in interface freemarker.cache.StatefulTemplateLoader
-
- resolve(String, Environment, Template) - Method in class freemarker.core.OptInTemplateClassResolver
-
- resolve(String, Environment, Template) - Method in interface freemarker.core.TemplateClassResolver
-
Gets a Class
based on the class name.
- resolveIfPrimitiveTypeName(String) - Static method in class freemarker.template.utility.ClassUtil
-
Returns the Class
for a primitive type name, or null
if it's not the name of a primitive type.
- ResourceBundleLocalizedString - Class in freemarker.template
-
A concrete implementation of
LocalizedString
that gets
a localized string from a
ResourceBundle
- ResourceBundleLocalizedString(String, String) - Constructor for class freemarker.template.ResourceBundleLocalizedString
-
- ResourceBundleModel - Class in freemarker.ext.beans
-
A hash model that wraps a resource bundle.
- ResourceBundleModel(ResourceBundle, BeansWrapper) - Constructor for class freemarker.ext.beans.ResourceBundleModel
-
- resume() - Method in interface freemarker.debug.DebuggedEnvironment
-
Resumes the processing of the environment in the remote VM after it was
stopped on a breakpoint.
- RETHROW_HANDLER - Static variable in interface freemarker.template.TemplateExceptionHandler
-
- RhinoFunctionModel - Class in freemarker.ext.rhino
-
- RhinoFunctionModel(Function, Scriptable, BeansWrapper) - Constructor for class freemarker.ext.rhino.RhinoFunctionModel
-
- RhinoScriptableModel - Class in freemarker.ext.rhino
-
- RhinoScriptableModel(Scriptable, BeansWrapper) - Constructor for class freemarker.ext.rhino.RhinoScriptableModel
-
- RhinoWrapper - Class in freemarker.ext.rhino
-
- RhinoWrapper() - Constructor for class freemarker.ext.rhino.RhinoWrapper
-
- RichObjectWrapper - Interface in freemarker.template.utility
-
Experimental - subject to change: Union of the interfaces that a typical feature rich
ObjectWrapper
is
expected to implement.
- rightPad(String, int) - Static method in class freemarker.template.utility.StringUtil
-
Pads the string at the right with spaces until it reaches the desired
length.
- rightPad(String, int, char) - Static method in class freemarker.template.utility.StringUtil
-
Pads the string at the right with the specified character until it
reaches the desired length.
- rightPad(String, int, String) - Static method in class freemarker.template.utility.StringUtil
-
Pads the string at the right with a filling pattern until it reaches the
desired length.
- rootBasedToAbsoluteTemplateName(String) - Method in class freemarker.core.Environment
-
Converts a root based name (a name that's either relative to the root, or is absolute), which are typically used
by the API (such as for
Configuration.getTemplate(String)
), to an absolute name, which can be safely
passed to
<#include path>
and such, as it won't be misinterpreted to be relative to the directory of the
template.
- roundingPolicy - Variable in class freemarker.core.ArithmeticEngine
-
- RTFEnc(String) - Static method in class freemarker.template.utility.StringUtil
-
Rich Text Format encoding (does not replace line breaks).
- RTFEnc(String, Writer) - Static method in class freemarker.template.utility.StringUtil
-
- RTFOutputFormat - Class in freemarker.core
-
Represents the Rich Text Format output format (MIME type "application/rtf", name "RTF").
- RTFOutputFormat() - Constructor for class freemarker.core.RTFOutputFormat
-
- safeGetTemplateName(Template) - Method in class freemarker.core.OptInTemplateClassResolver
-
Extract the template name from the template object which will be matched
against the trusted template names and pattern.
- SAFER_RESOLVER - Static variable in interface freemarker.core.TemplateClassResolver
-
- SCOPE_CONFIGURATION - Static variable in class freemarker.core.CustomAttribute
-
Constant used in the constructor specifying that this attribute is
Configuration
-scoped.
- SCOPE_ENVIRONMENT - Static variable in class freemarker.core.CustomAttribute
-
Constant used in the constructor specifying that this attribute is
Environment
-scoped.
- SCOPE_TEMPLATE - Static variable in class freemarker.core.CustomAttribute
-
Constant used in the constructor specifying that this attribute is
Template
-scoped.
- SecurityUtilities - Class in freemarker.template.utility
-
- selectLoggerLibrary(int) - Static method in class freemarker.log.Logger
-
- serialVersionUID - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
- serialVersionUID - Static variable in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
- ServletContextHashModel - Class in freemarker.ext.servlet
-
TemplateHashModel wrapper for a ServletContext attributes.
- ServletContextHashModel(GenericServlet, ObjectWrapper) - Constructor for class freemarker.ext.servlet.ServletContextHashModel
-
- ServletContextHashModel(ServletContext, ObjectWrapper) - Constructor for class freemarker.ext.servlet.ServletContextHashModel
-
- sessionCreated(HttpSessionEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- sessionDestroyed(HttpSessionEvent) - Method in class freemarker.ext.jsp.EventForwarding
-
- set(Object, Environment) - Method in class freemarker.core.CustomAttribute
-
Sets the attribute inside the appropriate scope that's accessible through the specified
Environment
.
- set(Object) - Method in class freemarker.core.CustomAttribute
-
- set(Object, Template) - Method in class freemarker.core.CustomAttribute
-
- set(Object, TemplateConfiguration) - Method in class freemarker.core.CustomAttribute
-
- set(Object, Configuration) - Method in class freemarker.core.CustomAttribute
-
- setAllowNoMatch(boolean) - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
Use this to specify if having no matching choice is an error.
- setAllSharedVariables(TemplateHashModelEx) - Method in class freemarker.template.Configuration
-
- setAPIBuiltinEnabled(boolean) - Method in class freemarker.core.Configurable
-
Specifies if ?api
can be used in templates.
- setArithmeticEngine(ArithmeticEngine) - Method in class freemarker.core.Configurable
-
Sets the arithmetic engine used to perform arithmetic operations.
- setAttemptExceptionReporter(AttemptExceptionReporter) - Method in class freemarker.core.Configurable
-
Specifies how exceptions handled (and hence suppressed) by an #attempt
blocks will be logged or otherwise
reported.
- setAttemptExceptionReporter(AttemptExceptionReporter) - Method in class freemarker.template.Configuration
-
- setAttemptFileAccess(boolean) - Method in class freemarker.cache.WebappTemplateLoader
-
Specifies that before loading templates with ServletContext.getResource(String)
, it should try to load
the template as File
; default is true
, though it's not always recommended anymore.
- setAttributesShadowItems(boolean) - Method in class freemarker.ext.jython.JythonWrapper
-
Sets whether attributes shadow items in wrapped objects.
- setAutoEscapingPolicy(int) - Method in class freemarker.core.TemplateConfiguration
-
- setAutoEscapingPolicy(int) - Method in class freemarker.template.Configuration
-
- setAutoFlush(boolean) - Method in class freemarker.core.Configurable
-
- setAutoImports(Map) - Method in class freemarker.core.Configurable
-
- setAutoIncludes(List) - Method in class freemarker.core.Configurable
-
- setBasedir(File) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Set the base directory.
- setBodyContent(BodyContent) - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- setBooleanFormat(String) - Method in class freemarker.core.Configurable
-
The string value for the boolean true
and false
values, usually intended for human consumption
(not for a computer language), separated with comma.
- setBooleanFormat(String) - Method in class freemarker.core.Environment
-
- setCacheStorage(CacheStorage) - Method in class freemarker.template.Configuration
-
Sets the
CacheStorage
used for caching
Template
-s;
the earlier content of the template cache will be dropt.
- setCaching(boolean) - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- setCaseInsensitive(boolean) - Method in class freemarker.cache.FileExtensionMatcher
-
Sets if the matching will be case insensitive (UNICODE compliant); default is true
.
- setCaseInsensitive(boolean) - Method in class freemarker.cache.FileNameGlobMatcher
-
Sets if the matching will be case insensitive (UNICODE compliant); default is false
.
- setCaseInsensitive(boolean) - Method in class freemarker.cache.PathGlobMatcher
-
Sets if the matching will be case insensitive (UNICODE compliant); default is false
.
- setCategoryPrefix(String) - Static method in class freemarker.log.Logger
-
- setCFormat(CFormat) - Method in class freemarker.core.Configurable
-
Sets the format (usually a computer language) used for
?c
,
?cn
, and for the
"c"
(
"computer"
before 2.3.32)
number_format
, and the
"c"
boolean_format
.
- setCFormat(CFormat) - Method in class freemarker.core.Environment
-
- setCFormat(CFormat) - Method in class freemarker.template.Configuration
-
- setClassForTemplateLoading(Class, String) - Method in class freemarker.template.Configuration
-
Sets the class whose Class.getResource(String)
method will be used to load templates, from the inside the
package specified.
- setClassicCompatible(boolean) - Method in class freemarker.core.Configurable
-
Toggles the "Classic Compatible" mode.
- setClassicCompatibleAsInt(int) - Method in class freemarker.core.Configurable
-
- setClassLoaderForTemplateLoading(ClassLoader, String) - Method in class freemarker.template.Configuration
-
Sets the ClassLoader
whose ClassLoader.getResource(String)
method will be used to load templates,
from the inside the package specified.
- setClasspathTlds(List) - Method in class freemarker.ext.jsp.TaglibFactory
-
- setConfiguration(Configuration) - Method in class freemarker.cache.TemplateCache
-
- setConfiguration(Configuration) - Method in class freemarker.cache.TemplateConfigurationFactory
-
- setConfigurationDefaults() - Method in class freemarker.ext.servlet.FreemarkerServlet
-
Sets the defaults of the configuration that are specific to the
FreemarkerServlet
subclass.
- setConfigurationOfChildren(Configuration) - Method in class freemarker.cache.ConditionalTemplateConfigurationFactory
-
- setConfigurationOfChildren(Configuration) - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
- setConfigurationOfChildren(Configuration) - Method in class freemarker.cache.MergingTemplateConfigurationFactory
-
- setConfigurationOfChildren(Configuration) - Method in class freemarker.cache.TemplateConfigurationFactory
-
- setCurrentVisitorNode(TemplateNodeModel) - Method in class freemarker.core.Environment
-
sets TemplateNodeModel as the current visitor node.
- setCustomAttribute(String, Object) - Method in class freemarker.core.Configurable
-
Sets a named custom attribute for this configurable.
- setCustomDateFormats(Map<String, ? extends TemplateDateFormatFactory>) - Method in class freemarker.core.Configurable
-
- setCustomLookupCondition(Object) - Method in class freemarker.template.Template
-
- setCustomNumberFormats(Map<String, ? extends TemplateNumberFormatFactory>) - Method in class freemarker.core.Configurable
-
Associates names with formatter factories, which then can be referred by the
number_format
setting with values starting with
@name
.
- setCustomState(Object, Object) - Method in class freemarker.core.Environment
-
Sets the value of a custom state variable.
- setDateFormat(String) - Method in class freemarker.core.Configurable
-
Sets the format used to convert Date
-s that are date-only (no time part) values to string-s,
also the format that someString?date
will use to parse strings.
- setDateFormat(String) - Method in class freemarker.core.Environment
-
- setDateTimeFormat(String) - Method in class freemarker.core.Configurable
-
Sets the format used to convert Date
-s that are date-time (timestamp) values to string-s,
also the format that someString?datetime
will use to parse strings.
- setDateTimeFormat(String) - Method in class freemarker.core.Environment
-
- setDefaultConfiguration(Configuration) - Static method in class freemarker.template.Configuration
-
- setDefaultDateType(int) - Method in class freemarker.ext.beans.BeansWrapper
-
Sets the default date type to use for date models that result from
a plain java.util.Date instead of java.sql.Date or
java.sql.Time or java.sql.Timestamp.
- setDefaultDateType(int) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setDefaultEncoding(String) - Method in class freemarker.template.Configuration
-
- setDefaultObjectWrapper(ObjectWrapper) - Static method in class freemarker.template.WrappingTemplateModel
-
- setDelay(long) - Method in class freemarker.cache.TemplateCache
-
Sets the delay in milliseconds between checking for newer versions of a
template sources.
- setDestdir(File) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Set the destination directory into which the generated
files should be copied to
- setDirectoryForTemplateLoading(File) - Method in class freemarker.template.Configuration
-
Sets the file system directory from which to load templates.
- setDocumentBuilderFactory(DocumentBuilderFactory) - Static method in class freemarker.ext.dom.NodeModel
-
- setDOMNodeSupport(boolean) - Method in class freemarker.template.DefaultObjectWrapper
-
Enables wrapping Node
-s on a special way (as described in the "XML Processing Guide" in the Manual);
defaults to true
..
- setDOMNodeSupport(boolean) - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- setEmulateCaseSensitiveFileSystem(boolean) - Method in class freemarker.cache.FileTemplateLoader
-
Intended for development only, checks if the template name matches the case (upper VS lower case letters) of the
actual file name, and if it doesn't, it emulates a file-not-found even if the file system is case insensitive.
- setEncoding(String) - Method in class freemarker.core.TemplateConfiguration
-
When the standard template loading/caching mechanism is used, this forces the charset used for reading the
template "file", overriding everything but the encoding coming from the #ftl
header.
- setEncoding(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Set encoding for generated files.
- setEncoding(Locale, String) - Method in class freemarker.template.Configuration
-
Sets the character set encoding to use for templates of
a given locale.
- setEncoding(String) - Method in class freemarker.template.Template
-
- setErrorHandler(ErrorHandler) - Static method in class freemarker.ext.dom.NodeModel
-
- setExposeAsProperty(PropertyDescriptor) - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- setExposeFields(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
Controls whether public instance fields of classes are exposed to
templates.
- setExposeFields(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setExposeMethodAs(String) - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- setExposureLevel(int) - Method in class freemarker.ext.beans.BeansWrapper
-
Sets the method exposure level.
- setExposureLevel(int) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setExtension(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Set the output file extension.
- setFallbackOnNullLoopVariable(boolean) - Method in class freemarker.template.Configuration
-
Specifies the behavior when reading a loop variable (like i
in <#list items as i>
, or in
<@myMacro items; i>
) that's null
(missing); if true
, FreeMarker will look for a variable
with the same name in higher variable scopes, or if false
the variable will be simply null
(missing).
- setFile(File) - Method in class freemarker.ext.ant.JythonAntTask
-
- setForceLegacyNonListCollections(boolean) - Method in class freemarker.template.DefaultObjectWrapper
-
Specifies whether non-
List
Collection
-s (like
Set
-s) must be wrapped by pre-fetching into
a
SimpleSequence
.
- setForceLegacyNonListCollections(boolean) - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- setGlobalVariable(String, TemplateModel) - Method in class freemarker.core.Environment
-
Sets a variable in the global namespace, like <#global name=value>
.
- setIncompatibleEnhancements(String) - Method in class freemarker.template.Configuration
-
- setIncompatibleImprovements(Version) - Method in class freemarker.template.Configuration
-
- setIncremental(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Turn on/off incremental processing.
- setInterpolationSyntax(int) - Method in class freemarker.core.TemplateConfiguration
-
- setInterpolationSyntax(int) - Method in class freemarker.template.Configuration
-
Determines the interpolation syntax (like ${x}
VS [=x]
) of the template files.
- setIterableSupport(boolean) - Method in class freemarker.template.DefaultObjectWrapper
-
Specifies whether
Iterable
-s (not to be confused with
Iterator
-s) that don't implement any other
recognized Java interfaces (most notably
Collection
) will be recognized as listable objects
(
TemplateCollectionModel
-s), or they will be just seen as generic objects (JavaBean-s).
- setIterableSupport(boolean) - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- setJythonSupport(boolean) - Method in class freemarker.template.DefaultObjectWrapper
-
Enables wrapping Jython objects in a special way; defaults to true
.
- setJythonSupport(boolean) - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- setLazyAutoImports(Boolean) - Method in class freemarker.core.Configurable
-
- setLazyImports(boolean) - Method in class freemarker.core.Configurable
-
Specifies if
<#import ...>
(and
Environment.importLib(String, String)
) should delay the loading
and processing of the imported templates until the content of the imported namespace is actually accessed.
- setLocale(Locale) - Method in class freemarker.core.Configurable
-
Sets the locale used for number and date formatting (among others), also the locale used for searching
localized template variations when no locale was explicitly requested.
- setLocale(Locale) - Method in class freemarker.core.Environment
-
- setLocale(Locale) - Method in class freemarker.template.Configuration
-
- setLocalizedLookup(boolean) - Method in class freemarker.cache.TemplateCache
-
Setis if localized template lookup is enabled or not.
- setLocalizedLookup(boolean) - Method in class freemarker.template.Configuration
-
Enables/disables localized template lookup.
- setLocalVariable(String, TemplateModel) - Method in class freemarker.core.Environment
-
Sets a local variable that's on the top-level inside a macro or function invocation, like
<#local name=value>
.
- setLogTemplateExceptions(boolean) - Method in class freemarker.core.Configurable
-
Specifies if
TemplateException
-s thrown by template processing are logged by FreeMarker or not.
- setLogTemplateExceptions(boolean) - Method in class freemarker.template.Configuration
-
Specifies if
TemplateException
-s thrown by template processing are logged by FreeMarker or not.
- setMaxScale(int) - Method in class freemarker.core.ArithmeticEngine
-
Sets the maximal scale to use when multiplying BigDecimal numbers.
- setMemberAccessPolicy(MemberAccessPolicy) - Method in class freemarker.ext.beans.BeansWrapper
-
- setMemberAccessPolicy(MemberAccessPolicy) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setMetaInfTldSources(List) - Method in class freemarker.ext.jsp.TaglibFactory
-
Sets the list of places where we will look for META-INF/**
/*.tld
files.
- setMethodAppearanceFineTuner(MethodAppearanceFineTuner) - Method in class freemarker.ext.beans.BeansWrapper
-
- setMethodAppearanceFineTuner(MethodAppearanceFineTuner) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setMethodShadowsProperty(boolean) - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- setMethodsShadowItems(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
Sets whether methods shadow items in beans.
- setMinScale(int) - Method in class freemarker.core.ArithmeticEngine
-
Sets the minimal scale to use when dividing BigDecimal numbers.
- setModels(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- setName(String) - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- setNamingConvention(int) - Method in class freemarker.core.TemplateConfiguration
-
- setNamingConvention(int) - Method in class freemarker.template.Configuration
-
Sets the naming convention used for the identifiers that are part of the template language.
- setNewBuiltinClassResolver(TemplateClassResolver) - Method in class freemarker.core.Configurable
-
- setNoMatchErrorDetails(String) - Method in class freemarker.cache.FirstMatchTemplateConfigurationFactory
-
- setNullModel(TemplateModel) - Method in class freemarker.ext.beans.BeansWrapper
-
- setNumberFormat(String) - Method in class freemarker.core.Configurable
-
Sets the number format used to convert numbers to strings.
- setNumberFormat(String) - Method in class freemarker.core.Environment
-
- setObjectWrapper(ObjectWrapper) - Method in class freemarker.core.Configurable
-
- setObjectWrapper(ObjectWrapper) - Method in class freemarker.ext.jsp.TaglibFactory
-
- setObjectWrapper(ObjectWrapper) - Method in class freemarker.template.Configuration
-
- setObjectWrapper(ObjectWrapper) - Method in class freemarker.template.WrappingTemplateModel
-
- setOut(Writer) - Method in class freemarker.core.Environment
-
- setOuterIdentity(ObjectWrapper) - Method in class freemarker.ext.beans.BeansWrapper
-
When wrapping an object, the BeansWrapper commonly needs to wrap
"sub-objects", for example each element in a wrapped collection.
- setOuterIdentity(ObjectWrapper) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setOutputEncoding(String) - Method in class freemarker.core.Configurable
-
Informs FreeMarker about the charset used for the output.
- setOutputEncoding(String) - Method in class freemarker.core.Environment
-
- setOutputFormat(OutputFormat) - Method in class freemarker.core.TemplateConfiguration
-
- setOutputFormat(OutputFormat) - Method in class freemarker.template.Configuration
-
Sets the default output format.
- setPageContext(PageContext) - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- setParent(Tag) - Method in class freemarker.ext.jsp.FreemarkerTag
-
Deprecated.
- setParentConfiguration(Configuration) - Method in class freemarker.core.TemplateConfiguration
-
Associates this instance with a
Configuration
; usually you don't call this, as it's called internally
when this instance is added to a
Configuration
.
- setPreferIndexedReadMethod(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
Sets if when a JavaBean property has both a normal read method (like String[] getFoos()
) and an indexed
read method (like String getFoos(int index)
), and the Java Introspector
exposes both (which only
happens since Java 8, apparently), which read method will be used when the property is accessed with the
shorthand syntax (like myObj.foos
).
- setPreferIndexedReadMethod(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setProjectfile(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Set the path to the project XML file
- setRecognizeStandardFileExtensions(boolean) - Method in class freemarker.core.TemplateConfiguration
-
- setRecognizeStandardFileExtensions(boolean) - Method in class freemarker.template.Configuration
-
Sets if the "file" extension part of the source name (
Template.getSourceName()
) will influence certain
parsing settings.
- setRegisteredCustomOutputFormats(Collection<? extends OutputFormat>) - Method in class freemarker.template.Configuration
-
Sets the custom output formats that can be referred by their unique name (
OutputFormat.getName()
) from
templates.
- setReplaceExistingProperty(boolean) - Method in class freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision
-
- setRoundingPolicy(int) - Method in class freemarker.core.ArithmeticEngine
-
- setServletContextForTemplateLoading(Object, String) - Method in class freemarker.template.Configuration
-
Sets the servlet context from which to load templates.
- setSetting(String, String) - Method in class freemarker.core.Configurable
-
Sets a FreeMarker setting by a name and string value.
- setSetting(String, String) - Method in class freemarker.template.Configuration
-
- setSettings(Properties) - Method in class freemarker.core.Configurable
-
Set the settings stored in a Properties
object.
- setSettings(InputStream) - Method in class freemarker.core.Configurable
-
Reads a setting list (key and element pairs) from the input stream.
- setSharedVariable(String, TemplateModel) - Method in class freemarker.template.Configuration
-
Adds a shared variable to the configuration.
- setSharedVariable(String, Object) - Method in class freemarker.template.Configuration
-
Adds shared variable to the configuration; It uses
Configurable.getObjectWrapper()
to wrap the
value
, so it's important that the object wrapper is set before this.
- setSharedVariables(Map<String, ?>) - Method in class freemarker.template.Configuration
-
Replaces all shared variables (removes all previously added ones).
- setSharedVaribles(Map) - Method in class freemarker.template.Configuration
-
- setShowErrorTips(boolean) - Method in class freemarker.core.Configurable
-
Sets if tips should be shown in error messages of errors arising during template processing.
- setSimpleMapWrapper(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
When set to true
, the keys in Map
-s won't mix with the method names when looking at them
from templates.
- setSimpleMapWrapper(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setSQLDateAndTimeTimeZone(TimeZone) - Method in class freemarker.core.Configurable
-
Sets the time zone used when dealing with java.sql.Date
and
java.sql.Time
values.
- setSQLDateAndTimeTimeZone(TimeZone) - Method in class freemarker.core.Environment
-
- setSticky(boolean) - Method in class freemarker.cache.MultiTemplateLoader
-
Sets if for a name that was already loaded earlier the same
TemplateLoader
will be tried first, or
we always try the
TemplateLoader
-s strictly in the order as it was specified in the constructor.
- setStrict(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
Specifies if an attempt to read a bean property that doesn't exist in the
wrapped object should throw an
InvalidPropertyException
.
- setStrict(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setStrictBeanModels(boolean) - Method in class freemarker.core.Configurable
-
- setStrictBeanModels(boolean) - Method in class freemarker.core.TemplateConfiguration
-
- setStrictSyntaxMode(boolean) - Method in class freemarker.core.TemplateConfiguration
-
- setStrictSyntaxMode(boolean) - Method in class freemarker.template.Configuration
-
- setTabSize(int) - Method in class freemarker.core.TemplateConfiguration
-
- setTabSize(int) - Method in class freemarker.template.Configuration
-
Sets the assumed display width of the tab character (ASCII 9), which influences the column number shown in error
messages (or the column number you get through other API-s).
- setTagSyntax(int) - Method in class freemarker.core.TemplateConfiguration
-
- setTagSyntax(int) - Method in class freemarker.template.Configuration
-
Determines the tag syntax (like <#if x>
VS [#if x]
) of the template files
that has no #ftl
header to decide that.
- setTemplate(Template) - Method in class freemarker.core.FreeMarkerTree
-
Deprecated.
- setTemplate(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- setTemplateConfigurations(TemplateConfigurationFactory) - Method in class freemarker.template.Configuration
-
- setTemplateDir(File) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- setTemplateEncoding(String) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
- setTemplateExceptionHandler(TemplateExceptionHandler) - Method in class freemarker.core.Configurable
-
Sets the exception handler used to handle exceptions occurring inside templates.
- setTemplateExceptionHandler(TemplateExceptionHandler) - Method in class freemarker.core.Environment
-
- setTemplateExceptionHandler(TemplateExceptionHandler) - Method in class freemarker.template.Configuration
-
- setTemplateLoader(TemplateLoader) - Method in class freemarker.template.Configuration
-
Sets a
TemplateLoader
that is used to look up and load templates;
as a side effect the template cache will be emptied (unless the new and the old values are the same).
- setTemplateLookupStrategy(TemplateLookupStrategy) - Method in class freemarker.template.Configuration
-
Sets the
TemplateLookupStrategy
that is used to look up templates based on the requested name; as a side
effect the template cache will be emptied.
- setTemplateName(String) - Method in exception freemarker.core.ParseException
-
Should be used internally only; sets the name of the template that contains the error.
- setTemplateNameFormat(TemplateNameFormat) - Method in class freemarker.template.Configuration
-
Sets the template name format used.
- setTemplateUpdateDelay(int) - Method in class freemarker.template.Configuration
-
- setTemplateUpdateDelayMilliseconds(long) - Method in class freemarker.template.Configuration
-
Sets the time in milliseconds that must elapse before checking whether there is a newer version of a template
"file" than the cached one.
- setTimeFormat(String) - Method in class freemarker.core.Configurable
-
Sets the format used to convert Date
-s that are time (no date part) values to string-s, also
the format that someString?time
will use to parse strings.
- setTimeFormat(String) - Method in class freemarker.core.Environment
-
- setTimeZone(TimeZone) - Method in class freemarker.core.Configurable
-
Sets the time zone to use when formatting date/time values.
- setTimeZone(TimeZone) - Method in class freemarker.core.Environment
-
- setTimeZone(TimeZone) - Method in class freemarker.template.Configuration
-
- settingValueAssignmentException(String, String, Throwable) - Method in class freemarker.core.Configurable
-
- setTreatDefaultMethodsAsBeanMembers(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
Controls whether Java 8 default methods that weren't overridden in a class will be recognized as bean property
accessors and/or bean actions, and thus will be visible from templates.
- setTreatDefaultMethodsAsBeanMembers(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setTruncateBuiltinAlgorithm(TruncateBuiltinAlgorithm) - Method in class freemarker.core.Configurable
-
Specifies the algorithm used for ?truncate
.
- setURLConnectionUsesCaches(Boolean) - Method in class freemarker.cache.URLTemplateLoader
-
Sets if URLConnection.setUseCaches(boolean)
will be called, and with what value.
- setURLConnectionUsesCaches(Boolean) - Method in class freemarker.cache.WebappTemplateLoader
-
- setURLEscapingCharset(String) - Method in class freemarker.core.Configurable
-
Sets the URL escaping (URL encoding, percentage encoding) charset.
- setURLEscapingCharset(String) - Method in class freemarker.core.Environment
-
- setUseAdaptersForContainers(boolean) - Method in class freemarker.template.DefaultObjectWrapper
-
Sets if to wrap container objects (Map
-s, List
-s, arrays and such) the legacy copying approach or
the newer adapter approach should be used.
- setUseAdaptersForContainers(boolean) - Method in class freemarker.template.DefaultObjectWrapperConfiguration
-
- setUseCache(boolean) - Method in class freemarker.ext.beans.BeansWrapper
-
Sets whether this wrapper caches the
TemplateModel
-s created for the Java objects that has wrapped with
this object wrapper.
- setUseCache(boolean) - Method in class freemarker.ext.jython.JythonWrapper
-
Sets whether this wrapper caches model instances.
- setUseCache(boolean) - Method in class freemarker.ext.util.ModelCache
-
Sets whether this wrapper caches model instances.
- setUseModelCache(boolean) - Method in class freemarker.ext.beans.BeansWrapperConfiguration
-
- setValidation(boolean) - Method in class freemarker.ext.ant.FreemarkerXmlTask
-
Deprecated.
Sets whether to validate the XML input.
- setVariable(String, TemplateModel) - Method in class freemarker.core.Environment
-
Sets a variable in the current namespace, like <#assign name=value>
.
- setWhitespaceStripping(boolean) - Method in class freemarker.core.TemplateConfiguration
-
- setWhitespaceStripping(boolean) - Method in class freemarker.template.Configuration
-
Sets whether the FTL parser will try to remove
superfluous white-space around certain FTL tags.
- setWrapUncheckedExceptions(boolean) - Method in class freemarker.core.Configurable
-
- setWrapUncheckedExceptions(boolean) - Method in class freemarker.template.Configuration
-
- setXPathSupportClass(Class) - Static method in class freemarker.ext.dom.NodeModel
-
Set an alternative implementation of freemarker.ext.dom.XPathSupport to use
as the XPath engine.
- SHOW_ERROR_TIPS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- SHOW_ERROR_TIPS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- SHOW_ERROR_TIPS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- SIMPLE_WRAPPER - Static variable in interface freemarker.template.ObjectWrapper
-
- SimpleCollection - Class in freemarker.template
-
- SimpleCollection(Iterator) - Constructor for class freemarker.template.SimpleCollection
-
- SimpleCollection(Iterable) - Constructor for class freemarker.template.SimpleCollection
-
- SimpleCollection(Collection) - Constructor for class freemarker.template.SimpleCollection
-
- SimpleCollection(Collection, ObjectWrapper) - Constructor for class freemarker.template.SimpleCollection
-
- SimpleCollection(Iterator, ObjectWrapper) - Constructor for class freemarker.template.SimpleCollection
-
- SimpleCollection(Iterable, ObjectWrapper) - Constructor for class freemarker.template.SimpleCollection
-
- SimpleDate - Class in freemarker.template
-
A simple implementation of the TemplateDateModel
interface.
- SimpleDate(Date) - Constructor for class freemarker.template.SimpleDate
-
Creates a new date model wrapping the specified date object and
having DATE type.
- SimpleDate(Time) - Constructor for class freemarker.template.SimpleDate
-
Creates a new date model wrapping the specified time object and
having TIME type.
- SimpleDate(Timestamp) - Constructor for class freemarker.template.SimpleDate
-
Creates a new date model wrapping the specified time object and
having DATETIME type.
- SimpleDate(Date, int) - Constructor for class freemarker.template.SimpleDate
-
Creates a new date model wrapping the specified date object and
having the specified type.
- SimpleHash - Class in freemarker.template
-
A simple implementation of the
TemplateHashModelEx
interface, using its own underlying
Map
or
SortedMap
for storing the hash entries.
- SimpleHash() - Constructor for class freemarker.template.SimpleHash
-
- SimpleHash(Map) - Constructor for class freemarker.template.SimpleHash
-
- SimpleHash(ObjectWrapper) - Constructor for class freemarker.template.SimpleHash
-
Creates an empty simple hash using the specified object wrapper.
- SimpleHash(Map<String, Object>, ObjectWrapper, int) - Constructor for class freemarker.template.SimpleHash
-
Creates an instance that will use the specified
Map
directly as its backing store; beware, the
Map
will be possibly modified by
SimpleHash
, even if you only read the
SimpleHash
.
- SimpleHash(Map, ObjectWrapper) - Constructor for class freemarker.template.SimpleHash
-
Creates a new hash by shallow-coping (possibly cloning) the underlying map; in many applications you should use
DefaultMapAdapter
instead.
- SimpleList - Class in freemarker.template
-
- SimpleList() - Constructor for class freemarker.template.SimpleList
-
Deprecated.
- SimpleList(List) - Constructor for class freemarker.template.SimpleList
-
Deprecated.
- SimpleMapModel - Class in freemarker.ext.beans
-
Model used by
BeansWrapper
when
simpleMapWrapper
mode is enabled.
- SimpleMapModel(Map, BeansWrapper) - Constructor for class freemarker.ext.beans.SimpleMapModel
-
- SimpleMethodModel - Class in freemarker.ext.beans
-
- SimpleNumber - Class in freemarker.template
-
A simple implementation of the TemplateNumberModel
interface.
- SimpleNumber(Number) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleNumber(byte) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleNumber(short) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleNumber(int) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleNumber(long) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleNumber(float) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleNumber(double) - Constructor for class freemarker.template.SimpleNumber
-
- SimpleObjectWrapper - Class in freemarker.template
-
A restricted object wrapper that will not expose arbitrary object, just those that directly correspond to the
TemplateModel
sub-interfaces (
String
,
Map
and such).
- SimpleObjectWrapper() - Constructor for class freemarker.template.SimpleObjectWrapper
-
- SimpleObjectWrapper(Version) - Constructor for class freemarker.template.SimpleObjectWrapper
-
- SimpleScalar - Class in freemarker.template
-
A simple implementation of the TemplateScalarModel
interface, using a String.
- SimpleScalar(String) - Constructor for class freemarker.template.SimpleScalar
-
Constructs a SimpleScalar containing a string value.
- SimpleSequence - Class in freemarker.template
-
A simple implementation of the
TemplateSequenceModel
interface, using its own underlying
List
for
storing the list items.
- SimpleSequence() - Constructor for class freemarker.template.SimpleSequence
-
- SimpleSequence(int) - Constructor for class freemarker.template.SimpleSequence
-
- SimpleSequence(Collection) - Constructor for class freemarker.template.SimpleSequence
-
- SimpleSequence(TemplateCollectionModel) - Constructor for class freemarker.template.SimpleSequence
-
Constructs a simple sequence from the passed collection model, which shouldn't be added to later.
- SimpleSequence(ObjectWrapper) - Constructor for class freemarker.template.SimpleSequence
-
Constructs an empty sequence using the specified object wrapper.
- SimpleSequence(int, ObjectWrapper) - Constructor for class freemarker.template.SimpleSequence
-
Constructs an empty simple sequence with preallocated capacity.
- SimpleSequence(Collection, ObjectWrapper) - Constructor for class freemarker.template.SimpleSequence
-
Constructs a simple sequence that will contain the elements from the specified
Collection
; consider
using
DefaultListAdapter
instead.
- simplify(Node) - Static method in class freemarker.ext.dom.NodeModel
-
Removes all comments and processing instruction, and unites adjacent text nodes (here CDATA counts as text as
well).
- SingletonCustomizer - Interface in freemarker.ext.beans
-
Marker interface useful when used together with
MethodAppearanceFineTuner
and such customizer objects, to
indicate that it
doesn't contain reference to the ObjectWrapper
(so beware with non-static inner
classes) and can be and should be used in call introspection cache keys.
- singletonList(Object) - Static method in class freemarker.template.utility.Collections12
-
Deprecated.
- singletonMap(Object, Object) - Static method in class freemarker.template.utility.Collections12
-
Deprecated.
- size() - Method in interface freemarker.debug.DebugModel
-
- size() - Method in class freemarker.ext.beans.ArrayModel
-
- size() - Method in class freemarker.ext.beans.BeanModel
-
- size() - Method in class freemarker.ext.beans.CollectionModel
-
- size() - Method in class freemarker.ext.beans.HashAdapter
-
- size() - Method in class freemarker.ext.beans.MapModel
-
- size() - Method in class freemarker.ext.beans.OverloadedMethodsModel
-
- size() - Method in class freemarker.ext.beans.ResourceBundleModel
-
- size() - Method in class freemarker.ext.beans.SimpleMapModel
-
- size() - Method in class freemarker.ext.beans.SimpleMethodModel
-
- size() - Method in class freemarker.ext.dom.NodeModel
-
Always returns 1.
- size() - Method in class freemarker.ext.jdom.NodeListModel
-
Deprecated.
- size() - Method in class freemarker.ext.jython.JythonHashModel
-
Returns PyObject.__len__()
.
- size() - Method in class freemarker.ext.jython.JythonSequenceModel
-
Returns PyObject.__len__()
.
- size() - Method in class freemarker.ext.rhino.RhinoScriptableModel
-
- size() - Method in class freemarker.ext.servlet.HttpRequestHashModel
-
- size() - Method in class freemarker.ext.servlet.HttpRequestParametersHashModel
-
- size() - Method in class freemarker.ext.util.IdentityHashMap
-
Deprecated.
Returns the number of key-value mappings in this map.
- size() - Method in class freemarker.ext.xml.NodeListModel
-
Deprecated.
Returns the number of nodes in this model's nodelist.
- size() - Method in class freemarker.template.DefaultListAdapter
-
- size() - Method in class freemarker.template.DefaultMapAdapter
-
- size() - Method in class freemarker.template.DefaultNonListCollectionAdapter
-
- size() - Method in class freemarker.template.SimpleHash
-
- size() - Method in class freemarker.template.SimpleSequence
-
- size() - Method in interface freemarker.template.TemplateCollectionModelEx
-
Returns the number items in this collection, or Integer.MAX_VALUE
, if there are more than
Integer.MAX_VALUE
items.
- size() - Method in interface freemarker.template.TemplateHashModelEx
-
- size() - Method in class freemarker.template.TemplateModelListSequence
-
- size() - Method in interface freemarker.template.TemplateSequenceModel
-
- SKIP_BODY - Static variable in interface freemarker.template.TransformControl
-
- SoftCacheStorage - Class in freemarker.cache
-
Soft cache storage is a cache storage that uses SoftReference
objects to hold the objects it was passed,
therefore allows the garbage collector to purge the cache when it determines that it wants to free up memory.
- SoftCacheStorage() - Constructor for class freemarker.cache.SoftCacheStorage
-
Creates an instance that uses a ConcurrentMap
internally.
- SoftCacheStorage(Map) - Constructor for class freemarker.cache.SoftCacheStorage
-
- specialConstructor - Variable in exception freemarker.core.ParseException
-
- specifiedEncoding - Variable in exception freemarker.template.Template.WrongEncodingException
-
- split(String, char) - Static method in class freemarker.template.utility.StringUtil
-
Splits a string at the specified character.
- split(String, String, boolean) - Static method in class freemarker.template.utility.StringUtil
-
Splits a string at the specified string.
- SQL_DATE_AND_TIME_TIME_ZONE_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- SQL_DATE_AND_TIME_TIME_ZONE_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- SQL_DATE_AND_TIME_TIME_ZONE_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- SQUARE_BRACKET_INTERPOLATION_SYNTAX - Static variable in class freemarker.template.Configuration
-
[=expression]
instead of ${expression}
.
- SQUARE_BRACKET_TAG_SYNTAX - Static variable in class freemarker.template.Configuration
-
For example [#if x][@foo /][/#if]
.
- STANDARD_ASCII_TERMINATOR - Static variable in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- STANDARD_M_TERMINATOR - Static variable in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- STANDARD_UNICODE_TERMINATOR - Static variable in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- StandardCompress - Class in freemarker.template.utility
-
A filter that compresses each sequence of consecutive whitespace
to a single line break (if the sequence contains a line break) or a
single space.
- StandardCompress() - Constructor for class freemarker.template.utility.StandardCompress
-
- StandardCompress(int) - Constructor for class freemarker.template.utility.StandardCompress
-
- StatefulTemplateLoader - Interface in freemarker.cache
-
Interface that can be implemented by
TemplateLoader
-s that maintain some
sort of internal state (i.e.
- stop() - Method in interface freemarker.debug.DebuggedEnvironment
-
Stops the processing of the environment after it was stopped on
a breakpoint.
- StopException - Exception in freemarker.core
-
This exception is thrown when a #stop directive is encountered.
- STRICT_BEAN_MODELS - Static variable in class freemarker.core.Configurable
-
- STRICT_BEAN_MODELS_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- STRICT_BEAN_MODELS_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- STRICT_BEAN_MODELS_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- STRICT_SYNTAX_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- STRICT_SYNTAX_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- STRICT_SYNTAX_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- StringModel - Class in freemarker.ext.beans
-
- StringModel(Object, BeansWrapper) - Constructor for class freemarker.ext.beans.StringModel
-
Creates a new model that wraps the specified object with BeanModel + scalar
functionality.
- StringTemplateLoader - Class in freemarker.cache
-
A
TemplateLoader
that uses a
Map
with
String
-s as its source of
templates.
- StringTemplateLoader() - Constructor for class freemarker.cache.StringTemplateLoader
-
- StringUtil - Class in freemarker.template.utility
-
Some text related utilities.
- StringUtil() - Constructor for class freemarker.template.utility.StringUtil
-
- StringUtil.JsStringEncCompatibility - Enum in freemarker.template.utility
-
- StringUtil.JsStringEncQuotation - Enum in freemarker.template.utility
-
- StrongCacheStorage - Class in freemarker.cache
-
Strong cache storage is a cache storage that simply wraps a Map
.
- StrongCacheStorage() - Constructor for class freemarker.cache.StrongCacheStorage
-
- subtract(Number, Number) - Method in class freemarker.core.ArithmeticEngine.BigDecimalEngine
-
- subtract(Number, Number) - Method in class freemarker.core.ArithmeticEngine.ConservativeEngine
-
- subtract(Number, Number) - Method in class freemarker.core.ArithmeticEngine
-
- synchronizedWrapper() - Method in class freemarker.template.SimpleHash
-
- synchronizedWrapper() - Method in class freemarker.template.SimpleSequence
-
- SYSTEM_PROPERTY_CLASSPATH_TLDS - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
When set, the items defined in it will be added after those coming from the
"ClasspathTlds" init-param.
- SYSTEM_PROPERTY_META_INF_TLD_SOURCES - Static variable in class freemarker.ext.servlet.FreemarkerServlet
-
When set, the items defined in it will be added after those coming from the
"MetaInfTldSources" init-param.
- SYSTEM_PROPERTY_NAME_EMULATE_CASE_SENSITIVE_FILE_SYSTEM - Static variable in class freemarker.cache.FileTemplateLoader
-
By setting this Java system property to true
, you can change the default of
#getEmulateCaseSensitiveFileSystem()
.
- SYSTEM_PROPERTY_NAME_LOGGER_LIBRARY - Static variable in class freemarker.log.Logger
-
The "org.freemarker.loggerLibrary" system property is used to select a logger library explicitly,
rather than relying on automatic selection.
- TAB_SIZE_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation.
- TAB_SIZE_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TAB_SIZE_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TAG_SYNTAX_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TAG_SYNTAX_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TAG_SYNTAX_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TaglibFactory - Class in freemarker.ext.jsp
-
A hash model associated with a servlet context that can load JSP tag libraries associated with that servlet context.
- TaglibFactory(ServletContext) - Constructor for class freemarker.ext.jsp.TaglibFactory
-
/**
Creates a new JSP taglib factory that will be used to load JSP tag libraries and functions for the web
application represented by the passed in ServletContext
.
- TaglibFactory.ClasspathMetaInfTldSource - Class in freemarker.ext.jsp
-
To search TLD-s under META-INF/**
/*.tld
inside classpath root containers, that is, in directories
and jar-s that are in the classpath (or are visible for the class loader otherwise).
- TaglibFactory.ClearMetaInfTldSource - Class in freemarker.ext.jsp
-
- TaglibFactory.MetaInfTldSource - Class in freemarker.ext.jsp
-
A location within which we will look for META-INF/**
/*.tld
-s.
- TaglibFactory.WebInfPerLibJarMetaInfTldSource - Class in freemarker.ext.jsp
-
To search TLD-s under sevletContext:/WEB-INF/lib/*.{jar,zip}/META-INF/**/*.tld, as requested by
the JSP specification.
- Template - Class in freemarker.template
-
Stores an already parsed template, ready to be processed (rendered) for unlimited times, possibly from multiple
threads.
- Template(String, Reader, Configuration) - Constructor for class freemarker.template.Template
-
- Template(String, String, Configuration) - Constructor for class freemarker.template.Template
-
- Template(String, Reader, Configuration, String) - Constructor for class freemarker.template.Template
-
- Template(String, String, Reader, Configuration) - Constructor for class freemarker.template.Template
-
Constructs a template from a character stream.
- Template(String, String, Reader, Configuration, String) - Constructor for class freemarker.template.Template
-
- Template(String, String, Reader, Configuration, ParserConfiguration, String) - Constructor for class freemarker.template.Template
-
- Template(String, Reader) - Constructor for class freemarker.template.Template
-
- Template.WrongEncodingException - Exception in freemarker.template
-
Thrown by the
Template
constructors that specify a non-
null
encoding whoch doesn't match the
encoding specified in the
#ftl
header of the template.
- TEMPLATE_CONFIGURATIONS_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation.
- TEMPLATE_CONFIGURATIONS_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TEMPLATE_CONFIGURATIONS_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TEMPLATE_EXCEPTION_HANDLER_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TEMPLATE_EXCEPTION_HANDLER_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- TEMPLATE_EXCEPTION_HANDLER_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- TEMPLATE_LOADER_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TEMPLATE_LOADER_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TEMPLATE_LOADER_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TEMPLATE_LOOKUP_STRATEGY_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TEMPLATE_LOOKUP_STRATEGY_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TEMPLATE_LOOKUP_STRATEGY_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TEMPLATE_NAME_FORMAT_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TEMPLATE_NAME_FORMAT_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TEMPLATE_NAME_FORMAT_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TEMPLATE_UPDATE_DELAY_KEY - Static variable in class freemarker.template.Configuration
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TEMPLATE_UPDATE_DELAY_KEY_CAMEL_CASE - Static variable in class freemarker.template.Configuration
-
Modern, camel case (likeThis
) variation of the setting name.
- TEMPLATE_UPDATE_DELAY_KEY_SNAKE_CASE - Static variable in class freemarker.template.Configuration
-
Legacy, snake case (like_this
) variation of the setting name.
- TemplateAccessible - Annotation Type in freemarker.ext.beans
-
Indicates that the the annotated member can be exposed to templates; if the annotated member will be actually
exposed depends on the
ObjectWrapper
in use, and how that was configured.
- TemplateBooleanModel - Interface in freemarker.template
-
"boolean" template language data type; same as in Java; either true
or false
.
- TemplateCache - Class in freemarker.cache
-
Performs caching and on-demand loading of the templates.
- TemplateCache() - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache(TemplateLoader) - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache(TemplateLoader, CacheStorage) - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache(TemplateLoader, Configuration) - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache(TemplateLoader, CacheStorage, Configuration) - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache(TemplateLoader, CacheStorage, TemplateLookupStrategy, TemplateNameFormat, Configuration) - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache(TemplateLoader, CacheStorage, TemplateLookupStrategy, TemplateNameFormat, TemplateConfigurationFactory, Configuration) - Constructor for class freemarker.cache.TemplateCache
-
- TemplateCache.MaybeMissingTemplate - Class in freemarker.cache
-
- TemplateClassResolver - Interface in freemarker.core
-
Used by built-ins and other template language features that get a class
based on a string.
- TemplateCollectionModel - Interface in freemarker.template
-
"collection" template language data type: a collection of values that can be enumerated, but can't be or not meant to
be accessed by index or key, nor the number of elements in it is known.
- TemplateCollectionModelEx - Interface in freemarker.template
-
- TemplateCombinedMarkupOutputModel - Class in freemarker.core
-
- TemplateConfiguration - Class in freemarker.core
-
Used for customizing the configuration settings for individual
Template
-s (or rather groups of templates),
relatively to the common setting values coming from the
Configuration
.
- TemplateConfiguration() - Constructor for class freemarker.core.TemplateConfiguration
-
Creates a new instance.
- TemplateConfigurationFactory - Class in freemarker.cache
-
- TemplateConfigurationFactory() - Constructor for class freemarker.cache.TemplateConfigurationFactory
-
- TemplateConfigurationFactoryException - Exception in freemarker.cache
-
- TemplateConfigurationFactoryException(String) - Constructor for exception freemarker.cache.TemplateConfigurationFactoryException
-
- TemplateConfigurationFactoryException(String, Throwable) - Constructor for exception freemarker.cache.TemplateConfigurationFactoryException
-
- TemplateDateFormat - Class in freemarker.core
-
Represents a date/time/dateTime format; used in templates for formatting and parsing with that format.
- TemplateDateFormat() - Constructor for class freemarker.core.TemplateDateFormat
-
- TemplateDateFormatFactory - Class in freemarker.core
-
- TemplateDateFormatFactory() - Constructor for class freemarker.core.TemplateDateFormatFactory
-
- TemplateDateModel - Interface in freemarker.template
-
"date", "time" and "date-time" template language data types: corresponds to Date
.
- TemplateDirectiveBody - Interface in freemarker.template
-
- TemplateDirectiveModel - Interface in freemarker.template
-
"directive" template language data type: used as user-defined directives
(much like macros) in templates.
- TemplateException - Exception in freemarker.template
-
Runtime exception in a template (as opposed to a parsing-time exception:
ParseException
).
- TemplateException(Environment) - Constructor for exception freemarker.template.TemplateException
-
Constructs a TemplateException with no specified detail message
or underlying cause.
- TemplateException(String, Environment) - Constructor for exception freemarker.template.TemplateException
-
Constructs a TemplateException with the given detail message,
but no underlying cause exception.
- TemplateException(Exception, Environment) - Constructor for exception freemarker.template.TemplateException
-
- TemplateException(Throwable, Environment) - Constructor for exception freemarker.template.TemplateException
-
Constructs a TemplateException with the given underlying Exception,
but no detail message.
- TemplateException(String, Exception, Environment) - Constructor for exception freemarker.template.TemplateException
-
- TemplateException(String, Throwable, Environment) - Constructor for exception freemarker.template.TemplateException
-
Constructs a TemplateException with both a description of the error
that occurred and the underlying Exception that caused this exception
to be raised.
- TemplateException(Throwable, Environment, Expression, _ErrorDescriptionBuilder) - Constructor for exception freemarker.template.TemplateException
-
Don't use this; this is to be used internally by FreeMarker.
- TemplateExceptionHandler - Interface in freemarker.template
-
- TemplateFormatUtil - Class in freemarker.core
-
- TemplateHashModel - Interface in freemarker.template
-
"hash" template language data type: an object that contains other objects accessible through string keys
(sub-variable names).
- TemplateHashModelEx - Interface in freemarker.template
-
"extended hash" template language data type; extends
TemplateHashModel
by allowing
iterating through its keys and values.
- TemplateHashModelEx2 - Interface in freemarker.template
-
- TemplateHashModelEx2.KeyValuePair - Interface in freemarker.template
-
- TemplateHashModelEx2.KeyValuePairIterator - Interface in freemarker.template
-
Iterates over the key-value pairs in a hash.
- TemplateHTMLOutputModel - Class in freemarker.core
-
- TemplateHTMLOutputModel(String, String) - Constructor for class freemarker.core.TemplateHTMLOutputModel
-
- TemplateLoader - Interface in freemarker.cache
-
FreeMarker loads template "files" through objects that implement this interface,
thus the templates need not be real files, and can come from any kind of data source
(like classpath, servlet context, database, etc).
- TemplateLookupContext - Class in freemarker.cache
-
- TemplateLookupResult - Class in freemarker.cache
-
- TemplateLookupStrategy - Class in freemarker.cache
-
- TemplateLookupStrategy() - Constructor for class freemarker.cache.TemplateLookupStrategy
-
- TemplateMarkupOutputModel<MO extends TemplateMarkupOutputModel<MO>> - Interface in freemarker.core
-
"markup output" template language data-type; stores markup (some kind of "rich text" / structured format, as opposed
to plain text) that meant to be printed as template output.
- TemplateMethodModel - Interface in freemarker.template
-
- TemplateMethodModelEx - Interface in freemarker.template
-
"extended method" template language data type: Objects that act like functions.
- TemplateModel - Interface in freemarker.template
-
The common super-interface of the interfaces that stand for the FreeMarker Template Language (FTL) data types.
- TemplateModelAdapter - Interface in freemarker.template
-
Implemented by classes that serve as adapters for template model objects in
some other object model.
- TemplateModelException - Exception in freemarker.template
-
ObjectWrapper
-s may throw this when wrapping/unwrapping fails, or
TemplateModel
methods throw this
if the requested data can't be retrieved.
- TemplateModelException() - Constructor for exception freemarker.template.TemplateModelException
-
Constructs a TemplateModelException with no
specified detail message.
- TemplateModelException(String) - Constructor for exception freemarker.template.TemplateModelException
-
Constructs a TemplateModelException with the
specified detail message.
- TemplateModelException(Exception) - Constructor for exception freemarker.template.TemplateModelException
-
- TemplateModelException(Throwable) - Constructor for exception freemarker.template.TemplateModelException
-
Constructs a TemplateModelException with the given underlying
Exception, but no detail message.
- TemplateModelException(String, Exception) - Constructor for exception freemarker.template.TemplateModelException
-
- TemplateModelException(String, Throwable) - Constructor for exception freemarker.template.TemplateModelException
-
- TemplateModelException(String, boolean, Throwable) - Constructor for exception freemarker.template.TemplateModelException
-
Constructs a TemplateModelException with both a description of the error
that occurred and the underlying Exception that caused this exception
to be raised.
- TemplateModelException(Throwable, Environment, String, boolean) - Constructor for exception freemarker.template.TemplateModelException
-
Don't use this; this is to be used internally by FreeMarker.
- TemplateModelException(Throwable, Environment, _ErrorDescriptionBuilder, boolean) - Constructor for exception freemarker.template.TemplateModelException
-
Don't use this; this is to be used internally by FreeMarker.
- TemplateModelIterator - Interface in freemarker.template
-
- TemplateModelListSequence - Class in freemarker.template
-
- TemplateModelListSequence(List) - Constructor for class freemarker.template.TemplateModelListSequence
-
- TemplateModelUtils - Class in freemarker.template.utility
-
Static utility method related to
TemplateModel
-s that didn't fit elsewhere.
- TemplateModelWithAPISupport - Interface in freemarker.template
-
- TemplateNameFormat - Class in freemarker.cache
-
Symbolizes a template name format, which defines the basic syntax of names through algorithms such as normalization.
- TemplateNodeModel - Interface in freemarker.template
-
"node" template language data type: an object that is a node in a tree.
- TemplateNodeModelEx - Interface in freemarker.template
-
- TemplateNotFoundException - Exception in freemarker.template
-
- TemplateNotFoundException(String, Object, String) - Constructor for exception freemarker.template.TemplateNotFoundException
-
- TemplateNumberFormat - Class in freemarker.core
-
Represents a number format; used in templates for formatting and parsing with that format.
- TemplateNumberFormat() - Constructor for class freemarker.core.TemplateNumberFormat
-
- TemplateNumberFormatFactory - Class in freemarker.core
-
- TemplateNumberFormatFactory() - Constructor for class freemarker.core.TemplateNumberFormatFactory
-
- TemplateNumberModel - Interface in freemarker.template
-
"number" template language data type; an object that stores a number.
- TemplateRTFOutputModel - Class in freemarker.core
-
- TemplateRTFOutputModel(String, String) - Constructor for class freemarker.core.TemplateRTFOutputModel
-
- TemplateScalarModel - Interface in freemarker.template
-
"string" template language data-type; like in Java, an unmodifiable UNICODE character sequence.
- TemplateSequenceModel - Interface in freemarker.template
-
"sequence" template language data type; an object that contains other objects accessible through an integer 0-based
index.
- TemplateSourceMatcher - Class in freemarker.cache
-
- TemplateSourceMatcher() - Constructor for class freemarker.cache.TemplateSourceMatcher
-
- TemplateTransformModel - Interface in freemarker.template
-
"transform" template language data type: user-defined directives
(much like macros) specialized on filtering output; you should rather use the newer
TemplateDirectiveModel
instead.
- TemplateValueFormat - Class in freemarker.core
-
Superclass of all value format objects; objects that convert values to strings, or parse strings.
- TemplateValueFormat() - Constructor for class freemarker.core.TemplateValueFormat
-
- TemplateValueFormatException - Exception in freemarker.core
-
- TemplateValueFormatException(String, Throwable) - Constructor for exception freemarker.core.TemplateValueFormatException
-
- TemplateValueFormatException(String) - Constructor for exception freemarker.core.TemplateValueFormatException
-
- TemplateValueFormatFactory - Class in freemarker.core
-
Superclass of all format factories.
- TemplateValueFormatFactory() - Constructor for class freemarker.core.TemplateValueFormatFactory
-
- TemplateXHTMLOutputModel - Class in freemarker.core
-
- TemplateXHTMLOutputModel(String, String) - Constructor for class freemarker.core.TemplateXHTMLOutputModel
-
- TemplateXMLOutputModel - Class in freemarker.core
-
- TemplateXMLOutputModel(String, String) - Constructor for class freemarker.core.TemplateXMLOutputModel
-
- TIME - Static variable in interface freemarker.template.TemplateDateModel
-
The date model represents a time value (no date part).
- TIME_FORMAT_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TIME_FORMAT_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- TIME_FORMAT_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- TIME_ZONE_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TIME_ZONE_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- TIME_ZONE_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- ToCanonical - Class in freemarker.template.utility
-
- ToCanonical() - Constructor for class freemarker.template.utility.ToCanonical
-
Deprecated.
- toFullTemplateName(String, String) - Method in class freemarker.core.Environment
-
Resolves a reference to a template (like the one used in #include
or #import
), assuming a base
name.
- toIntExact(Number) - Static method in class freemarker.template.utility.NumberUtil
-
Converts a Number
to int
whose mathematical value is exactly the same as of the original number.
- tokenImage - Variable in exception freemarker.core.ParseException
-
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- toList() - Method in class freemarker.template.SimpleSequence
-
- toLowerABC(int) - Static method in class freemarker.template.utility.StringUtil
-
- toMap() - Method in class freemarker.template.SimpleHash
-
Note that this method creates and returns a deep-copy of the underlying hash used
internally.
- toNumber(String) - Method in class freemarker.core.ArithmeticEngine.BigDecimalEngine
-
- toNumber(String) - Method in class freemarker.core.ArithmeticEngine.ConservativeEngine
-
- toNumber(String) - Method in class freemarker.core.ArithmeticEngine
-
Should be able to parse all FTL numerical literals, Java Double toString results, and XML Schema numbers.
- toPropertiesString() - Method in class freemarker.ext.beans.BeansWrapper
-
- toPropertiesString() - Method in class freemarker.template.DefaultObjectWrapper
-
- toString() - Method in class freemarker.cache.ByteArrayTemplateLoader
-
Show class name and some details that are useful in template-not-found errors.
- toString() - Method in class freemarker.cache.ClassTemplateLoader
-
Show class name and some details that are useful in template-not-found errors.
- toString() - Method in class freemarker.cache.FileTemplateLoader
-
Show class name and some details that are useful in template-not-found errors.
- toString() - Method in class freemarker.cache.MultiTemplateLoader
-
Show class name and some details that are useful in template-not-found errors.
- toString() - Method in class freemarker.cache.StringTemplateLoader
-
Show class name and some details that are useful in template-not-found errors.
- toString() - Method in class freemarker.cache.WebappTemplateLoader
-
Show class name and some details that are useful in template-not-found errors.
- toString() - Method in class freemarker.core.CommonTemplateMarkupOutputModel
-
Returns something like {@code "markup(format=HTML, markup=
- toString() - Method in class freemarker.core.OutputFormat
-
Returns the short description of this format, to be used in error messages.
- toString() - Method in class freemarker.ext.beans.BeanModel
-
- toString() - Method in class freemarker.ext.beans.BeansWrapper
-
Returns the exact class name and the identity hash, also the values of the most often used
BeansWrapper
configuration properties, also if which (if any) shared class introspection cache it uses.
- toString() - Method in class freemarker.ext.beans.SimpleMethodModel
-
- toString() - Method in class freemarker.template.SimpleDate
-
- toString() - Method in class freemarker.template.SimpleHash
-
Returns the toString()
of the underlying Map
.
- toString() - Method in class freemarker.template.SimpleNumber
-
- toString() - Method in class freemarker.template.SimpleScalar
-
- toString() - Method in class freemarker.template.SimpleSequence
-
- toString() - Method in class freemarker.template.Template
-
Returns a string representing the raw template
text in canonical form.
- toString() - Method in class freemarker.template.Version
-
Contains the major.minor.micor numbers and the extraInfo part, not the other information.
- toStringExtraProperties() - Method in class freemarker.core.OutputFormat
-
Should be like
"foo=\"something\", bar=123"
; this will be inserted inside the parentheses in
OutputFormat.toString()
.
- toUpperABC(int) - Static method in class freemarker.template.utility.StringUtil
-
Converts 1
, 2
, 3
and so forth to "A"
, "B"
, "C"
and so fort.
- transcode(String) - Method in class freemarker.ext.servlet.HttpRequestParametersHashModel
-
- Transform - Class in freemarker.ext.dom
-
- transform(Reader, Writer) - Method in class freemarker.template.utility.NormalizeNewlines
-
Performs newline normalization on FreeMarker output.
- TransformControl - Interface in freemarker.template
-
- trim(char[]) - Static method in class freemarker.template.utility.StringUtil
-
Behaves exactly like String.trim()
, but works on arrays.
- TrivialCalendarFieldsToDateConverter() - Constructor for class freemarker.template.utility.DateUtil.TrivialCalendarFieldsToDateConverter
-
- TrivialDateToISO8601CalendarFactory() - Constructor for class freemarker.template.utility.DateUtil.TrivialDateToISO8601CalendarFactory
-
- TRUE - Static variable in interface freemarker.template.TemplateBooleanModel
-
A singleton object to represent boolean true
- TRUE - Static variable in class freemarker.template.utility.Constants
-
- truncate(String, int, TemplateScalarModel, Integer, Environment) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- truncate(String, int, TemplateScalarModel, Integer, Environment) - Method in class freemarker.core.TruncateBuiltinAlgorithm
-
Corresponds to ?truncate(...)
in templates.
- TRUNCATE_BUILTIN_ALGORITHM_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- TRUNCATE_BUILTIN_ALGORITHM_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- TRUNCATE_BUILTIN_ALGORITHM_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- TruncateBuiltinAlgorithm - Class in freemarker.core
-
Used for implementing the "truncate" family of built-ins.
- TruncateBuiltinAlgorithm() - Constructor for class freemarker.core.TruncateBuiltinAlgorithm
-
- truncateC(String, int, TemplateScalarModel, Integer, Environment) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- truncateC(String, int, TemplateScalarModel, Integer, Environment) - Method in class freemarker.core.TruncateBuiltinAlgorithm
-
Corresponds to ?truncate_c_m(...)
in templates.
- truncateCM(String, int, TemplateModel, Integer, Environment) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- truncateCM(String, int, TemplateModel, Integer, Environment) - Method in class freemarker.core.TruncateBuiltinAlgorithm
-
Corresponds to ?truncate_c_m(...)
in templates.
- truncateM(String, int, TemplateModel, Integer, Environment) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- truncateM(String, int, TemplateModel, Integer, Environment) - Method in class freemarker.core.TruncateBuiltinAlgorithm
-
Corresponds to ?truncate_m(...)
in templates.
- truncateW(String, int, TemplateScalarModel, Integer, Environment) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- truncateW(String, int, TemplateScalarModel, Integer, Environment) - Method in class freemarker.core.TruncateBuiltinAlgorithm
-
Corresponds to ?truncate_w(...)
in templates.
- truncateWM(String, int, TemplateModel, Integer, Environment) - Method in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
- truncateWM(String, int, TemplateModel, Integer, Environment) - Method in class freemarker.core.TruncateBuiltinAlgorithm
-
Corresponds to ?truncate_w_m(...)
in templates.
- tryToString(Object) - Static method in class freemarker.template.utility.StringUtil
-
Tries to run toString()
, but if that fails, returns a
"[com.example.SomeClass.toString() failed: " + e + "]"
instead.
- tryUnwrapTo(TemplateModel, Class<?>) - Method in class freemarker.ext.beans.BeansWrapper
-
- tryUnwrapTo(TemplateModel, Class<?>) - Method in interface freemarker.template.ObjectWrapperAndUnwrapper
-
Attempts to unwrap a
TemplateModel
to a plain Java object that's the instance of the given class (or is
null
).
- TYPE_BOOLEAN - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_COLLECTION - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_CONFIGURATION - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_DATE - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_ENVIRONMENT - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_HASH - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_HASH_EX - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_METHOD - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_METHOD_EX - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_NAMES - Static variable in interface freemarker.template.TemplateDateModel
-
- TYPE_NUMBER - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_SCALAR - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_SEQUENCE - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_TEMPLATE - Static variable in interface freemarker.debug.DebugModel
-
- TYPE_TRANSFORM - Static variable in interface freemarker.debug.DebugModel
-
- UndeclaredThrowableException - Exception in freemarker.template.utility
-
The equivalent of JDK 1.3 UndeclaredThrowableException.
- UndeclaredThrowableException(Throwable) - Constructor for exception freemarker.template.utility.UndeclaredThrowableException
-
- UndeclaredThrowableException(String, Throwable) - Constructor for exception freemarker.template.utility.UndeclaredThrowableException
-
- UndefinedCustomFormatException - Exception in freemarker.core
-
- UndefinedCustomFormatException(String, Throwable) - Constructor for exception freemarker.core.UndefinedCustomFormatException
-
- UndefinedCustomFormatException(String) - Constructor for exception freemarker.core.UndefinedCustomFormatException
-
- UndefinedOutputFormat - Class in freemarker.core
-
Represents the output format used when the template output format is undecided.
- UnexpectedTypeException - Exception in freemarker.core
-
The type of a value differs from what was expected.
- UnexpectedTypeException(Environment, String) - Constructor for exception freemarker.core.UnexpectedTypeException
-
- UnformattableValueException - Exception in freemarker.core
-
- UnformattableValueException(String, Throwable) - Constructor for exception freemarker.core.UnformattableValueException
-
- UnformattableValueException(String) - Constructor for exception freemarker.core.UnformattableValueException
-
- UNICODE_INSTANCE - Static variable in class freemarker.core.DefaultTruncateBuiltinAlgorithm
-
Instance that uses "[…]"
as the defaultTerminator
constructor argument, which contains
ellipsis character ("…"
, U+2026), and thus only works with UTF-8, and the cp125x charsets (like
cp1250), and with some other rarely used ones.
- UNKNOWN - Static variable in interface freemarker.template.TemplateDateModel
-
It is not known whether the date represents a date, a time, or a date-time value.
- UnknownDateTypeFormattingUnsupportedException - Exception in freemarker.core
-
- UnknownDateTypeFormattingUnsupportedException() - Constructor for exception freemarker.core.UnknownDateTypeFormattingUnsupportedException
-
- UnknownDateTypeParsingUnsupportedException - Exception in freemarker.core
-
- UnknownDateTypeParsingUnsupportedException() - Constructor for exception freemarker.core.UnknownDateTypeParsingUnsupportedException
-
- unknownSettingException(String) - Method in class freemarker.core.Configurable
-
Creates the exception that should be thrown when a setting name isn't recognized.
- UnlinkedJythonOperationsImpl - Class in freemarker.ext.ant
-
Used internally, public for technical reasons only.
- UnlinkedJythonOperationsImpl() - Constructor for class freemarker.ext.ant.UnlinkedJythonOperationsImpl
-
- UnparsableValueException - Exception in freemarker.core
-
Thrown when the content of the string that should be parsed by the
TemplateValueFormat
doesn't match what the
format expects.
- UnparsableValueException(String, Throwable) - Constructor for exception freemarker.core.UnparsableValueException
-
- UnparsableValueException(String) - Constructor for exception freemarker.core.UnparsableValueException
-
- UnrecognizedTimeZoneException - Exception in freemarker.template.utility
-
Indicates that the time zone name is not recognized.
- UnrecognizedTimeZoneException(String) - Constructor for exception freemarker.template.utility.UnrecognizedTimeZoneException
-
- UnregisteredOutputFormatException - Exception in freemarker.core
-
- UnregisteredOutputFormatException(String) - Constructor for exception freemarker.core.UnregisteredOutputFormatException
-
- UnregisteredOutputFormatException(String, Throwable) - Constructor for exception freemarker.core.UnregisteredOutputFormatException
-
- UNRESTRICTED_RESOLVER - Static variable in interface freemarker.core.TemplateClassResolver
-
- unsetAttemptExceptionReporter() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetCacheStorage() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetCFormat() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetDefaultEncoding() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetLocale() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetLogTemplateExceptions() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetObjectWrapper() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetOutputFormat() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetRecognizeStandardFileExtensions() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetTemplateExceptionHandler() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetTemplateLoader() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetTemplateLookupStrategy() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetTemplateNameFormat() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetTimeZone() - Method in class freemarker.template.Configuration
-
Resets the setting to its default, as if it was never set.
- unsetWrapUncheckedExceptions() - Method in class freemarker.template.Configuration
-
- UnsupportedNumberClassException - Exception in freemarker.template.utility
-
Thrown when FreeMarker runs into a Number
subclass that it doesn't yet support.
- UnsupportedNumberClassException(Class) - Constructor for exception freemarker.template.utility.UnsupportedNumberClassException
-
- unwrap(TemplateModel) - Method in class freemarker.ext.beans.BeanModel
-
- unwrap(TemplateModel) - Method in class freemarker.ext.beans.BeansWrapper
-
Attempts to unwrap a model into underlying object.
- unwrap(TemplateModel, Class<?>) - Method in class freemarker.ext.beans.BeansWrapper
-
Attempts to unwrap a model into an object of the desired class.
- unwrap(TemplateModel) - Method in class freemarker.ext.jython.JythonWrapper
-
Coerces a template model into a PyObject
.
- unwrap(TemplateModel) - Method in interface freemarker.template.ObjectWrapperAndUnwrapper
-
- unwrap(TemplateModel) - Static method in class freemarker.template.utility.DeepUnwrap
-
- URL_ESCAPING_CHARSET_KEY - Static variable in class freemarker.core.Configurable
-
Alias to the ..._SNAKE_CASE
variation due to backward compatibility constraints.
- URL_ESCAPING_CHARSET_KEY_CAMEL_CASE - Static variable in class freemarker.core.Configurable
-
Modern, camel case (likeThis
) variation of the setting name.
- URL_ESCAPING_CHARSET_KEY_SNAKE_CASE - Static variable in class freemarker.core.Configurable
-
Legacy, snake case (like_this
) variation of the setting name.
- URLEnc(String, String) - Static method in class freemarker.template.utility.StringUtil
-
URL encoding (like%20this) for query parameter values, path segments, fragments; this encodes all
characters that are reserved anywhere.
- URLPathEnc(String, String) - Static method in class freemarker.template.utility.StringUtil
-
- URLTemplateLoader - Class in freemarker.cache
-
This is an abstract template loader that can load templates whose location can be described by an URL.
- URLTemplateLoader() - Constructor for class freemarker.cache.URLTemplateLoader
-
- useDefaultXPathSupport() - Static method in class freemarker.ext.dom.NodeModel
-
Tells the system to use (restore) the default (initial) XPath system used by
this FreeMarker version on this system.
- useJaxenXPathSupport() - Static method in class freemarker.ext.dom.NodeModel
-
Convenience method.
- useSunInternalXPathSupport() - Static method in class freemarker.ext.dom.NodeModel
-
- useXalanXPathSupport() - Static method in class freemarker.ext.dom.NodeModel
-
Convenience method.
- UTC - Static variable in class freemarker.template.utility.DateUtil
-