Uses of Package
freemarker.ext.beans
-
Packages that use freemarker.ext.beans Package Description freemarker.ext.beans Thedefault object wrapper
of FreeMarker uses this to expose Java Beans and POJO-s to templates, but it can also be used in itself as a better alternativeObjectWrapper
.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 Stared 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 Experimental class; subject to change! Used forMethodAppearanceFineTuner.process(freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision)
to store the results; see there.BeansWrapper.MethodAppearanceDecisionInput Experimental class; subject to change! 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.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.