Author: buildbot Date: Mon Sep 19 14:50:29 2016 New Revision: 997748 Log: Staging update by buildbot for sling
Modified: websites/staging/sling/trunk/content/ (props changed) websites/staging/sling/trunk/content/documentation/development/sling-mock.html Propchange: websites/staging/sling/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Mon Sep 19 14:50:29 2016 @@ -1 +1 @@ -1761462 +1761463 Modified: websites/staging/sling/trunk/content/documentation/development/sling-mock.html ============================================================================== --- websites/staging/sling/trunk/content/documentation/development/sling-mock.html (original) +++ websites/staging/sling/trunk/content/documentation/development/sling-mock.html Mon Sep 19 14:50:29 2016 @@ -133,12 +133,14 @@ h2:hover > .headerlink, h3:hover > .head <li><a href="#slinghttpservletresponse">SlingHttpServletResponse</a></li> <li><a href="#import-resource-data-from-json-file-in-classpath">Import resource data from JSON file in classpath</a></li> <li><a href="#import-binary-data-from-file-in-classpath">Import binary data from file in classpath</a></li> -<li><a href="#building-content">Building content</a></li> +<li><a href="#building-content">Building content</a><ul> <li><a href="#building-content-using-contentbuilder">Building content using ContentBuilder</a></li> <li><a href="#building-content-using-resourcebuilder">Building content using ResourceBuilder</a></li> </ul> </li> </ul> +</li> +</ul> </div> <h2 id="maven-dependency">Maven Dependency<a class="headerlink" href="#maven-dependency" title="Permanent link">¶</a></h2> <table class="codehilitetable"><tr><td class="linenos"><div class="linenodiv"><pre>1 @@ -591,7 +593,7 @@ resources) and imports the binary data t <li><code>ContentBuilder</code>: Part of Sling Mocks since its first release. If you need a references to each created resource this is the easiest way.</li> <li><code>ResourceBuilder</code>: Separate bundle that can also be used in integration tests or live instances. Supports a "fluent" API to create a bunch of resources in hierarchy at once.</li> </ul> -<h3 id="building-content-using-contentbuilder">Building content using <code>ContentBuilder</code><a class="headerlink" href="#building-content-using-contentbuilder" title="Permanent link">¶</a></h3> +<h4 id="building-content-using-contentbuilder">Building content using <code>ContentBuilder</code><a class="headerlink" href="#building-content-using-contentbuilder" title="Permanent link">¶</a></h4> <p>The entry point for the <code>ContentBuilder</code> is the <code>create()</code> method on the Sling context.</p> <p>Example:</p> <table class="codehilitetable"><tr><td class="linenos"><div class="linenodiv"><pre>1 @@ -614,7 +616,7 @@ resources) and imports the binary data t </td></tr></table> <p>If you use the <code>SlingContext</code> JUnit rule you case just use <code>context.create()</code>.</p> -<h3 id="building-content-using-resourcebuilder">Building content using <code>ResourceBuilder</code><a class="headerlink" href="#building-content-using-resourcebuilder" title="Permanent link">¶</a></h3> +<h4 id="building-content-using-resourcebuilder">Building content using <code>ResourceBuilder</code><a class="headerlink" href="#building-content-using-resourcebuilder" title="Permanent link">¶</a></h4> <p>The entry point for the <code>ResourceBuilder</code> is the <code>build()</code> method on the Sling context.</p> <p>Example:</p> <table class="codehilitetable"><tr><td class="linenos"><div class="linenodiv"><pre>1 @@ -631,7 +633,7 @@ resources) and imports the binary data t <p>See JavaDocs of the class <code>org.apache.sling.resourcebuilder.api.ResourceBuilder</code> for a detailed documentation.</p> <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;"> - Rev. 1761462 by sseifert on Mon, 19 Sep 2016 14:48:57 +0000 + Rev. 1761463 by sseifert on Mon, 19 Sep 2016 14:50:20 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project