http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateBooleanModel.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateBooleanModel.html b/docs/api/freemarker/template/TemplateBooleanModel.html index f54e332..188867f 100644 --- a/docs/api/freemarker/template/TemplateBooleanModel.html +++ b/docs/api/freemarker/template/TemplateBooleanModel.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateBooleanModel (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>
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateCollectionModel.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateCollectionModel.html b/docs/api/freemarker/template/TemplateCollectionModel.html index 0adf4e5..7d9889b 100644 --- a/docs/api/freemarker/template/TemplateCollectionModel.html +++ b/docs/api/freemarker/template/TemplateCollectionModel.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateCollectionModel (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> @@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab"; extends <a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a></pre> <div class="block">"collection" template language data type: a collection of values that can be enumerated, but can't be or not meant to be accessed by index or key, nor the number of elements in it is known. As such, this is very similar to Java's - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> interface (but it predates that interface, hence the unfortunate class name). + <code>Iterable</code> interface (but it predates that interface, hence the unfortunate class name). <p> Note that this is not a super-interface of <a href="../../freemarker/template/TemplateSequenceModel.html" title="interface in freemarker.template"><code>TemplateSequenceModel</code></a>, and implementations of that interface @@ -133,7 +133,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface twice. <p> - Note that to wrap Java's <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>, you should implement <a href="../../freemarker/template/TemplateCollectionModelEx.html" title="interface in freemarker.template"><code>TemplateCollectionModelEx</code></a>, not just this + Note that to wrap Java's <code>Collection</code>, you should implement <a href="../../freemarker/template/TemplateCollectionModelEx.html" title="interface in freemarker.template"><code>TemplateCollectionModelEx</code></a>, not just this interface.</div> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateCollectionModelEx.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateCollectionModelEx.html b/docs/api/freemarker/template/TemplateCollectionModelEx.html index 444194f..df3da0f 100644 --- a/docs/api/freemarker/template/TemplateCollectionModelEx.html +++ b/docs/api/freemarker/template/TemplateCollectionModelEx.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateCollectionModelEx (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> @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; <pre>public interface <span class="typeNameLabel">TemplateCollectionModelEx</span> extends <a href="../../freemarker/template/TemplateCollectionModel.html" title="interface in freemarker.template">TemplateCollectionModel</a></pre> <div class="block">"collection" template language data type: Adds size/emptiness querybility to - <a href="../../freemarker/template/TemplateCollectionModel.html" title="interface in freemarker.template"><code>TemplateCollectionModel</code></a>. The added extra operations are provided by all Java <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>-s, and this + <a href="../../freemarker/template/TemplateCollectionModel.html" title="interface in freemarker.template"><code>TemplateCollectionModel</code></a>. The added extra operations are provided by all Java <code>Collection</code>-s, and this interface was added to make that accessible for templates too.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -161,8 +161,8 @@ extends <a href="../../freemarker/template/TemplateCollectionModel.html" title=" <tr id="i1" class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateCollectionModelEx.html#size--">size</a></span>()</code> -<div class="block">Returns the number items in this collection, or <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a>, if there are more than - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a> items.</div> +<div class="block">Returns the number items in this collection, or <code>Integer.MAX_VALUE</code>, if there are more than + <code>Integer.MAX_VALUE</code> items.</div> </td> </tr> </table> @@ -195,8 +195,8 @@ extends <a href="../../freemarker/template/TemplateCollectionModel.html" title=" <h4>size</h4> <pre>int size() throws <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> -<div class="block">Returns the number items in this collection, or <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a>, if there are more than - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a> items.</div> +<div class="block">Returns the number items in this collection, or <code>Integer.MAX_VALUE</code>, if there are more than + <code>Integer.MAX_VALUE</code> items.</div> <dl> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></code></dd> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateDateModel.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateDateModel.html b/docs/api/freemarker/template/TemplateDateModel.html index 15cd180..28842e9 100644 --- a/docs/api/freemarker/template/TemplateDateModel.html +++ b/docs/api/freemarker/template/TemplateDateModel.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateDateModel (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> @@ -112,7 +112,7 @@ var activeTableTab = "activeTableTab"; <br> <pre>public interface <span class="typeNameLabel">TemplateDateModel</span> extends <a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a></pre> -<div class="block">"date", "time" and "date-time" template language data types: corresponds to <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>. Contrary to Java, +<div class="block">"date", "time" and "date-time" template language data types: corresponds to <code>Date</code>. Contrary to Java, FreeMarker distinguishes date (no time part), time and date-time values. <p> @@ -155,7 +155,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>static <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></code></td> +<td class="colFirst"><code>static java.util.List</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateDateModel.html#TYPE_NAMES">TYPE_NAMES</a></span></code> </td> </tr> <tr class="altColor"> @@ -187,7 +187,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td> +<td class="colFirst"><code>java.util.Date</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateDateModel.html#getAsDate--">getAsDate</a></span>()</code> <div class="block">Returns the date value.</div> </td> @@ -276,7 +276,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <ul class="blockListLast"> <li class="blockList"> <h4>TYPE_NAMES</h4> -<pre>static final <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> TYPE_NAMES</pre> +<pre>static final java.util.List TYPE_NAMES</pre> </li> </ul> </li> @@ -293,8 +293,8 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <ul class="blockList"> <li class="blockList"> <h4>getAsDate</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> getAsDate() - throws <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> +<pre>java.util.Date getAsDate() + throws <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block">Returns the date value. The return value must not be <code>null</code>.</div> <dl> <dt><span class="throwsLabel">Throws:</span></dt> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateDirectiveBody.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateDirectiveBody.html b/docs/api/freemarker/template/TemplateDirectiveBody.html index d492de4..a1a6d1c 100644 --- a/docs/api/freemarker/template/TemplateDirectiveBody.html +++ b/docs/api/freemarker/template/TemplateDirectiveBody.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateDirectiveBody (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> @@ -131,7 +131,7 @@ var activeTableTab = "activeTableTab"; </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateDirectiveBody.html#render-java.io.Writer-">render</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateDirectiveBody.html#render-java.io.Writer-">render</a></span>(java.io.Writer out)</code> <div class="block">Renders the body of the directive body to the specified writer.</div> </td> </tr> @@ -156,9 +156,9 @@ var activeTableTab = "activeTableTab"; <ul class="blockListLast"> <li class="blockList"> <h4>render</h4> -<pre>void render(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out) +<pre>void render(java.io.Writer out) throws <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a>, - <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + java.io.IOException</pre> <div class="block">Renders the body of the directive body to the specified writer. The writer is not flushed after the rendering. If you pass the environment's writer, there is no need to flush it. If you supply your own writer, you @@ -169,7 +169,7 @@ var activeTableTab = "activeTableTab"; <dd><code>out</code> - the writer to write the output to.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a></code></dd> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> +<dd><code>java.io.IOException</code></dd> </dl> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateDirectiveModel.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateDirectiveModel.html b/docs/api/freemarker/template/TemplateDirectiveModel.html index b7fd8ae..1b57034 100644 --- a/docs/api/freemarker/template/TemplateDirectiveModel.html +++ b/docs/api/freemarker/template/TemplateDirectiveModel.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateDirectiveModel (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> @@ -159,7 +159,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <tr id="i0" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateDirectiveModel.html#execute-freemarker.core.Environment-java.util.Map-freemarker.template.TemplateModel:A-freemarker.template.TemplateDirectiveBody-">execute</a></span>(<a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env, - <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> params, + java.util.Map params, <a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a>[] loopVars, <a href="../../freemarker/template/TemplateDirectiveBody.html" title="interface in freemarker.template">TemplateDirectiveBody</a> body)</code> <div class="block">Executes this user-defined directive; called by FreeMarker when the user-defined @@ -188,24 +188,24 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <li class="blockList"> <h4>execute</h4> <pre>void execute(<a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env, - <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> params, + java.util.Map params, <a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a>[] loopVars, <a href="../../freemarker/template/TemplateDirectiveBody.html" title="interface in freemarker.template">TemplateDirectiveBody</a> body) throws <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a>, - <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> + java.io.IOException</pre> <div class="block">Executes this user-defined directive; called by FreeMarker when the user-defined directive is called in the template. - <p>This method should not throw <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><code>RuntimeException</code></a>, nor <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> that wasn't caused by writing + <p>This method should not throw <code>RuntimeException</code>, nor <code>IOException</code> that wasn't caused by writing to the output. Such exceptions should be catched inside the method and wrapped inside a <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a>. (Note that setting <a href="../../freemarker/template/Configuration.html#setWrapUncheckedExceptions-boolean-"><code>Configuration.setWrapUncheckedExceptions(boolean)</code></a> to - <code>true</code> can mitigate the negative effects of implementations that throw <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><code>RuntimeException</code></a>-s.)</div> + <code>true</code> can mitigate the negative effects of implementations that throw <code>RuntimeException</code>-s.)</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>env</code> - the current processing environment. Note that you can access - the output <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a> by <a href="../../freemarker/core/Environment.html#getOut--"><code>Environment.getOut()</code></a>.</dd> + the output <code>Writer</code> by <a href="../../freemarker/core/Environment.html#getOut--"><code>Environment.getOut()</code></a>.</dd> <dd><code>params</code> - the parameters (if any) passed to the directive as a - map of key/value pairs where the keys are <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>-s and the + map of key/value pairs where the keys are <code>String</code>-s and the values are <a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template"><code>TemplateModel</code></a> instances. This is never <code>null</code>. If you need to convert the template models to POJOs, you can use the utility methods in the <a href="../../freemarker/template/utility/DeepUnwrap.html" title="class in freemarker.template.utility"><code>DeepUnwrap</code></a> class.</dd> @@ -220,9 +220,9 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <@myDirective /> or <@myDirective></@myDirective>), then this will be <code>null</code>.</dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a></code> - If any problem occurs that's not an <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> during writing the template +<dd><code><a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a></code> - If any problem occurs that's not an <code>IOException</code> during writing the template output.</dd> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - When writing the template output fails. Other <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>-s should be catched in this +<dd><code>java.io.IOException</code> - When writing the template output fails. Other <code>IOException</code>-s should be catched in this method and wrapped into <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a>.</dd> </dl> </li> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateException.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateException.html b/docs/api/freemarker/template/TemplateException.html index f34aa46..7108cc5 100644 --- a/docs/api/freemarker/template/TemplateException.html +++ b/docs/api/freemarker/template/TemplateException.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateException (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,13 +98,13 @@ 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="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li> +<li>java.lang.Throwable</li> <li> <ul class="inheritance"> -<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li> +<li>java.lang.Exception</li> <li> <ul class="inheritance"> <li>freemarker.template.TemplateException</li> @@ -120,7 +120,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/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> +<dd>java.io.Serializable</dd> </dl> <dl> <dt>Direct Known Subclasses:</dt> @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>public class <span class="typeNameLabel">TemplateException</span> -extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> +extends java.lang.Exception</pre> <div class="block">Runtime exception in a template (as opposed to a parsing-time exception: <a href="../../freemarker/core/ParseException.html" title="class in freemarker.core"><code>ParseException</code></a>). It prints a special stack trace that contains the template-language stack trace along the usual Java stack trace.</div> <dl> @@ -163,7 +163,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr class="rowColor"> <td class="colFirst"><code> </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Exception-freemarker.core.Environment-">TemplateException</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> cause, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Exception-freemarker.core.Environment-">TemplateException</a></span>(java.lang.Exception cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</code> <div class="block">The same as <a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Throwable-freemarker.core.Environment-"><code>TemplateException(Throwable, Environment)</code></a>; it's exists only for binary backward-compatibility.</div> @@ -171,7 +171,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr class="altColor"> <td class="colFirst"><code> </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-freemarker.core.Environment-">TemplateException</a></span>(<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> description, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-freemarker.core.Environment-">TemplateException</a></span>(java.lang.String description, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</code> <div class="block">Constructs a TemplateException with the given detail message, but no underlying cause exception.</div> @@ -179,8 +179,8 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr class="rowColor"> <td class="colFirst"><code> </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-java.lang.Exception-freemarker.core.Environment-">TemplateException</a></span>(<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> description, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> cause, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-java.lang.Exception-freemarker.core.Environment-">TemplateException</a></span>(java.lang.String description, + java.lang.Exception cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</code> <div class="block">The same as <a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-java.lang.Throwable-freemarker.core.Environment-"><code>TemplateException(String, Throwable, Environment)</code></a>; it's exists only for binary backward-compatibility.</div> @@ -188,8 +188,8 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr class="altColor"> <td class="colFirst"><code> </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-java.lang.Throwable-freemarker.core.Environment-">TemplateException</a></span>(<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> description, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-java.lang.Throwable-freemarker.core.Environment-">TemplateException</a></span>(java.lang.String description, + java.lang.Throwable cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</code> <div class="block">Constructs a TemplateException with both a description of the error that occurred and the underlying Exception that caused this exception @@ -198,7 +198,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr class="rowColor"> <td class="colFirst"><code> </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Throwable-freemarker.core.Environment-">TemplateException</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Throwable-freemarker.core.Environment-">TemplateException</a></span>(java.lang.Throwable cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</code> <div class="block">Constructs a TemplateException with the given underlying Exception, but no detail message.</div> @@ -206,7 +206,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr class="altColor"> <td class="colFirst"><code>protected </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Throwable-freemarker.core.Environment-freemarker.core.Expression-freemarker.core._ErrorDescriptionBuilder-">TemplateException</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Throwable-freemarker.core.Environment-freemarker.core.Expression-freemarker.core._ErrorDescriptionBuilder-">TemplateException</a></span>(java.lang.Throwable cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env, freemarker.core.Expression blamedExpr, freemarker.core._ErrorDescriptionBuilder descriptionBuilder)</code> @@ -229,36 +229,36 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<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/template/TemplateException.html#getBlamedExpressionString--">getBlamedExpressionString</a></span>()</code> <div class="block">If there was a blamed expression attached to this exception, it returns its canonical form, otherwise it returns <code>null</code>.</div> </td> </tr> <tr id="i1" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></td> +<td class="colFirst"><code>java.lang.Exception</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#getCauseException--">getCauseException</a></span>()</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> -<div class="block"><span class="deprecationComment">Java 1.4 has introduced <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang"><code>Throwable.getCause()</code></a> - use that instead, especially as this can't return +<div class="block"><span class="deprecationComment">Java 1.4 has introduced <code>Throwable.getCause()</code> - use that instead, especially as this can't return runtime exceptions and errors as is.</span></div> </div> </td> </tr> <tr id="i2" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> +<td class="colFirst"><code>java.lang.Integer</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#getColumnNumber--">getColumnNumber</a></span>()</code> <div class="block">1-based column number of the failing section, or <code>null</code> if the information is not available.</div> </td> </tr> <tr id="i3" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> +<td class="colFirst"><code>java.lang.Integer</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#getEndColumnNumber--">getEndColumnNumber</a></span>()</code> <div class="block">1-based column number of the last character of the failing template section, or <code>null</code> if the information is not available.</div> </td> </tr> <tr id="i4" class="altColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> +<td class="colFirst"><code>java.lang.Integer</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#getEndLineNumber--">getEndLineNumber</a></span>()</code> <div class="block">1-based line number of the last line that contains the failing section, or <code>null</code> if the information is not available.</div> @@ -269,30 +269,30 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#getEnvironment--">getEnvironment</a></span>()</code> </td> </tr> <tr id="i6" class="altColor"> -<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/template/TemplateException.html#getFTLInstructionStack--">getFTLInstructionStack</a></span>()</code> <div class="block">Returns the snapshot of the FTL stack trace at the time this exception was created.</div> </td> </tr> <tr id="i7" class="rowColor"> -<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> +<td class="colFirst"><code>java.lang.Integer</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#getLineNumber--">getLineNumber</a></span>()</code> <div class="block">1-based line number of the failing section, or <code>null</code> if the information is not available.</div> </td> </tr> <tr id="i8" class="altColor"> -<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/template/TemplateException.html#getMessage--">getMessage</a></span>()</code> </td> </tr> <tr id="i9" 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/template/TemplateException.html#getMessageWithoutStackTop--">getMessageWithoutStackTop</a></span>()</code> <div class="block">Similar to <a href="../../freemarker/template/TemplateException.html#getMessage--"><code>getMessage()</code></a>, but it doesn't contain the position of the failing instruction at then end of the text.</div> </td> </tr> <tr id="i10" class="altColor"> -<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/template/TemplateException.html#getTemplateName--">getTemplateName</a></span>()</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">Use <a href="../../freemarker/template/TemplateException.html#getTemplateSourceName--"><code>getTemplateSourceName()</code></a> instead, unless you are really sure that this is what you want. @@ -301,7 +301,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </td> </tr> <tr id="i11" 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/template/TemplateException.html#getTemplateSourceName--">getTemplateSourceName</a></span>()</code> <div class="block">Returns the source name (<a href="../../freemarker/template/Template.html#getSourceName--"><code>Template.getSourceName()</code></a>) of the template where the error has occurred, or <code>null</code> if the information isn't available.</div> @@ -309,39 +309,39 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintStream-">printStackTrace</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> out)</code> -<div class="block">Overrides <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang"><code>Throwable.printStackTrace(PrintStream)</code></a> so that it will include the FTL stack trace.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintStream-">printStackTrace</a></span>(java.io.PrintStream out)</code> +<div class="block">Overrides <code>Throwable.printStackTrace(PrintStream)</code> so that it will include the FTL stack trace.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintStream-boolean-boolean-boolean-">printStackTrace</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> out, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintStream-boolean-boolean-boolean-">printStackTrace</a></span>(java.io.PrintStream out, boolean heading, boolean ftlStackTrace, boolean javaStackTrace)</code> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintWriter-">printStackTrace</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a> out)</code> -<div class="block">Overrides <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang"><code>Throwable.printStackTrace(PrintWriter)</code></a> so that it will include the FTL stack trace.</div> +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintWriter-">printStackTrace</a></span>(java.io.PrintWriter out)</code> +<div class="block">Overrides <code>Throwable.printStackTrace(PrintWriter)</code> so that it will include the FTL stack trace.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintWriter-boolean-boolean-boolean-">printStackTrace</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a> out, +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStackTrace-java.io.PrintWriter-boolean-boolean-boolean-">printStackTrace</a></span>(java.io.PrintWriter out, boolean heading, boolean ftlStackTrace, boolean javaStackTrace)</code> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStandardStackTrace-java.io.PrintStream-">printStandardStackTrace</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> ps)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStandardStackTrace-java.io.PrintStream-">printStandardStackTrace</a></span>(java.io.PrintStream ps)</code> <div class="block">Prints the stack trace as if wasn't overridden by <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a>.</div> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStandardStackTrace-java.io.PrintWriter-">printStandardStackTrace</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a> pw)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateException.html#printStandardStackTrace-java.io.PrintWriter-">printStandardStackTrace</a></span>(java.io.PrintWriter pw)</code> <div class="block">Prints the stack trace as if wasn't overridden by <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a>.</div> </td> </tr> @@ -350,15 +350,15 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable"> <!-- --> </a> -<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3> -<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li> +<h3>Methods inherited from class java.lang.Throwable</h3> +<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString</code></li> </ul> <ul class="blockList"> <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> @@ -391,7 +391,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockList"> <li class="blockList"> <h4>TemplateException</h4> -<pre>public TemplateException(<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> description, +<pre>public TemplateException(java.lang.String description, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</pre> <div class="block">Constructs a TemplateException with the given detail message, but no underlying cause exception.</div> @@ -407,7 +407,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockList"> <li class="blockList"> <h4>TemplateException</h4> -<pre>public TemplateException(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> cause, +<pre>public TemplateException(java.lang.Exception cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</pre> <div class="block">The same as <a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.Throwable-freemarker.core.Environment-"><code>TemplateException(Throwable, Environment)</code></a>; it's exists only for binary backward-compatibility.</div> @@ -419,13 +419,13 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockList"> <li class="blockList"> <h4>TemplateException</h4> -<pre>public TemplateException(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause, +<pre>public TemplateException(java.lang.Throwable cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</pre> <div class="block">Constructs a TemplateException with the given underlying Exception, but no detail message.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>cause</code> - the underlying <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a> that caused this +<dd><code>cause</code> - the underlying <code>Exception</code> that caused this exception to be raised</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.3.20</dd> @@ -438,8 +438,8 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockList"> <li class="blockList"> <h4>TemplateException</h4> -<pre>public TemplateException(<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> description, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> cause, +<pre>public TemplateException(java.lang.String description, + java.lang.Exception cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</pre> <div class="block">The same as <a href="../../freemarker/template/TemplateException.html#TemplateException-java.lang.String-java.lang.Throwable-freemarker.core.Environment-"><code>TemplateException(String, Throwable, Environment)</code></a>; it's exists only for binary backward-compatibility.</div> @@ -451,8 +451,8 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockList"> <li class="blockList"> <h4>TemplateException</h4> -<pre>public TemplateException(<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> description, - <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause, +<pre>public TemplateException(java.lang.String description, + java.lang.Throwable cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env)</pre> <div class="block">Constructs a TemplateException with both a description of the error that occurred and the underlying Exception that caused this exception @@ -460,7 +460,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>description</code> - the description of the error that occurred</dd> -<dd><code>cause</code> - the underlying <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a> that caused this exception to be raised</dd> +<dd><code>cause</code> - the underlying <code>Exception</code> that caused this exception to be raised</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.3.20</dd> </dl> @@ -472,7 +472,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockListLast"> <li class="blockList"> <h4>TemplateException</h4> -<pre>protected TemplateException(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause, +<pre>protected TemplateException(java.lang.Throwable cause, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env, freemarker.core.Expression blamedExpr, freemarker.core._ErrorDescriptionBuilder descriptionBuilder)</pre> @@ -499,9 +499,9 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.ht <ul class="blockList"> <li class="blockList"> <h4>getCauseException</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> -public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> getCauseException()</pre> -<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Java 1.4 has introduced <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang"><code>Throwable.getCause()</code></a> - use that instead, especially as this can't return +<pre>@Deprecated +public java.lang.Exception getCauseException()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Java 1.4 has introduced <code>Throwable.getCause()</code> - use that instead, especially as this can't return runtime exceptions and errors as is.</span></div> </li> </ul> @@ -511,7 +511,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>getFTLInstructionStack</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> getFTLInstructionStack()</pre> +<pre>public java.lang.String getFTLInstructionStack()</pre> <div class="block">Returns the snapshot of the FTL stack trace at the time this exception was created.</div> </li> </ul> @@ -535,11 +535,11 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>printStackTrace</h4> -<pre>public void printStackTrace(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> out)</pre> -<div class="block">Overrides <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang"><code>Throwable.printStackTrace(PrintStream)</code></a> so that it will include the FTL stack trace.</div> +<pre>public void printStackTrace(java.io.PrintStream out)</pre> +<div class="block">Overrides <code>Throwable.printStackTrace(PrintStream)</code> so that it will include the FTL stack trace.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> +<dd><code>printStackTrace</code> in class <code>java.lang.Throwable</code></dd> </dl> </li> </ul> @@ -549,11 +549,11 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>printStackTrace</h4> -<pre>public void printStackTrace(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a> out)</pre> -<div class="block">Overrides <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang"><code>Throwable.printStackTrace(PrintWriter)</code></a> so that it will include the FTL stack trace.</div> +<pre>public void printStackTrace(java.io.PrintWriter out)</pre> +<div class="block">Overrides <code>Throwable.printStackTrace(PrintWriter)</code> so that it will include the FTL stack trace.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> +<dd><code>printStackTrace</code> in class <code>java.lang.Throwable</code></dd> </dl> </li> </ul> @@ -563,7 +563,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>printStackTrace</h4> -<pre>public void printStackTrace(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a> out, +<pre>public void printStackTrace(java.io.PrintWriter out, boolean heading, boolean ftlStackTrace, boolean javaStackTrace)</pre> @@ -583,7 +583,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>printStackTrace</h4> -<pre>public void printStackTrace(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> out, +<pre>public void printStackTrace(java.io.PrintStream out, boolean heading, boolean ftlStackTrace, boolean javaStackTrace)</pre> @@ -603,7 +603,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>printStandardStackTrace</h4> -<pre>public void printStandardStackTrace(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> ps)</pre> +<pre>public void printStandardStackTrace(java.io.PrintStream ps)</pre> <div class="block">Prints the stack trace as if wasn't overridden by <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a>.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -617,7 +617,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>printStandardStackTrace</h4> -<pre>public void printStandardStackTrace(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a> pw)</pre> +<pre>public void printStandardStackTrace(java.io.PrintWriter pw)</pre> <div class="block">Prints the stack trace as if wasn't overridden by <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a>.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -631,10 +631,10 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>getMessage</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> getMessage()</pre> +<pre>public java.lang.String getMessage()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> +<dd><code>getMessage</code> in class <code>java.lang.Throwable</code></dd> </dl> </li> </ul> @@ -644,7 +644,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>getMessageWithoutStackTop</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> getMessageWithoutStackTop()</pre> +<pre>public java.lang.String getMessageWithoutStackTop()</pre> <div class="block">Similar to <a href="../../freemarker/template/TemplateException.html#getMessage--"><code>getMessage()</code></a>, but it doesn't contain the position of the failing instruction at then end of the text. It might contains the position of the failing <em>expression</em> though as part of the expression quotation, as that's the part of the description.</div> @@ -656,7 +656,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>getLineNumber</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getLineNumber()</pre> +<pre>public java.lang.Integer getLineNumber()</pre> <div class="block">1-based line number of the failing section, or <code>null</code> if the information is not available.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -670,8 +670,8 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exceptio <ul class="blockList"> <li class="blockList"> <h4>getTemplateName</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> -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> getTemplateName()</pre> +<pre>@Deprecated +public java.lang.String getTemplateName()</pre> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../freemarker/template/TemplateException.html#getTemplateSourceName--"><code>getTemplateSourceName()</code></a> instead, unless you are really sure that this is what you want. This method isn't really deprecated, it's just marked so to warn users about this.</span></div> <div class="block">Returns the name (<a href="../../freemarker/template/Template.html#getName--"><code>Template.getName()</code></a>) of the template where the error has occurred, or <code>null</code> if @@ -689,7 +689,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.h <ul class="blockList"> <li class="blockList"> <h4>getTemplateSourceName</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> getTemplateSourceName()</pre> +<pre>public java.lang.String getTemplateSourceName()</pre> <div class="block">Returns the source name (<a href="../../freemarker/template/Template.html#getSourceName--"><code>Template.getSourceName()</code></a>) of the template where the error has occurred, or <code>null</code> if the information isn't available. This is what should be used for showing the error position.</div> <dl> @@ -704,7 +704,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.h <ul class="blockList"> <li class="blockList"> <h4>getColumnNumber</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getColumnNumber()</pre> +<pre>public java.lang.Integer getColumnNumber()</pre> <div class="block">1-based column number of the failing section, or <code>null</code> if the information is not available.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -718,7 +718,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.h <ul class="blockList"> <li class="blockList"> <h4>getEndLineNumber</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getEndLineNumber()</pre> +<pre>public java.lang.Integer getEndLineNumber()</pre> <div class="block">1-based line number of the last line that contains the failing section, or <code>null</code> if the information is not available.</div> <dl> @@ -733,7 +733,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.h <ul class="blockList"> <li class="blockList"> <h4>getEndColumnNumber</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getEndColumnNumber()</pre> +<pre>public java.lang.Integer getEndColumnNumber()</pre> <div class="block">1-based column number of the last character of the failing template section, or <code>null</code> if the information is not available. Note that unlike with Java string API-s, this column number is inclusive.</div> <dl> @@ -748,7 +748,7 @@ public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.h <ul class="blockListLast"> <li class="blockList"> <h4>getBlamedExpressionString</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> getBlamedExpressionString()</pre> +<pre>public java.lang.String getBlamedExpressionString()</pre> <div class="block">If there was a blamed expression attached to this exception, it returns its canonical form, otherwise it returns <code>null</code>. This expression should always be inside the failing FTL instruction. http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateExceptionHandler.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateExceptionHandler.html b/docs/api/freemarker/template/TemplateExceptionHandler.html index 255ed0b..94ec47f 100644 --- a/docs/api/freemarker/template/TemplateExceptionHandler.html +++ b/docs/api/freemarker/template/TemplateExceptionHandler.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateExceptionHandler (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> @@ -168,7 +168,7 @@ var activeTableTab = "activeTableTab"; <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateExceptionHandler.html#handleTemplateException-freemarker.template.TemplateException-freemarker.core.Environment-java.io.Writer-">handleTemplateException</a></span>(<a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a> te, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env, - <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out)</code> + java.io.Writer out)</code> <div class="block">Method called after a <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a> was raised inside a template.</div> </td> </tr> @@ -249,7 +249,7 @@ var activeTableTab = "activeTableTab"; <h4>handleTemplateException</h4> <pre>void handleTemplateException(<a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a> te, <a href="../../freemarker/core/Environment.html" title="class in freemarker.core">Environment</a> env, - <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out) + java.io.Writer out) throws <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template">TemplateException</a></pre> <div class="block">Method called after a <a href="../../freemarker/template/TemplateException.html" title="class in freemarker.template"><code>TemplateException</code></a> was raised inside a template. The exception should be re-thrown unless you want to suppress the exception. http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateHashModel.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateHashModel.html b/docs/api/freemarker/template/TemplateHashModel.html index eac16f3..d22b5cd 100644 --- a/docs/api/freemarker/template/TemplateHashModel.html +++ b/docs/api/freemarker/template/TemplateHashModel.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateHashModel (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> @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; <pre>public interface <span class="typeNameLabel">TemplateHashModel</span> extends <a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a></pre> <div class="block">"hash" template language data type: an object that contains other objects accessible through string keys - (sub-variable names). + (sub-variable names). It, in itself, doesn't support listing the keys or values (<a href="../../freemarker/template/TemplateHashModelEx.html" title="interface in freemarker.template"><code>TemplateHashModelEx</code></a> does). <p>In templates they are used like <code>myHash.myKey</code> or <code>myHash[myDynamicKey]</code>.</div> </li> @@ -155,7 +155,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface </tr> <tr id="i0" class="altColor"> <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/template/TemplateHashModel.html#get-java.lang.String-">get</a></span>(<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> key)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateHashModel.html#get-java.lang.String-">get</a></span>(java.lang.String key)</code> <div class="block">Gets a <tt>TemplateModel</tt> from the hash.</div> </td> </tr> @@ -184,7 +184,7 @@ extends <a href="../../freemarker/template/TemplateModel.html" title="interface <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre><a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> get(<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> key) +<pre><a href="../../freemarker/template/TemplateModel.html" title="interface in freemarker.template">TemplateModel</a> get(java.lang.String key) throws <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> <div class="block">Gets a <tt>TemplateModel</tt> from the hash.</div> <dl> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateHashModelEx.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateHashModelEx.html b/docs/api/freemarker/template/TemplateHashModelEx.html index 9ca860b..f5d9956 100644 --- a/docs/api/freemarker/template/TemplateHashModelEx.html +++ b/docs/api/freemarker/template/TemplateHashModelEx.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateHashModelEx (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> @@ -117,13 +117,15 @@ var activeTableTab = "activeTableTab"; <pre>public interface <span class="typeNameLabel">TemplateHashModelEx</span> extends <a href="../../freemarker/template/TemplateHashModel.html" title="interface in freemarker.template">TemplateHashModel</a></pre> <div class="block">"extended hash" template language data type; extends <a href="../../freemarker/template/TemplateHashModel.html" title="interface in freemarker.template"><code>TemplateHashModel</code></a> by allowing - iterating through its keys and values. + iterating through its keys and values. Consider implementing the modern variation of this, + <a href="../../freemarker/template/TemplateHashModelEx2.html" title="interface in freemarker.template"><code>TemplateHashModelEx2</code></a>, which allows the more efficient listing of key-value pairs. <p>In templates they are used like hashes, but these will also work (among others): - <code>myExtHash?size</code>, <code>myExtHash?keys</code>, <code>myExtHash?values</code>.</div> + <code>myExtHash?size</code>, <code>myExtHash?keys</code>, <code>myExtHash?values</code>, <code><#list myMap as k, v></code>.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../freemarker/template/SimpleHash.html" title="class in freemarker.template"><code>SimpleHash</code></a></dd> +<dd><a href="../../freemarker/template/DefaultMapAdapter.html" title="class in freemarker.template"><code>DefaultMapAdapter</code></a>, +<a href="../../freemarker/template/SimpleHash.html" title="class in freemarker.template"><code>SimpleHash</code></a></dd> </dl> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePair.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePair.html b/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePair.html index e9eb2af..f084c05 100644 --- a/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePair.html +++ b/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePair.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateHashModelEx2.KeyValuePair (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> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html b/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html index 545abab..bfe74f9 100644 --- a/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html +++ b/docs/api/freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateHashModelEx2.KeyValuePairIterator (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> @@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>public static interface <span class="typeNameLabel">TemplateHashModelEx2.KeyValuePairIterator</span></pre> -<div class="block">Iterates over the key-value pairs in a hash. This is very similar to 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>, but has a fixed item +<div class="block">Iterates over the key-value pairs in a hash. This is very similar to an <code>Iterator</code>, but has a fixed item type, can throw <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template"><code>TemplateModelException</code></a>-s, and has no <code>remove()</code> method.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> @@ -138,13 +138,13 @@ var activeTableTab = "activeTableTab"; <tr id="i0" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html#hasNext--">hasNext</a></span>()</code> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#hasNext--" title="class or interface in java.util"><code>Iterator.hasNext()</code></a>.</div> +<div class="block">Similar to <code>Iterator.hasNext()</code>.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../freemarker/template/TemplateHashModelEx2.KeyValuePair.html" title="interface in freemarker.template">TemplateHashModelEx2.KeyValuePair</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../freemarker/template/TemplateHashModelEx2.KeyValuePairIterator.html#next--">next</a></span>()</code> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#next--" title="class or interface in java.util"><code>Iterator.next()</code></a>.</div> +<div class="block">Similar to <code>Iterator.next()</code>.</div> </td> </tr> </table> @@ -170,7 +170,7 @@ var activeTableTab = "activeTableTab"; <h4>hasNext</h4> <pre>boolean hasNext() throws <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#hasNext--" title="class or interface in java.util"><code>Iterator.hasNext()</code></a>.</div> +<div class="block">Similar to <code>Iterator.hasNext()</code>.</div> <dl> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></code></dd> @@ -185,12 +185,12 @@ var activeTableTab = "activeTableTab"; <h4>next</h4> <pre><a href="../../freemarker/template/TemplateHashModelEx2.KeyValuePair.html" title="interface in freemarker.template">TemplateHashModelEx2.KeyValuePair</a> next() throws <a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></pre> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true#next--" title="class or interface in java.util"><code>Iterator.next()</code></a>.</div> +<div class="block">Similar to <code>Iterator.next()</code>.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>Not <code>null</code></dd> <dt><span class="throwsLabel">Throws:</span></dt> -<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/NoSuchElementException.html?is-external=true" title="class or interface in java.util">NoSuchElementException</a></code></dd> +<dd><code>java.util.NoSuchElementException</code></dd> <dd><code><a href="../../freemarker/template/TemplateModelException.html" title="class in freemarker.template">TemplateModelException</a></code></dd> </dl> </li> http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/51c3b7e5/docs/api/freemarker/template/TemplateHashModelEx2.html ---------------------------------------------------------------------- diff --git a/docs/api/freemarker/template/TemplateHashModelEx2.html b/docs/api/freemarker/template/TemplateHashModelEx2.html index 8285ebf..516fae8 100644 --- a/docs/api/freemarker/template/TemplateHashModelEx2.html +++ b/docs/api/freemarker/template/TemplateHashModelEx2.html @@ -2,10 +2,10 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_144) on Sun Oct 15 21:19:46 EDT 2017 --> +<!-- Generated by javadoc (1.8.0_144) on Sat Nov 11 19:25:50 CET 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>TemplateHashModelEx2 (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>
