http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/ext/beans/BeansWrapper.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/ext/beans/BeansWrapper.html b/docs/api/freemarker/ext/beans/BeansWrapper.html index 514c43d..d6b2e14 100644 --- a/docs/api/freemarker/ext/beans/BeansWrapper.html +++ b/docs/api/freemarker/ext/beans/BeansWrapper.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:45 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:49 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>BeansWrapper (FreeMarker 2.3.27-incubating API)</title> -<meta name="date" content="2017-10-15"> +<meta name="date" content="2017-11-11"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -98,7 +98,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="contentContainer"> <ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li>java.lang.Object</li> <li> <ul class="inheritance"> <li>freemarker.ext.beans.BeansWrapper</li> @@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>public class <span class="typeNameLabel">BeansWrapper</span> -extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +extends java.lang.Object implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" title="interface in freemarker.template.utility">RichObjectWrapper</a>, <a href="../../../freemarker/template/utility/WriteProtectable.html" title="interface in freemarker.template.utility">WriteProtectable</a></pre> <div class="block"><a href="../../../freemarker/template/ObjectWrapper.html" title="interface in freemarker.template"><code>ObjectWrapper</code></a> that is able to expose the Java API of arbitrary Java objects. This is also the superclass of <a href="../../../freemarker/template/DefaultObjectWrapper.html" title="class in freemarker.template"><code>DefaultObjectWrapper</code></a>. Note that instances of this class generally should be created with a @@ -284,7 +284,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" <tr id="i0" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#checkModifiable--">checkModifiable</a></span>()</code> -<div class="block">If this object is already read-only according to <a href="../../../freemarker/template/utility/WriteProtectable.html" title="interface in freemarker.template.utility"><code>WriteProtectable</code></a>, throws <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a>, +<div class="block">If this object is already read-only according to <a href="../../../freemarker/template/utility/WriteProtectable.html" title="interface in freemarker.template.utility"><code>WriteProtectable</code></a>, throws <code>IllegalStateException</code>, otherwise does nothing.</div> </td> </tr> @@ -295,26 +295,26 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" </td> </tr> <tr id="i2" class="altColor"> -<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimal-java.math.BigDecimal-java.lang.Class-">coerceBigDecimal</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> bd, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> formalType)</code> -<div class="block">Converts <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> to the class given in the <code>formalType</code> argument if that's a known numerical - type, returns the <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> as is otherwise.</div> +<td class="colFirst"><code>static java.lang.Object</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimal-java.math.BigDecimal-java.lang.Class-">coerceBigDecimal</a></span>(java.math.BigDecimal bd, + java.lang.Class<?> formalType)</code> +<div class="block">Converts <code>BigDecimal</code> to the class given in the <code>formalType</code> argument if that's a known numerical + type, returns the <code>BigDecimal</code> as is otherwise.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>static void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimals-java.lang.reflect.AccessibleObject-java.lang.Object:A-">coerceBigDecimals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true" title="class or interface in java.lang.reflect">AccessibleObject</a> callable, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] args)</code> -<div class="block">Converts any <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>s in the passed array to the type of +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimals-java.lang.reflect.AccessibleObject-java.lang.Object:A-">coerceBigDecimals</a></span>(java.lang.reflect.AccessibleObject callable, + java.lang.Object[] args)</code> +<div class="block">Converts any <code>BigDecimal</code>s in the passed array to the type of the corresponding formal argument of the method.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>static void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimals-java.lang.Class:A-java.lang.Object:A-">coerceBigDecimals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] formalTypes, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] args)</code> -<div class="block">Converts any <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>-s in the passed array to the type of +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimals-java.lang.Class:A-java.lang.Object:A-">coerceBigDecimals</a></span>(java.lang.Class<?>[] formalTypes, + java.lang.Object[] args)</code> +<div class="block">Converts any <code>BigDecimal</code>-s in the passed array to the type of the corresponding formal argument of the method via <a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimal-java.math.BigDecimal-java.lang.Class-"><code>coerceBigDecimal(BigDecimal, Class)</code></a>.</div> </td> </tr> @@ -328,8 +328,8 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>protected void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#finetuneMethodAppearance-java.lang.Class-java.lang.reflect.Method-freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision-">finetuneMethodAppearance</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#finetuneMethodAppearance-java.lang.Class-java.lang.reflect.Method-freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision-">finetuneMethodAppearance</a></span>(java.lang.Class<?> clazz, + java.lang.reflect.Method m, <a href="../../../freemarker/ext/beans/BeansWrapper.MethodAppearanceDecision.html" title="class in freemarker.ext.beans">BeansWrapper.MethodAppearanceDecision</a> decision)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">Use <a href="../../../freemarker/ext/beans/BeansWrapper.html#setMethodAppearanceFineTuner-freemarker.ext.beans.MethodAppearanceFineTuner-"><code>setMethodAppearanceFineTuner(MethodAppearanceFineTuner)</code></a>; @@ -374,7 +374,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>protected <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#getInstance-java.lang.Object-freemarker.ext.util.ModelFactory-">getInstance</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#getInstance-java.lang.Object-freemarker.ext.util.ModelFactory-">getInstance</a></span>(java.lang.Object object, <a href="../../../freemarker/ext/util/ModelFactory.html" title="interface in freemarker.ext.util">ModelFactory</a> factory)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">override <a href="../../../freemarker/ext/beans/BeansWrapper.html#getModelFactory-java.lang.Class-"><code>getModelFactory(Class)</code></a> instead. Using this @@ -389,7 +389,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>protected <a href="../../../freemarker/ext/util/ModelFactory.html" title="interface in freemarker.ext.util">ModelFactory</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#getModelFactory-java.lang.Class-">getModelFactory</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz)</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#getModelFactory-java.lang.Class-">getModelFactory</a></span>(java.lang.Class<?> clazz)</code> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code><a href="../../../freemarker/template/ObjectWrapper.html" title="interface in freemarker.template">ObjectWrapper</a></code></td> @@ -448,9 +448,9 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#isWriteProtected--">isWriteProtected</a></span>()</code> </td> </tr> <tr id="i25" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#newInstance-java.lang.Class-java.util.List-">newInstance</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz, - <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> arguments)</code> +<td class="colFirst"><code>java.lang.Object</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#newInstance-java.lang.Class-java.util.List-">newInstance</a></span>(java.lang.Class<?> clazz, + java.util.List arguments)</code> <div class="block">Creates a new instance of the specified class using the method call logic of this object wrapper for calling the constructor.</div> </td> @@ -463,7 +463,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" </tr> <tr id="i27" class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#removeFromClassIntrospectionCache-java.lang.Class-">removeFromClassIntrospectionCache</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#removeFromClassIntrospectionCache-java.lang.Class-">removeFromClassIntrospectionCache</a></span>(java.lang.Class<?> clazz)</code> <div class="block">Removes the introspection data for a class from the cache.</div> </td> </tr> @@ -520,7 +520,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#setPreferIndexedReadMethod-boolean-">setPreferIndexedReadMethod</a></span>(boolean preferIndexedReadMethod)</code> <div class="block">Sets if when a JavaBean property has both a normal read method (like <code>String[] getFoos()</code>) and an indexed - read method (like <code>String getFoos(int index)</code>), and the Java <a href="http://docs.oracle.com/javase/8/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> exposes both (which only + read method (like <code>String getFoos(int index)</code>), and the Java <code>Introspector</code> exposes both (which only happens since Java 8, apparently), which read method will be used when the property is accessed with the shorthand syntax (like <code>myObj.foos</code>).</div> </td> @@ -528,7 +528,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" <tr id="i36" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#setSimpleMapWrapper-boolean-">setSimpleMapWrapper</a></span>(boolean simpleMapWrapper)</code> -<div class="block">When set to <code>true</code>, the keys in <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>-s won't mix with the method names when looking at them +<div class="block">When set to <code>true</code>, the keys in <code>Map</code>-s won't mix with the method names when looking at them from templates.</div> </td> </tr> @@ -554,57 +554,57 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" </td> </tr> <tr id="i40" class="altColor"> -<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colFirst"><code>protected java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#toPropertiesString--">toPropertiesString</a></span>()</code> <div class="block">Returns the name-value pairs that describe the configuration of this <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans"><code>BeansWrapper</code></a>; called from <a href="../../../freemarker/ext/beans/BeansWrapper.html#toString--"><code>toString()</code></a>.</div> </td> </tr> <tr id="i41" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#toString--">toString</a></span>()</code> <div class="block">Returns the exact class name and the identity hash, also the values of the most often used <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans"><code>BeansWrapper</code></a> configuration properties, also if which (if any) shared class introspection cache it uses.</div> </td> </tr> <tr id="i42" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colFirst"><code>java.lang.Object</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#tryUnwrapTo-freemarker.template.TemplateModel-java.lang.Class-">tryUnwrapTo</a></span>(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> targetClass)</code> + java.lang.Class<?> targetClass)</code> <div class="block">Attempts to unwrap a <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template"><code>TemplateModel</code></a> to a plain Java object that's the instance of the given class (or is <code>null</code>).</div> </td> </tr> <tr id="i43" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colFirst"><code>java.lang.Object</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#unwrap-freemarker.template.TemplateModel-">unwrap</a></span>(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model)</code> <div class="block">Attempts to unwrap a model into underlying object.</div> </td> </tr> <tr id="i44" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colFirst"><code>java.lang.Object</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#unwrap-freemarker.template.TemplateModel-java.lang.Class-">unwrap</a></span>(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> targetClass)</code> + java.lang.Class<?> targetClass)</code> <div class="block">Attempts to unwrap a model into an object of the desired class.</div> </td> </tr> <tr id="i45" class="rowColor"> <td class="colFirst"><code><a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-">wrap</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-">wrap</a></span>(java.lang.Object object)</code> <div class="block">Wraps the object with a template model that is most specific for the object's class.</div> </td> </tr> <tr id="i46" class="altColor"> <td class="colFirst"><code><a href="../../../freemarker/template/TemplateMethodModelEx.html" title="interface in freemarker.template">TemplateMethodModelEx</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-java.lang.reflect.Method-">wrap</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> method)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-java.lang.reflect.Method-">wrap</a></span>(java.lang.Object object, + java.lang.reflect.Method method)</code> <div class="block">Wraps a Java method so that it can be called from templates, without wrapping its parent ("this") object.</div> </td> </tr> <tr id="i47" class="rowColor"> <td class="colFirst"><code><a href="../../../freemarker/template/TemplateHashModel.html" title="interface in freemarker.template">TemplateHashModel</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#wrapAsAPI-java.lang.Object-">wrapAsAPI</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapper.html#wrapAsAPI-java.lang.Object-">wrapAsAPI</a></span>(java.lang.Object obj)</code> <div class="block">Wraps an object to a <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template"><code>TemplateModel</code></a> that exposes the object's "native" (usually, Java) API.</div> </td> </tr> @@ -619,8 +619,8 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> @@ -722,7 +722,7 @@ implements <a href="../../../freemarker/template/utility/RichObjectWrapper.html" <ul class="blockList"> <li class="blockList"> <h4>BeansWrapper</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +<pre>@Deprecated public BeansWrapper()</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../freemarker/ext/beans/BeansWrapperBuilder.html" title="class in freemarker.ext.beans"><code>BeansWrapperBuilder</code></a> or, in rare cases, <a href="../../../freemarker/ext/beans/BeansWrapper.html#BeansWrapper-freemarker.template.Version-"><code>BeansWrapper(Version)</code></a> instead.</span></div> <div class="block">Creates a new instance with the incompatible-improvements-version specified in @@ -773,8 +773,8 @@ public BeansWrapper()</pre> </li> <li> <p>2.3.24 (or higher): - <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a>-s were always said to be non-empty when using <code>?has_content</code> and such (i.e., - operators that check emptiness without reading any elements). Now an <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a> counts as + <code>Iterator</code>-s were always said to be non-empty when using <code>?has_content</code> and such (i.e., + operators that check emptiness without reading any elements). Now an <code>Iterator</code> counts as empty exactly if it has no elements left. (Note that this bug has never affected basic functionality, like <code><#list ...></code>.) </li> @@ -782,7 +782,7 @@ public BeansWrapper()</pre> <p>2.3.26 (or higher): The default of <a href="../../../freemarker/ext/beans/BeansWrapper.html#getTreatDefaultMethodsAsBeanMembers--"><code>getTreatDefaultMethodsAsBeanMembers()</code></a> changes from <code>false</code> to <code>true</code>. Thus, Java 8 default methods (and the bean properties they define) are exposed, despite that - <a href="http://docs.oracle.com/javase/8/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> (the official JavaBeans introspector) ignores them, at least as of Java 8. + <code>Introspector</code> (the official JavaBeans introspector) ignores them, at least as of Java 8. </li> <li> <p>2.3.27 (or higher): @@ -904,7 +904,7 @@ public BeansWrapper()</pre> <li class="blockList"> <h4>checkModifiable</h4> <pre>protected void checkModifiable()</pre> -<div class="block">If this object is already read-only according to <a href="../../../freemarker/template/utility/WriteProtectable.html" title="interface in freemarker.template.utility"><code>WriteProtectable</code></a>, throws <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a>, +<div class="block">If this object is already read-only according to <a href="../../../freemarker/template/utility/WriteProtectable.html" title="interface in freemarker.template.utility"><code>WriteProtectable</code></a>, throws <code>IllegalStateException</code>, otherwise does nothing.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -993,22 +993,22 @@ public BeansWrapper()</pre> <li class="blockList"> <h4>setSimpleMapWrapper</h4> <pre>public void setSimpleMapWrapper(boolean simpleMapWrapper)</pre> -<div class="block">When set to <code>true</code>, the keys in <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>-s won't mix with the method names when looking at them +<div class="block">When set to <code>true</code>, the keys in <code>Map</code>-s won't mix with the method names when looking at them from templates. The default is <code>false</code> for backward-compatibility, but is not recommended. <p>When this is <code>false</code>, <code>myMap.foo</code> or <code>myMap['foo']</code> either returns the method <code>foo</code>, - or calls <code>Map.get("foo")</code>. If both exists (the method and the <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> key), one will hide the other, + or calls <code>Map.get("foo")</code>. If both exists (the method and the <code>Map</code> key), one will hide the other, depending on the <a href="../../../freemarker/ext/beans/BeansWrapper.html#isMethodsShadowItems--"><code>isMethodsShadowItems()</code></a>, which default to <code>true</code> (the method wins). Some frameworks use this so that you can call <code>myMap.get(nonStringKey)</code> from templates [*], but it comes on the cost of polluting the key-set with the method names, and risking methods accidentally hiding - <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> entries (or the other way around). Thus, this setup is not recommended. - (Technical note: <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>-s will be wrapped into <a href="../../../freemarker/ext/beans/MapModel.html" title="class in freemarker.ext.beans"><code>MapModel</code></a> in this case.) + <code>Map</code> entries (or the other way around). Thus, this setup is not recommended. + (Technical note: <code>Map</code>-s will be wrapped into <a href="../../../freemarker/ext/beans/MapModel.html" title="class in freemarker.ext.beans"><code>MapModel</code></a> in this case.) <p>When this is <code>true</code>, <code>myMap.foo</code> or <code>myMap['foo']</code> always calls <code>Map.get("foo")</code>. - The methods of the <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> object aren't visible from templates in this case. This, however, spoils the + The methods of the <code>Map</code> object aren't visible from templates in this case. This, however, spoils the <code>myMap.get(nonStringKey)</code> workaround. But now you can use <code>myMap(nonStringKey)</code> instead, that is, you can use the map itself as the <code>get</code> method. - (Technical note: <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>-s will be wrapped into <a href="../../../freemarker/ext/beans/SimpleMapModel.html" title="class in freemarker.ext.beans"><code>SimpleMapModel</code></a> in this case.) + (Technical note: <code>Map</code>-s will be wrapped into <a href="../../../freemarker/ext/beans/SimpleMapModel.html" title="class in freemarker.ext.beans"><code>SimpleMapModel</code></a> in this case.) <p>*: For historical reasons, FreeMarker 2.3.X doesn't support non-string keys with the <code>[]</code> operator, hence the workarounds. This will be likely fixed in FreeMarker 2.4.0. Also note that the method- and @@ -1054,7 +1054,7 @@ public BeansWrapper()</pre> <h4>setPreferIndexedReadMethod</h4> <pre>public void setPreferIndexedReadMethod(boolean preferIndexedReadMethod)</pre> <div class="block">Sets if when a JavaBean property has both a normal read method (like <code>String[] getFoos()</code>) and an indexed - read method (like <code>String getFoos(int index)</code>), and the Java <a href="http://docs.oracle.com/javase/8/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> exposes both (which only + read method (like <code>String getFoos(int index)</code>), and the Java <code>Introspector</code> exposes both (which only happens since Java 8, apparently), which read method will be used when the property is accessed with the shorthand syntax (like <code>myObj.foos</code>). Before <a href="../../../freemarker/ext/beans/BeansWrapper.html#getIncompatibleImprovements--"><code>incompatibleImprovements</code></a> 2.3.27 it defaults to <code>true</code> for backward compatibility (although it's actually less backward compatible if @@ -1065,9 +1065,9 @@ public BeansWrapper()</pre> index is, and so the property will be unlistable (<code><#list foo as myObj.foos></code> will fail). <p> - Apparently, this setting only matters since Java 8, as before that <a href="http://docs.oracle.com/javase/8/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> did not expose the + Apparently, this setting only matters since Java 8, as before that <code>Introspector</code> did not expose the indexed reader method if there was also a normal reader method. As with Java 8 the behavior of - <a href="http://docs.oracle.com/javase/8/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> has changed, some old templates started to break, as the property has suddenly become + <code>Introspector</code> has changed, some old templates started to break, as the property has suddenly become unlistable (see earlier why). So setting this to <code>false</code> can be seen as a Java 8 compatibility fix.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -1135,7 +1135,7 @@ public BeansWrapper()</pre> actions, not methods in general.) Before <a href="../../../freemarker/ext/beans/BeansWrapper.html#getIncompatibleImprovements--"><code>incompatibleImprovements</code></a> 2.3.26 this defaults to <code>false</code> for backward compatibility. Starting with <a href="../../../freemarker/ext/beans/BeansWrapper.html#getIncompatibleImprovements--"><code>incompatibleImprovements</code></a> 2.3.26 it defaults to <code>true</code>. <p> - Some explanation: FreeMarker uses <a href="http://docs.oracle.com/javase/8/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> to discover the bean properties and actions of + Some explanation: FreeMarker uses <code>Introspector</code> to discover the bean properties and actions of classes, for maximum conformance to the JavaBeans specification. But for some reason (perhaps just a bug in the Oracle/OpenJDK Java 8 implementation) that ignores the Java 8 default methods coming from the interfaces. When this setting is <code>true</code>, we search for non-overridden default methods ourselves, and add them to the set of @@ -1294,7 +1294,7 @@ public BeansWrapper()</pre> <ul class="blockList"> <li class="blockList"> <h4>setNullModel</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +<pre>@Deprecated public void setNullModel(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> nullModel)</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Changing the <code>null</code> model can cause a lot of confusion; don't do it.</span></div> <div class="block">Sets the null model. This model is returned from the <a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-"><code>wrap(Object)</code></a> method whenever the wrapped object is @@ -1339,7 +1339,7 @@ public void setNullModel(<a href="../../../freemarker/template/Templat <ul class="blockList"> <li class="blockList"> <h4>getDefaultInstance</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +<pre>@Deprecated public static final <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans">BeansWrapper</a> getDefaultInstance()</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../freemarker/ext/beans/BeansWrapperBuilder.html" title="class in freemarker.ext.beans"><code>BeansWrapperBuilder</code></a> instead. The instance returned here is not read-only, so it's dangerous to use.</span></div> @@ -1360,7 +1360,7 @@ public static final <a href="../../../freemarker/ext/beans/BeansWrapper.htm <ul class="blockList"> <li class="blockList"> <h4>wrap</h4> -<pre>public <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> wrap(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object) +<pre>public <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> wrap(java.lang.Object object) throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block">Wraps the object with a template model that is most specific for the object's class. Specifically: @@ -1406,8 +1406,8 @@ public static final <a href="../../../freemarker/ext/beans/BeansWrapper.htm <ul class="blockList"> <li class="blockList"> <h4>wrap</h4> -<pre>public <a href="../../../freemarker/template/TemplateMethodModelEx.html" title="interface in freemarker.template">TemplateMethodModelEx</a> wrap(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> method)</pre> +<pre>public <a href="../../../freemarker/template/TemplateMethodModelEx.html" title="interface in freemarker.template">TemplateMethodModelEx</a> wrap(java.lang.Object object, + java.lang.reflect.Method method)</pre> <div class="block">Wraps a Java method so that it can be called from templates, without wrapping its parent ("this") object. The result is almost the same as that you would get by wrapping the parent object then getting the method from the resulting <a href="../../../freemarker/template/TemplateHashModel.html" title="interface in freemarker.template"><code>TemplateHashModel</code></a> by name. Except, if the wrapped method is overloaded, with this method you @@ -1418,7 +1418,7 @@ public static final <a href="../../../freemarker/ext/beans/BeansWrapper.htm <dd><code>object</code> - The object whose method will be called, or <code>null</code> if <code>method</code> is a static method. This object will be used "as is", like without unwrapping it if it's a <a href="../../../freemarker/template/TemplateModelAdapter.html" title="interface in freemarker.template"><code>TemplateModelAdapter</code></a>.</dd> <dd><code>method</code> - The method to call, which must be an (inherited) member of the class of <code>object</code>, as - described by <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true#invoke-java.lang.Object-java.lang.Object...-" title="class or interface in java.lang.reflect"><code>Method.invoke(Object, Object...)</code></a></dd> + described by <code>Method.invoke(Object, Object...)</code></dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.3.22</dd> </dl> @@ -1430,7 +1430,7 @@ public static final <a href="../../../freemarker/ext/beans/BeansWrapper.htm <ul class="blockList"> <li class="blockList"> <h4>wrapAsAPI</h4> -<pre>public <a href="../../../freemarker/template/TemplateHashModel.html" title="interface in freemarker.template">TemplateHashModel</a> wrapAsAPI(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj) +<pre>public <a href="../../../freemarker/template/TemplateHashModel.html" title="interface in freemarker.template">TemplateHashModel</a> wrapAsAPI(java.lang.Object obj) throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../freemarker/template/utility/ObjectWrapperWithAPISupport.html#wrapAsAPI-java.lang.Object-">ObjectWrapperWithAPISupport</a></code></span></div> <div class="block">Wraps an object to a <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template"><code>TemplateModel</code></a> that exposes the object's "native" (usually, Java) API.</div> @@ -1454,9 +1454,9 @@ public static final <a href="../../../freemarker/ext/beans/BeansWrapper.htm <ul class="blockList"> <li class="blockList"> <h4>getInstance</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -protected <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> getInstance(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object, - <a href="../../../freemarker/ext/util/ModelFactory.html" title="interface in freemarker.ext.util">ModelFactory</a> factory)</pre> +<pre>@Deprecated +protected <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> getInstance(java.lang.Object object, + <a href="../../../freemarker/ext/util/ModelFactory.html" title="interface in freemarker.ext.util">ModelFactory</a> factory)</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">override <a href="../../../freemarker/ext/beans/BeansWrapper.html#getModelFactory-java.lang.Class-"><code>getModelFactory(Class)</code></a> instead. Using this method will now bypass wrapper caching (if it's enabled) and always result in creation of a new wrapper. This method will be removed in 2.4</span></div> @@ -1473,7 +1473,7 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>getModelFactory</h4> -<pre>protected <a href="../../../freemarker/ext/util/ModelFactory.html" title="interface in freemarker.ext.util">ModelFactory</a> getModelFactory(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz)</pre> +<pre>protected <a href="../../../freemarker/ext/util/ModelFactory.html" title="interface in freemarker.ext.util">ModelFactory</a> getModelFactory(java.lang.Class<?> clazz)</pre> </li> </ul> <a name="unwrap-freemarker.template.TemplateModel-"> @@ -1482,8 +1482,8 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>unwrap</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> unwrap(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model) - throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> +<pre>public java.lang.Object unwrap(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model) + throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block">Attempts to unwrap a model into underlying object. Generally, this method is the inverse of the <a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-"><code>wrap(Object)</code></a> method. In addition it will unwrap arbitrary <a href="../../../freemarker/template/TemplateNumberModel.html" title="interface in freemarker.template"><code>TemplateNumberModel</code></a> instances into @@ -1514,9 +1514,9 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>unwrap</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> unwrap(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> targetClass) - throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> +<pre>public java.lang.Object unwrap(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model, + java.lang.Class<?> targetClass) + throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block">Attempts to unwrap a model into an object of the desired class. Generally, this method is the inverse of the <a href="../../../freemarker/ext/beans/BeansWrapper.html#wrap-java.lang.Object-"><code>wrap(Object)</code></a> method. It recognizes a wide range of target classes - all Java built-in @@ -1541,9 +1541,9 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>tryUnwrapTo</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> tryUnwrapTo(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> targetClass) - throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> +<pre>public java.lang.Object tryUnwrapTo(<a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> model, + java.lang.Class<?> targetClass) + throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../freemarker/template/ObjectWrapperAndUnwrapper.html#tryUnwrapTo-freemarker.template.TemplateModel-java.lang.Class-">ObjectWrapperAndUnwrapper</a></code></span></div> <div class="block">Attempts to unwrap a <a href="../../../freemarker/template/TemplateModel.html" title="interface in freemarker.template"><code>TemplateModel</code></a> to a plain Java object that's the instance of the given class (or is <code>null</code>).</div> @@ -1582,7 +1582,7 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" class, get the element of this hash with the fully qualified class name. For example, if you place this hash model inside the root data model under name "statics", you can use i.e. <code>statics["java.lang. - System"]. currentTimeMillis()</code> to call the <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/System.html?is-external=true#currentTimeMillis--" title="class or interface in java.lang"><code>System.currentTimeMillis()</code></a> method.</div> + System"]. currentTimeMillis()</code> to call the <code>System.currentTimeMillis()</code> method.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>a hash model whose keys are fully qualified class names, and @@ -1605,14 +1605,14 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" hash with the fully qualified class name. For example, if you place this hash model inside the root data model under name "enums", you can use i.e. <code>enums["java.math.RoundingMode"].UP</code> to access the - <a href="http://docs.oracle.com/javase/8/docs/api/java/math/RoundingMode.html?is-external=true#UP" title="class or interface in java.math"><code>RoundingMode.UP</code></a> value.</div> + <code>RoundingMode.UP</code> value.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>a hash model whose keys are fully qualified class names, and that returns hash models whose elements are the enum models of the classes.</dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if this method is invoked on a +<dd><code>java.lang.UnsupportedOperationException</code> - if this method is invoked on a pre-1.5 JRE, as Java enums aren't supported there.</dd> </dl> </li> @@ -1623,9 +1623,9 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>newInstance</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> newInstance(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz, - <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> arguments) - throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> +<pre>public java.lang.Object newInstance(java.lang.Class<?> clazz, + java.util.List arguments) + throws <a href="../../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block">Creates a new instance of the specified class using the method call logic of this object wrapper for calling the constructor. Overloaded constructors and varargs are supported. Only public constructors will be called.</div> <dl> @@ -1645,7 +1645,7 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>removeFromClassIntrospectionCache</h4> -<pre>public void removeFromClassIntrospectionCache(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz)</pre> +<pre>public void removeFromClassIntrospectionCache(java.lang.Class<?> clazz)</pre> <div class="block">Removes the introspection data for a class from the cache. Use this if you know that a class is not used anymore in templates. If the class will be still used, the cache entry will be silently @@ -1669,7 +1669,7 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" the cache entries for the classes that will be used later in templates.</div> <dl> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if <a href="../../../freemarker/ext/beans/BeansWrapper.html#isClassIntrospectionCacheRestricted--"><code>isClassIntrospectionCacheRestricted()</code></a> is <code>true</code>.</dd> +<dd><code>java.lang.IllegalStateException</code> - if <a href="../../../freemarker/ext/beans/BeansWrapper.html#isClassIntrospectionCacheRestricted--"><code>isClassIntrospectionCacheRestricted()</code></a> is <code>true</code>.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.3.20</dd> </dl> @@ -1681,10 +1681,10 @@ protected <a href="../../../freemarker/template/TemplateModel.html" title=" <ul class="blockList"> <li class="blockList"> <h4>finetuneMethodAppearance</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -protected void finetuneMethodAppearance(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> clazz, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m, - <a href="../../../freemarker/ext/beans/BeansWrapper.MethodAppearanceDecision.html" title="class in freemarker.ext.beans">BeansWrapper.MethodAppearanceDecision</a> decision)</pre> +<pre>@Deprecated +protected void finetuneMethodAppearance(java.lang.Class<?> clazz, + java.lang.reflect.Method m, + <a href="../../../freemarker/ext/beans/BeansWrapper.MethodAppearanceDecision.html" title="class in freemarker.ext.beans">BeansWrapper.MethodAppearanceDecision</a> decision)</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../freemarker/ext/beans/BeansWrapper.html#setMethodAppearanceFineTuner-freemarker.ext.beans.MethodAppearanceFineTuner-"><code>setMethodAppearanceFineTuner(MethodAppearanceFineTuner)</code></a>; no need to extend this class anymore. Soon this method will be final, so trying to override it will break your app. @@ -1698,9 +1698,9 @@ protected void finetuneMethodAppearance(<a href="http://docs.oracle.co <ul class="blockList"> <li class="blockList"> <h4>coerceBigDecimals</h4> -<pre>public static void coerceBigDecimals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true" title="class or interface in java.lang.reflect">AccessibleObject</a> callable, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] args)</pre> -<div class="block">Converts any <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>s in the passed array to the type of +<pre>public static void coerceBigDecimals(java.lang.reflect.AccessibleObject callable, + java.lang.Object[] args)</pre> +<div class="block">Converts any <code>BigDecimal</code>s in the passed array to the type of the corresponding formal argument of the method.</div> </li> </ul> @@ -1710,9 +1710,9 @@ protected void finetuneMethodAppearance(<a href="http://docs.oracle.co <ul class="blockList"> <li class="blockList"> <h4>coerceBigDecimals</h4> -<pre>public static void coerceBigDecimals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] formalTypes, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] args)</pre> -<div class="block">Converts any <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>-s in the passed array to the type of +<pre>public static void coerceBigDecimals(java.lang.Class<?>[] formalTypes, + java.lang.Object[] args)</pre> +<div class="block">Converts any <code>BigDecimal</code>-s in the passed array to the type of the corresponding formal argument of the method via <a href="../../../freemarker/ext/beans/BeansWrapper.html#coerceBigDecimal-java.math.BigDecimal-java.lang.Class-"><code>coerceBigDecimal(BigDecimal, Class)</code></a>.</div> </li> </ul> @@ -1722,10 +1722,10 @@ protected void finetuneMethodAppearance(<a href="http://docs.oracle.co <ul class="blockList"> <li class="blockList"> <h4>coerceBigDecimal</h4> -<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> coerceBigDecimal(<a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> bd, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> formalType)</pre> -<div class="block">Converts <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> to the class given in the <code>formalType</code> argument if that's a known numerical - type, returns the <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> as is otherwise. Overflow and precision loss are possible, similarly as +<pre>public static java.lang.Object coerceBigDecimal(java.math.BigDecimal bd, + java.lang.Class<?> formalType)</pre> +<div class="block">Converts <code>BigDecimal</code> to the class given in the <code>formalType</code> argument if that's a known numerical + type, returns the <code>BigDecimal</code> as is otherwise. Overflow and precision loss are possible, similarly as with casting in Java.</div> </li> </ul> @@ -1735,12 +1735,12 @@ protected void finetuneMethodAppearance(<a href="http://docs.oracle.co <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> +<pre>public java.lang.String toString()</pre> <div class="block">Returns the exact class name and the identity hash, also the values of the most often used <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans"><code>BeansWrapper</code></a> configuration properties, also if which (if any) shared class introspection cache it uses.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +<dd><code>toString</code> in class <code>java.lang.Object</code></dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.3.21</dd> </dl> @@ -1752,7 +1752,7 @@ protected void finetuneMethodAppearance(<a href="http://docs.oracle.co <ul class="blockListLast"> <li class="blockList"> <h4>toPropertiesString</h4> -<pre>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toPropertiesString()</pre> +<pre>protected java.lang.String toPropertiesString()</pre> <div class="block">Returns the name-value pairs that describe the configuration of this <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans"><code>BeansWrapper</code></a>; called from <a href="../../../freemarker/ext/beans/BeansWrapper.html#toString--"><code>toString()</code></a>. The expected format is like <code>"foo=bar, baaz=wombat"</code>. When overriding this, you should call the super method, and then insert the content before it with a following <code>", "</code>, or after it with a
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/ext/beans/BeansWrapperBuilder.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/ext/beans/BeansWrapperBuilder.html b/docs/api/freemarker/ext/beans/BeansWrapperBuilder.html index 0cd4682..03f003c 100644 --- a/docs/api/freemarker/ext/beans/BeansWrapperBuilder.html +++ b/docs/api/freemarker/ext/beans/BeansWrapperBuilder.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:45 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:49 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>BeansWrapperBuilder (FreeMarker 2.3.27-incubating API)</title> -<meta name="date" content="2017-10-15"> +<meta name="date" content="2017-11-11"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -98,7 +98,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="contentContainer"> <ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html" title="class in freemarker.ext.beans">freemarker.ext.beans.BeansWrapperConfiguration</a></li> @@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> -<dd><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd> +<dd>java.lang.Cloneable</dd> </dl> <hr> <br> @@ -255,8 +255,8 @@ extends <a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html" t <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.ht ml?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/ext/beans/BeansWrapperConfiguration.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/ext/beans/BeansWrapperConfiguration.html b/docs/api/freemarker/ext/beans/BeansWrapperConfiguration.html index e3ebbea..795ebaf 100644 --- a/docs/api/freemarker/ext/beans/BeansWrapperConfiguration.html +++ b/docs/api/freemarker/ext/beans/BeansWrapperConfiguration.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:45 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:49 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>BeansWrapperConfiguration (FreeMarker 2.3.27-incubating API)</title> -<meta name="date" content="2017-10-15"> +<meta name="date" content="2017-11-11"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -98,7 +98,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="contentContainer"> <ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li>java.lang.Object</li> <li> <ul class="inheritance"> <li>freemarker.ext.beans.BeansWrapperConfiguration</li> @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> -<dd><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd> +<dd>java.lang.Cloneable</dd> </dl> <dl> <dt>Direct Known Subclasses:</dt> @@ -119,8 +119,8 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>public abstract class <span class="typeNameLabel">BeansWrapperConfiguration</span> -extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> -implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></pre> +extends java.lang.Object +implements java.lang.Cloneable</pre> <div class="block">Holds <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans"><code>BeansWrapper</code></a> configuration settings and defines their defaults. You will not use this abstract class directly, but concrete subclasses like <a href="../../../freemarker/ext/beans/BeansWrapperBuilder.html" title="class in freemarker.ext.beans"><code>BeansWrapperBuilder</code></a> and <a href="../../../freemarker/template/DefaultObjectWrapperBuilder.html" title="class in freemarker.template"><code>DefaultObjectWrapperBuilder</code></a>. Unless, you are developing a builder for a custom <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans"><code>BeansWrapper</code></a> subclass. @@ -179,12 +179,12 @@ implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> +<td class="colFirst"><code>protected java.lang.Object</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html#clone-boolean-">clone</a></span>(boolean deepCloneKey)</code> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object obj)</code> <div class="block">Two <a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html" title="class in freemarker.ext.beans"><code>BeansWrapperConfiguration</code></a>-s are equal exactly if their classes are identical (<code>==</code>), and their field values are equal.</div> </td> @@ -305,8 +305,8 @@ implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.ht ml?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> @@ -375,7 +375,7 @@ implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable <pre>public int hashCode()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> </dl> </li> </ul> @@ -385,12 +385,12 @@ implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable <ul class="blockList"> <li class="blockList"> <h4>equals</h4> -<pre>public boolean equals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> +<pre>public boolean equals(java.lang.Object obj)</pre> <div class="block">Two <a href="../../../freemarker/ext/beans/BeansWrapperConfiguration.html" title="class in freemarker.ext.beans"><code>BeansWrapperConfiguration</code></a>-s are equal exactly if their classes are identical (<code>==</code>), and their field values are equal.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +<dd><code>equals</code> in class <code>java.lang.Object</code></dd> </dl> </li> </ul> @@ -400,7 +400,7 @@ implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable <ul class="blockList"> <li class="blockList"> <h4>clone</h4> -<pre>protected <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> clone(boolean deepCloneKey)</pre> +<pre>protected java.lang.Object clone(boolean deepCloneKey)</pre> </li> </ul> <a name="isSimpleMapWrapper--"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/ext/beans/BooleanModel.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/ext/beans/BooleanModel.html b/docs/api/freemarker/ext/beans/BooleanModel.html index 59b7045..49b4ff8 100644 --- a/docs/api/freemarker/ext/beans/BooleanModel.html +++ b/docs/api/freemarker/ext/beans/BooleanModel.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:45 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:49 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>BooleanModel (FreeMarker 2.3.27-incubating API)</title> -<meta name="date" content="2017-10-15"> +<meta name="date" content="2017-11-11"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -98,7 +98,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="contentContainer"> <ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../freemarker/ext/beans/BeanModel.html" title="class in freemarker.ext.beans">freemarker.ext.beans.BeanModel</a></li> @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; <pre>public class <span class="typeNameLabel">BooleanModel</span> extends <a href="../../../freemarker/ext/beans/BeanModel.html" title="class in freemarker.ext.beans">BeanModel</a> implements <a href="../../../freemarker/template/TemplateBooleanModel.html" title="interface in freemarker.template">TemplateBooleanModel</a></pre> -<div class="block"><p>A class that will wrap instances of <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a> into a +<div class="block"><p>A class that will wrap instances of <code>Boolean</code> into a <a href="../../../freemarker/template/TemplateBooleanModel.html" title="interface in freemarker.template"><code>TemplateBooleanModel</code></a>.</div> </li> </ul> @@ -171,7 +171,7 @@ implements <a href="../../../freemarker/template/TemplateBooleanModel.html" titl <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BooleanModel.html#BooleanModel-java.lang.Boolean-freemarker.ext.beans.BeansWrapper-">BooleanModel</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> bool, +<td class="colOne"><code><span class="memberNameLink"><a href="../../../freemarker/ext/beans/BooleanModel.html#BooleanModel-java.lang.Boolean-freemarker.ext.beans.BeansWrapper-">BooleanModel</a></span>(java.lang.Boolean bool, <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans">BeansWrapper</a> wrapper)</code> </td> </tr> </table> @@ -205,8 +205,8 @@ implements <a href="../../../freemarker/template/TemplateBooleanModel.html" titl <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> -<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> @@ -228,7 +228,7 @@ implements <a href="../../../freemarker/template/TemplateBooleanModel.html" titl <ul class="blockListLast"> <li class="blockList"> <h4>BooleanModel</h4> -<pre>public BooleanModel(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> bool, +<pre>public BooleanModel(java.lang.Boolean bool, <a href="../../../freemarker/ext/beans/BeansWrapper.html" title="class in freemarker.ext.beans">BeansWrapper</a> wrapper)</pre> </li> </ul>