☰
✕
Apache FreeMarker Manual
语言
English
中文
版本
2.3.28
Template Author's Guide
Getting Started
Template + data-model = output
The data-model at a glance
The template at a glance
Values, Types
Basics
The types
The Template
Overall structure
Directives
Expressions
Interpolations
Miscellaneous
Defining your own directives
Defining variables in the template
Namespaces
Auto-escaping and output formats
White-space handling
Alternative (square bracket) syntax
Programmer's Guide
Getting Started
Create a configuration instance
Create a data-model
Get the template
Merging the template with the data-model
Putting all together
The Data Model
Basics
Scalars
Containers
Methods
Directives
Node variables
Object wrappers
The Configuration
Basics
Shared variables
Settings
Template loading
Error handling
Template configurations
Associating output formats with templates
Custom number and date/time formats
The "incompatible improvements" setting
Miscellaneous
Variables, scopes
Charset issues
Multithreading
Bean wrapper
Logging
Using FreeMarker with servlets
Configuring security policy for FreeMarker
Legacy XML wrapper implementation
Using FreeMarker with Ant
Jython wrapper
Template Language Reference
Built-in Reference
Alphabetical index
Built-ins for strings
Built-ins for numbers
Built-ins for date/time/date-time values
Built-ins for booleans
Built-ins for sequences
Built-ins for hashes
Built-ins for nodes (for XML)
Loop variable built-ins
Type independent built-ins
Seldom used and expert built-ins
Directive Reference
Alphabetical index
assign
attempt, recover
autoesc
compress
escape, noescape (deprecated)
flush
ftl
function, return
global
if, else, elseif
import
include
list, else, items, sep, break, continue
local
macro, nested, return
noautoesc
noparse
nt
outputformat
setting
stop
switch, case, default, break
t, lt, rt
User-defined directive (<@...>)
visit, recurse, fallback
Special Variable Reference
Reserved names in FTL
Deprecated FTL constructs
List of deprecated directives
List of deprecated built-ins
Old-style macro and call directives
Transform directive
Old FTL syntax
#{...}: Numerical interpolation
XML Processing Guide
Preface
Exposing XML documents
The DOM tree
Putting the XML into the data-model
Imperative XML processing
Basics
Details
Declarative XML processing
Basics
Details
Appendixes
FAQ
Version history
2.3.30
2.3.29
2.3.28
2.3.27 (incubating at Apache)
2.3.26 (incubating at Apache)
2.3.25 (incubating at Apache)
2.3.24 (incubating at Apache)
2.3.23
2.3.22
2.3.21
2.3.20
2.3.19
2.3.18
2.3.17
2.3.16
2.3.15
2.3.14
2.3.13
2.3.12
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.7 RC1
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1
2.01
2.0
2.0 RC3
2.0 RC2
2.0 RC1
Installing FreeMarker
Legal
License
Export Control
Glossary
Alphabetical Index
Template Author's Guide
Section Contents
Getting Started
Template + data-model = output
The data-model at a glance
The template at a glance
Values, Types
Basics
The types
The Template
Overall structure
Directives
Expressions
Interpolations
Miscellaneous
Defining your own directives
Defining variables in the template
Namespaces
Auto-escaping and output formats
White-space handling
Alternative (square bracket) syntax
上一章
首页
下一章
⌃