Package freemarker.ext.misc

Utility classes that may be used to customise aspects of FM-Classic.

See:
          Description

Class Summary
Add Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
AsNumber Performs a type conversion from a String model to a number model.
AsString Performs a type conversion from a number model to a String model.
CollectionSize Determines the size of the underlying Collection or Map object given a TemplateObjectModel.
CompressWhitespace A transform model that compresses each occurrence of consecutive whitespace down to a single space character.
Decrement Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
Execute Gives FM-Classic the the ability to execute external commands.
ExtendedHash Simple extension to the SimpleHash implementation.
ExtendedIterator Iterator for the ExtendedList class.
ExtendedList Simple extension to the SimpleList implementation.
FreeMarkerToHtml A FM-Classic transformer that performs syntax colouring of FM-Classic source files, and outputs the results in HTML.
GreaterThan Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
GreaterThanOrEquals Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
HashKeys Determines the keyset of the underlying Map object given a TemplateObjectModel.
HashValues Determines the values of the underlying Map object given a TemplateObjectModel.
HtmlEscape Performs an HTML escape of a given template fragment.
HtmlFormattedExceptionListener Exception listener that improves reporting for compile errors.
Increment Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
IsHash Determines whether a given model is an instance of a TemplateHashModel.
IsIndexed Determines whether a given model is an instance of a TemplateListModel or TemplateIndexedModel.
IsList Determines whether a given model is an instance of a TemplateListModel or TemplateListModel2.
IsMethod Determines whether a given model is an instance of a TemplateMethodModel or TemplateMethodModel2.
IsNumber Determines whether a given model is an instance of a TemplateNumberModel.
IsScalar Determines whether a given model is an instance of a TemplateScalarModel.
IsTransform Determines whether a given model is an instance of a TemplateTransformModel or TemplateTransformModel2.
JavaToHtml A FM-Classic transformer that performs syntax colouring of Java source files, and outputs the results in HTML.
LegacyCompress A re-implementation of the <compress> template instruction as a TemplateTransformModel.
LessThan Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
LessThanOrEquals Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
Log4jExceptionListener Adapts FM-Classic's exception events to Log4j's logging methods.
NormalizeNewlines Transformer that supports FreeMarker legacy behaviour: all newlines appearing within the transformed area will be transformed into the platform's default newline.
Perl5Substitute Perform Perl 5 substitutions using the Jakarta ORO regular expression library.
RootModelWrapper Wraps a template hash model with a template model root.
Subtract Deprecated. With the introduction of native numbers and numeric operators in 1.8, this implementation is now deprecated
XmlEscape Performs an XML escape of a given template fragment.
 

Package freemarker.ext.misc Description

Utility classes that may be used to customise aspects of FM-Classic. These utilities are packaged in the freemarker-ext.jar file.