Package | Description |
---|---|
freemarker.core |
This package contains FreeMarker's core parsing/rendering functionality;
most casual users do not need to be aware of the classes in this package,
and can restrict their attention to the
freemarker.template
package. |
freemarker.template |
This package contains the core API's that most users will use.
|
freemarker.template.utility |
Utility classes that may be used to customize aspects of FreeMarker.
|
Modifier and Type | Method and Description |
---|---|
ParseException |
FMParser.generateParseException()
Generate ParseException.
|
Modifier and Type | Method and Description |
---|---|
Expression |
FMParser.AdditiveExpression() |
Expression |
FMParser.AddSubExpression(Expression exp)
Production that builds up an expression
using the dot or dynamic key name
or the args list if this is a method invocation.
|
Expression |
FMParser.AndExpression() |
TemplateElement |
FMParser.Assign() |
freemarker.core.AttemptBlock |
FMParser.Attempt() |
Expression |
FMParser.BooleanLiteral() |
freemarker.core.BreakInstruction |
FMParser.Break()
Production used to break out of a loop or a switch block.
|
Expression |
FMParser.BuiltIn(Expression exp) |
freemarker.core.BuiltinVariable |
FMParser.BuiltinVariable() |
TemplateElement |
FMParser.Call() |
freemarker.core.Case |
FMParser.Case() |
Comment |
FMParser.Comment() |
freemarker.core.CompressedBlock |
FMParser.Compress() |
TemplateElement |
FMParser.Content() |
Expression |
FMParser.DefaultTo(Expression exp) |
Expression |
FMParser.DotVariable(Expression exp)
production for when a key is specified by
|
Expression |
FMParser.DynamicKey(Expression exp)
production for when the key is specified
in brackets.
|
Expression |
FMParser.EqualityExpression() |
freemarker.core.EscapeBlock |
FMParser.Escape() |
Expression |
FMParser.Exists(Expression exp) |
Expression |
FMParser.Expression()
This is the same as OrExpression, since
the OR is the operator with the lowest
precedence.
|
freemarker.core.FallbackInstruction |
FMParser.FallBack() |
TemplateElement |
FMParser.Flush() |
freemarker.core.IteratorBlock |
FMParser.ForEach() |
TemplateElement |
FMParser.FreemarkerDirective()
A production for FreeMarker directives.
|
TemplateElement |
FMParser.FreeMarkerText()
A production freemarker text that may contain
${...} and #{...} but no directives.
|
freemarker.core.HashLiteral |
FMParser.HashLiteral() |
void |
FMParser.HeaderElement() |
freemarker.core.Identifier |
FMParser.Identifier() |
Expression |
FMParser.IdentifierOrStringLiteral() |
TemplateElement |
FMParser.If() |
LibraryLoad |
FMParser.Import() |
freemarker.core.Include |
FMParser.Include() |
freemarker.core.IteratorBlock |
FMParser.List() |
freemarker.core.ListLiteral |
FMParser.ListLiteral() |
Token |
FMParser.LooseDirectiveEnd()
Production to terminate potentially empty elements.
|
Macro |
FMParser.Macro() |
freemarker.core.MethodCall |
FMParser.MethodArgs(Expression exp)
production for an arglist part of a method invocation.
|
Expression |
FMParser.MultiplicativeExpression()
A unary expression followed by zero or more
unary expressions with operators in between.
|
java.util.HashMap |
FMParser.NamedArgs() |
TemplateElement |
FMParser.Nested() |
freemarker.core.NoEscapeBlock |
FMParser.NoEscape() |
TextBlock |
FMParser.NoParse() |
Expression |
FMParser.NotExpression() |
Expression |
FMParser.NumberLiteral() |
freemarker.core.NumericalOutput |
FMParser.NumericalOutput() |
TemplateElement |
FMParser.OptionalBlock()
A production for a block of optional content.
|
Expression |
FMParser.OrExpression() |
java.util.Map |
FMParser.ParamList() |
Expression |
FMParser.Parenthesis() |
protected java.util.HashMap |
Configurable.parseAsImportList(java.lang.String text) |
protected java.util.ArrayList |
Configurable.parseAsList(java.lang.String text) |
protected java.util.ArrayList |
Configurable.parseAsSegmentedList(java.lang.String text) |
TextBlock |
FMParser.PCData()
Production for a block of raw text
i.e.
|
java.util.ArrayList |
FMParser.PositionalArgs() |
Expression |
FMParser.PrimaryExpression()
Lowest level expression, a literal, a variable,
or a possibly more complex expression bounded
by parentheses.
|
Expression |
FMParser.RangeExpression() |
freemarker.core.RecoveryBlock |
FMParser.Recover() |
freemarker.core.RecurseNode |
FMParser.Recurse() |
Expression |
FMParser.RelationalExpression() |
ReturnInstruction |
FMParser.Return()
Production used to jump out of a macro.
|
TemplateElement |
FMParser.Root()
Root production to be used when parsing
an entire file.
|
freemarker.core.PropertySetting |
FMParser.Setting() |
freemarker.core.StopInstruction |
FMParser.Stop() |
freemarker.core.StringLiteral |
FMParser.StringLiteral(boolean interpolate) |
freemarker.core.DollarVariable |
FMParser.StringOutput()
A production representing the ${...}
that outputs a variable.
|
freemarker.core.SwitchBlock |
FMParser.Switch() |
freemarker.core.TransformBlock |
FMParser.Transform() |
TemplateElement |
FMParser.Trim() |
Expression |
FMParser.UnaryExpression()
A primary expression preceded by zero or
more unary operators.
|
Expression |
FMParser.UnaryPlusMinusExpression() |
TemplateElement |
FMParser.UnifiedMacroTransform() |
Token |
FMParser.UnparsedContent(java.lang.StringBuffer buf)
Production for dealing with unparsed content,
i.e.
|
freemarker.core.VisitNode |
FMParser.Visit() |
Modifier and Type | Class and Description |
---|---|
static class |
Template.WrongEncodingException |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
StringUtil.FTLStringLiteralDec(java.lang.String s)
FTL string literal decoding.
|