Uses of Package
freemarker.ext.beans
-
Packages that use freemarker.ext.beans Package Description freemarker.ext.beans The default object wrapper of FreeMarker uses this to expose Java Beans and POJO-s to templates.freemarker.ext.rhino Exposes Rhino (ECMAScript) objects to templates.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration
(see also the Getting Started in the Manual.) -
Classes in freemarker.ext.beans used by freemarker.ext.beans Class Description BeanModel A class that will wrap an arbitrary object intoTemplateHashModel
interface allowing calls to arbitrary property getters and invocation of accessible methods on the object from a template using the object.foo to access properties and object.bar(arg1, arg2) to invoke methods on it.BeansWrapper ObjectWrapper
that is able to expose the Java API of arbitrary Java objects.BeansWrapper.MethodAppearanceDecision Used forMethodAppearanceFineTuner.process(freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision)
to store the results; see there.BeansWrapper.MethodAppearanceDecisionInput Used forMethodAppearanceFineTuner.process(freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision)
as input parameter; see there.BeansWrapperConfiguration HoldsBeansWrapper
configuration settings and defines their defaults.ClassMemberAccessPolicy Returned byMemberAccessPolicy.forClass(Class)
.DefaultMemberAccessPolicy 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! UseWhitelistMemberAccessPolicy
if you need stricter control.LegacyDefaultMemberAccessPolicy Legacy blacklist based member access policy, used only to keep old behavior, as it can't provide meaningful safety.MemberAccessPolicy Implement this to restrict what class members (methods, fields, constructors) are accessible from templates.MemberSelectorListMemberAccessPolicy Superclass for member-selector-list-based member access policies, likeWhitelistMemberAccessPolicy
.MemberSelectorListMemberAccessPolicy.MemberSelector A condition that matches some type members.MethodAppearanceFineTuner Used for customizing how the methods are visible from templates, viaBeansWrapper.setMethodAppearanceFineTuner(MethodAppearanceFineTuner)
.StringModel Subclass ofBeanModel
that exposes the return value of theObject.toString()
method through theTemplateScalarModel
interface. -
Classes in freemarker.ext.beans used by freemarker.ext.rhino Class Description BeansWrapper ObjectWrapper
that is able to expose the Java API of arbitrary Java objects. -
Classes in freemarker.ext.beans used by freemarker.template Class Description BeansWrapper ObjectWrapper
that is able to expose the Java API of arbitrary Java objects.BeansWrapperConfiguration HoldsBeansWrapper
configuration settings and defines their defaults.