Package freemarker.core
The seldom used or advanced parts of the fundamental FreeMarker API, compared to freemarker.template.
This package also encloses FreeMarker's core parsing/rendering functionality.
-
Interface Summary Interface Description DirectiveCallPlace Gives information about the place where a directive is called from, also lets you attach a custom data object to that place.TemplateClassResolver Used by built-ins and other template language features that get a class based on a string. -
Class Summary Class Description ArithmeticEngine Class to perform arithmetic operations.ArithmeticEngine.BigDecimalEngine This is the default arithmetic engine in FreeMarker.ArithmeticEngine.ConservativeEngine An arithmetic engine that conservatively widens the operation arguments to extent that they can hold the result of the operation.CommandLine Deprecated. Will be removed (main method in a library, often classified as CWE-489 "Leftover Debug Code").Configurable CustomAttribute Environment Object that represents the runtime environment during template processing.FreeMarkerTree Deprecated. Will be removed, as Swing classes aren't accessible on Google App Engine.OptInTemplateClassResolver ATemplateClassResolverthat resolves only the classes whose name was specified in the constructor. -
Exception Summary Exception Description BugException An unexpected state was reached that is certainly caused by a bug in FreeMarker.CallPlaceCustomDataInitializationException Configurable.SettingValueAssignmentException 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 The setting name was not recognized.InvalidReferenceException A subclass ofTemplateExceptionthat says that an FTL expression has evaluated tonullor it refers to something that doesn't exist.NonBooleanException Indicates that aTemplateBooleanModelvalue was expected, but the value had a different type.NonDateException Indicates that aTemplateDateModelvalue was expected, but the value had a different type.NonExtendedHashException Indicates that aTemplateHashModelExvalue was expected, but the value had a different type.NonHashException Indicates that aTemplateHashModelvalue was expected, but the value had a different type.NonMethodException Indicates that aTemplateMethodModelvalue was expected, but the value had a different type.NonNodeException Indicates that aTemplateNodeModelvalue was expected, but the value had a different type.NonNumericalException Indicates that aTemplateNumberModelvalue was expected, but the value had a different type.NonSequenceException Indicates that aTemplateSequenceModelvalue was expected, but the value had a different type.NonSequenceOrCollectionException Indicates that aTemplateSequenceModelorTemplateCollectionModelvalue was expected, but the value had a different type.NonStringException Indicates that aTemplateScalarModelvalue was expected (or maybe something that can be automatically coerced to that), but the value had a different type.ParseException Parsing-time exception in a template (as opposed to a runtime exception, aTemplateException).StopException This exception is thrown when a #stop directive is encountered.UnexpectedTypeException The type of a value differs from what was expected.