juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [juneau-website] branch asf-site updated: Javadocs
Date Sat, 08 Dec 2018 20:33:36 GMT
This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new a4ed25e  Javadocs
a4ed25e is described below

commit a4ed25e033656255c4982fcb6be03393880b924a
Author: JamesBognar <jamesbognar@apache.org>
AuthorDate: Sat Dec 8 15:33:24 2018 -0500

    Javadocs
---
 .../examples/core/json/JsonComplexExample.html     |   6 +-
 .../examples/core/rdf/RdfComplexExample.html       |   6 +-
 .../juneau/examples/core/xml/XmlSimpleExample.html |   6 +-
 content/site/apidocs-8.0.0/overview-summary.html   |  19 +++-
 .../apidocs-8.0.0/resources/fragments/toc.html     |   2 +-
 .../examples/core/json/JsonComplexExample.html     | 122 +++++++++++----------
 .../examples/core/rdf/RdfComplexExample.html       |  89 ++++++++-------
 .../juneau/examples/core/xml/XmlSimpleExample.html |  95 ++++++++--------
 8 files changed, 194 insertions(+), 151 deletions(-)

diff --git a/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/json/JsonComplexExample.html b/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/json/JsonComplexExample.html
index 9950dbc..952b360 100644
--- a/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/json/JsonComplexExample.html
+++ b/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/json/JsonComplexExample.html
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../../src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html#line.16">JsonComplexExample</a>
+<pre>public class <a href="../../../../../../src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html#line.26">JsonComplexExample</a>
 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></pre>
 <div class="block">TODO</div>
 </li>
@@ -180,7 +180,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>JsonComplexExample</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html#line.16">JsonComplexExample</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html#line.26">JsonComplexExample</a>()</pre>
 </li>
 </ul>
 </li>
@@ -197,7 +197,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>main</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html#line.23">main</a>(<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>[]&nbsp;args)
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html#line.33">main</a>(<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>[]&nbsp;args)
                  throws <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>
 <div class="block">TODO</div>
 <dl>
diff --git a/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/rdf/RdfComplexExample.html b/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/rdf/RdfComplexExample.html
index bd84dd2..6353ee8 100644
--- a/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/rdf/RdfComplexExample.html
+++ b/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/rdf/RdfComplexExample.html
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../../src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html#line.12">RdfComplexExample</a>
+<pre>public class <a href="../../../../../../src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html#line.23">RdfComplexExample</a>
 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></pre>
 </li>
 </ul>
@@ -179,7 +179,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RdfComplexExample</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html#line.12">RdfComplexExample</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html#line.23">RdfComplexExample</a>()</pre>
 </li>
 </ul>
 </li>
@@ -196,7 +196,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>main</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html#line.20">main</a>(<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>[]&nbsp;args)
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html#line.31">main</a>(<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>[]&nbsp;args)
                  throws <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>
 <div class="block">TODO</div>
 <dl>
diff --git a/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/xml/XmlSimpleExample.html b/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/xml/XmlSimpleExample.html
index 0a0890f..67dddbe 100644
--- a/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/xml/XmlSimpleExample.html
+++ b/content/site/apidocs-8.0.0/org/apache/juneau/examples/core/xml/XmlSimpleExample.html
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../../src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html#line.17">XmlSimpleExample</a>
+<pre>public class <a href="../../../../../../src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html#line.26">XmlSimpleExample</a>
 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></pre>
 <div class="block">TODO</div>
 </li>
@@ -180,7 +180,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>XmlSimpleExample</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html#line.17">XmlSimpleExample</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html#line.26">XmlSimpleExample</a>()</pre>
 </li>
 </ul>
 </li>
@@ -197,7 +197,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>main</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html#line.25">main</a>(<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>[]&nbsp;args)
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html#line.34">main</a>(<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>[]&nbsp;args)
                  throws <a href="../../../../../../org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a>,
                         <a href="../../../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">TODO</div>
diff --git a/content/site/apidocs-8.0.0/overview-summary.html b/content/site/apidocs-8.0.0/overview-summary.html
index 8f2a53b..f55b7fb 100644
--- a/content/site/apidocs-8.0.0/overview-summary.html
+++ b/content/site/apidocs-8.0.0/overview-summary.html
@@ -1019,7 +1019,7 @@
    <li><p class='toc2 todo'><a class='doclink' href='#juneau-microservice-jetty-template'>juneau-microservice-jetty-template</a></p>
    <li><p class='toc2 '><a class='doclink' href='#juneau-examples-core'>juneau-examples-core</a></p>
    <ol>
-      <li><p class='todo'><a class='doclink' href='#juneau-examples-core.Examples'>Examples</a></p>
+      <li><p class=''><a class='doclink' href='#juneau-examples-core.Examples'>Examples</a></p>
    </ol>
    <li><p class='toc2 todo'><a class='doclink' href='#juneau-examples-rest'>juneau-examples-rest</a></p>
    <ol>
@@ -25833,11 +25833,24 @@
 
 <!-- ==================================================================================================== -->
 
-<h3 class='topic todo' onclick='toggle(this)'><a href='#juneau-examples-core.Examples' id='juneau-examples-core.Examples'>14.1 - Examples</a></h3>
+<h3 class='topic ' onclick='toggle(this)'><a href='#juneau-examples-core.Examples' id='juneau-examples-core.Examples'>14.1 - Examples</a></h3>
 <div class='topic'><!-- START: 14.1 - juneau-examples-core.Examples -->
 <p>
-   TODO
+   The following shows the core examples provided:
 </p>
+<ul class='doctree'>
+   <li class='jp'><a href="org/apache/juneau/examples/core/json/package-summary.html"><code>org.apache.juneau.examples.core.json</code></a>
+   <ul>
+      <li class='jc'><a href="org/apache/juneau/examples/core/json/JsonSimpleExample.html" title="class in org.apache.juneau.examples.core.json"><code>JsonSimpleExample</code></a> - TODO
+      <li class='jc'><a href="org/apache/juneau/examples/core/json/JsonComplexExample.html" title="class in org.apache.juneau.examples.core.json"><code>JsonComplexExample</code></a> - TODO
+      <li class='jc'><a href="org/apache/juneau/examples/core/json/JsonConfigurationExample.html" title="class in org.apache.juneau.examples.core.json"><code>JsonConfigurationExample</code></a> - TODO
+   </ul>
+   <li class='jp'><code>org.apache.juneau.examples.core.xml</code>
+   <ul>
+      <li class='jc'><a href="org/apache/juneau/examples/core/xml/XmlSimpleExample.html" title="class in org.apache.juneau.examples.core.xml"><code>XmlSimpleExample</code></a> - TODO
+      <li class='jc'><a href="org/apache/juneau/examples/core/xml/XmlComplexExample.html" title="class in org.apache.juneau.examples.core.xml"><code>XmlComplexExample</code></a> - TODO
+   </ul>
+</ul>
 </div><!-- END: 14.1 - juneau-examples-core.Examples -->
 </div><!-- END: 14 - juneau-examples-core -->
 
diff --git a/content/site/apidocs-8.0.0/resources/fragments/toc.html b/content/site/apidocs-8.0.0/resources/fragments/toc.html
index 9debc3c..4216657 100644
--- a/content/site/apidocs-8.0.0/resources/fragments/toc.html
+++ b/content/site/apidocs-8.0.0/resources/fragments/toc.html
@@ -389,7 +389,7 @@
 	<li><p class='toc2 todo'><a class='doclink' href='{OVERVIEW_URL}#juneau-microservice-jetty-template'>juneau-microservice-jetty-template</a></p>
 	<li><p class='toc2 '><a class='doclink' href='{OVERVIEW_URL}#juneau-examples-core'>juneau-examples-core</a></p>
 	<ol>
-		<li><p class='todo'><a class='doclink' href='{OVERVIEW_URL}#juneau-examples-core.Examples'>Examples</a></p>
+		<li><p class=''><a class='doclink' href='{OVERVIEW_URL}#juneau-examples-core.Examples'>Examples</a></p>
 	</ol>
 	<li><p class='toc2 todo'><a class='doclink' href='{OVERVIEW_URL}#juneau-examples-rest'>juneau-examples-rest</a></p>
 	<ol>
diff --git a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html
index 16b013c..9bd98a3 100644
--- a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html
+++ b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/json/JsonComplexExample.html
@@ -6,62 +6,72 @@
 </head>
 <body>
 <div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>package org.apache.juneau.examples.core.json;<a name="line.1"></a>
-<span class="sourceLineNo">002</span><a name="line.2"></a>
-<span class="sourceLineNo">003</span>import org.apache.juneau.examples.core.pojo.*;<a name="line.3"></a>
-<span class="sourceLineNo">004</span>import org.apache.juneau.json.JsonParser;<a name="line.4"></a>
-<span class="sourceLineNo">005</span>import org.apache.juneau.json.JsonSerializer;<a name="line.5"></a>
-<span class="sourceLineNo">006</span><a name="line.6"></a>
-<span class="sourceLineNo">007</span>import java.io.ByteArrayOutputStream;<a name="line.7"></a>
-<span class="sourceLineNo">008</span>import java.io.PrintStream;<a name="line.8"></a>
-<span class="sourceLineNo">009</span>import java.util.ArrayList;<a name="line.9"></a>
-<span class="sourceLineNo">010</span>import java.util.HashMap;<a name="line.10"></a>
-<span class="sourceLineNo">011</span>import java.util.List;<a name="line.11"></a>
-<span class="sourceLineNo">012</span><a name="line.12"></a>
-<span class="sourceLineNo">013</span>/**<a name="line.13"></a>
-<span class="sourceLineNo">014</span> * TODO<a name="line.14"></a>
-<span class="sourceLineNo">015</span> */<a name="line.15"></a>
-<span class="sourceLineNo">016</span>public class JsonComplexExample {<a name="line.16"></a>
-<span class="sourceLineNo">017</span>    /**<a name="line.17"></a>
-<span class="sourceLineNo">018</span>     * TODO<a name="line.18"></a>
-<span class="sourceLineNo">019</span>     *<a name="line.19"></a>
-<span class="sourceLineNo">020</span>     * @param args<a name="line.20"></a>
-<span class="sourceLineNo">021</span>     * @throws Exception<a name="line.21"></a>
-<span class="sourceLineNo">022</span>     */<a name="line.22"></a>
-<span class="sourceLineNo">023</span>    public static void main(String[] args) throws Exception{<a name="line.23"></a>
-<span class="sourceLineNo">024</span>        // Juneau provides static constants with the most commonly used configurations<a name="line.24"></a>
-<span class="sourceLineNo">025</span>        // Get a reference to a serializer - converting POJO to flat format<a name="line.25"></a>
-<span class="sourceLineNo">026</span>        JsonSerializer jsonSerializer = JsonSerializer.DEFAULT;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>        // Get a reference to a parser - converts that flat format back into the POJO<a name="line.27"></a>
-<span class="sourceLineNo">028</span>        JsonParser jsonParser = JsonParser.DEFAULT;<a name="line.28"></a>
-<span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>        // Fill some data to a PojoComplex bean<a name="line.30"></a>
-<span class="sourceLineNo">031</span>        HashMap&lt;String, List&lt;Pojo&gt;&gt; values = new HashMap&lt;&gt;();<a name="line.31"></a>
-<span class="sourceLineNo">032</span>        ArrayList&lt;Pojo&gt; setOne = new ArrayList&lt;&gt;();<a name="line.32"></a>
-<span class="sourceLineNo">033</span>        setOne.add(new Pojo("1.1", "name1"));<a name="line.33"></a>
-<span class="sourceLineNo">034</span>        setOne.add(new Pojo("1.1", "name2"));<a name="line.34"></a>
-<span class="sourceLineNo">035</span>        ArrayList&lt;Pojo&gt; setTwo = new ArrayList&lt;&gt;();<a name="line.35"></a>
-<span class="sourceLineNo">036</span>        setTwo.add(new Pojo("1.2", "name1"));<a name="line.36"></a>
-<span class="sourceLineNo">037</span>        setTwo.add(new Pojo("1.2", "name2"));<a name="line.37"></a>
-<span class="sourceLineNo">038</span>        values.put("setOne", setOne);<a name="line.38"></a>
-<span class="sourceLineNo">039</span>        values.put("setTwo", setTwo);<a name="line.39"></a>
-<span class="sourceLineNo">040</span>        PojoComplex pojoc = new PojoComplex("pojo", new Pojo("1.0", "name0"), values);<a name="line.40"></a>
-<span class="sourceLineNo">041</span><a name="line.41"></a>
-<span class="sourceLineNo">042</span>        String flat = jsonSerializer.serialize(pojoc);<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span>        // Print out the created POJO in JSON format.<a name="line.44"></a>
-<span class="sourceLineNo">045</span>        System.out.println(flat);<a name="line.45"></a>
-<span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>        PojoComplex parse = jsonParser.parse(flat, PojoComplex.class);<a name="line.47"></a>
-<span class="sourceLineNo">048</span><a name="line.48"></a>
-<span class="sourceLineNo">049</span>        assert parse.getId().equals(pojoc.getId());<a name="line.49"></a>
-<span class="sourceLineNo">050</span>        assert parse.getInnerPojo().getName().equals(pojoc.getInnerPojo().getName());<a name="line.50"></a>
-<span class="sourceLineNo">051</span>        assert parse.getInnerPojo().getId().equals(pojoc.getInnerPojo().getId());<a name="line.51"></a>
-<span class="sourceLineNo">052</span><a name="line.52"></a>
-<span class="sourceLineNo">053</span>        // The object above can be parsed thanks to the @BeanConstructor(properties = id,name) annotation on Pojo<a name="line.53"></a>
-<span class="sourceLineNo">054</span>        // Using this approach, you can keep your POJOs immutable, and still serialize and deserialize them.<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    }<a name="line.55"></a>
-<span class="sourceLineNo">056</span>}<a name="line.56"></a>
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.examples.core.json;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.examples.core.pojo.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import org.apache.juneau.json.JsonParser;<a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.json.JsonSerializer;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.ArrayList;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.util.HashMap;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.List;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * TODO<a name="line.24"></a>
+<span class="sourceLineNo">025</span> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span>public class JsonComplexExample {<a name="line.26"></a>
+<span class="sourceLineNo">027</span>    /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span>     * TODO<a name="line.28"></a>
+<span class="sourceLineNo">029</span>     *<a name="line.29"></a>
+<span class="sourceLineNo">030</span>     * @param args<a name="line.30"></a>
+<span class="sourceLineNo">031</span>     * @throws Exception<a name="line.31"></a>
+<span class="sourceLineNo">032</span>     */<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    public static void main(String[] args) throws Exception{<a name="line.33"></a>
+<span class="sourceLineNo">034</span>        // Juneau provides static constants with the most commonly used configurations<a name="line.34"></a>
+<span class="sourceLineNo">035</span>        // Get a reference to a serializer - converting POJO to flat format<a name="line.35"></a>
+<span class="sourceLineNo">036</span>        JsonSerializer jsonSerializer = JsonSerializer.DEFAULT;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>        // Get a reference to a parser - converts that flat format back into the POJO<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        JsonParser jsonParser = JsonParser.DEFAULT;<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span>        // Fill some data to a PojoComplex bean<a name="line.40"></a>
+<span class="sourceLineNo">041</span>        HashMap&lt;String, List&lt;Pojo&gt;&gt; values = new HashMap&lt;&gt;();<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        ArrayList&lt;Pojo&gt; setOne = new ArrayList&lt;&gt;();<a name="line.42"></a>
+<span class="sourceLineNo">043</span>        setOne.add(new Pojo("1.1", "name1"));<a name="line.43"></a>
+<span class="sourceLineNo">044</span>        setOne.add(new Pojo("1.1", "name2"));<a name="line.44"></a>
+<span class="sourceLineNo">045</span>        ArrayList&lt;Pojo&gt; setTwo = new ArrayList&lt;&gt;();<a name="line.45"></a>
+<span class="sourceLineNo">046</span>        setTwo.add(new Pojo("1.2", "name1"));<a name="line.46"></a>
+<span class="sourceLineNo">047</span>        setTwo.add(new Pojo("1.2", "name2"));<a name="line.47"></a>
+<span class="sourceLineNo">048</span>        values.put("setOne", setOne);<a name="line.48"></a>
+<span class="sourceLineNo">049</span>        values.put("setTwo", setTwo);<a name="line.49"></a>
+<span class="sourceLineNo">050</span>        PojoComplex pojoc = new PojoComplex("pojo", new Pojo("1.0", "name0"), values);<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>        String flat = jsonSerializer.serialize(pojoc);<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span>        // Print out the created POJO in JSON format.<a name="line.54"></a>
+<span class="sourceLineNo">055</span>        System.out.println(flat);<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span>        PojoComplex parse = jsonParser.parse(flat, PojoComplex.class);<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>        assert parse.getId().equals(pojoc.getId());<a name="line.59"></a>
+<span class="sourceLineNo">060</span>        assert parse.getInnerPojo().getName().equals(pojoc.getInnerPojo().getName());<a name="line.60"></a>
+<span class="sourceLineNo">061</span>        assert parse.getInnerPojo().getId().equals(pojoc.getInnerPojo().getId());<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>        // The object above can be parsed thanks to the @BeanConstructor(properties = id,name) annotation on Pojo<a name="line.63"></a>
+<span class="sourceLineNo">064</span>        // Using this approach, you can keep your POJOs immutable, and still serialize and deserialize them.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    }<a name="line.65"></a>
+<span class="sourceLineNo">066</span>}<a name="line.66"></a>
 
 
 
diff --git a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html
index 5ea2cb2..b1fbd46 100644
--- a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html
+++ b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/rdf/RdfComplexExample.html
@@ -6,45 +6,56 @@
 </head>
 <body>
 <div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>package org.apache.juneau.examples.core.rdf;<a name="line.1"></a>
-<span class="sourceLineNo">002</span><a name="line.2"></a>
-<span class="sourceLineNo">003</span>import org.apache.juneau.examples.core.pojo.*;<a name="line.3"></a>
-<span class="sourceLineNo">004</span>import org.apache.juneau.jena.RdfSerializer;<a name="line.4"></a>
-<span class="sourceLineNo">005</span>import org.apache.juneau.jena.RdfParser;<a name="line.5"></a>
-<span class="sourceLineNo">006</span>import org.apache.juneau.jena.RdfXmlSerializer;<a name="line.6"></a>
-<span class="sourceLineNo">007</span><a name="line.7"></a>
-<span class="sourceLineNo">008</span>import java.util.ArrayList;<a name="line.8"></a>
-<span class="sourceLineNo">009</span>import java.util.HashMap;<a name="line.9"></a>
-<span class="sourceLineNo">010</span>import java.util.List;<a name="line.10"></a>
-<span class="sourceLineNo">011</span><a name="line.11"></a>
-<span class="sourceLineNo">012</span>public class RdfComplexExample {<a name="line.12"></a>
-<span class="sourceLineNo">013</span><a name="line.13"></a>
-<span class="sourceLineNo">014</span>    /**<a name="line.14"></a>
-<span class="sourceLineNo">015</span>     * TODO<a name="line.15"></a>
-<span class="sourceLineNo">016</span>     *<a name="line.16"></a>
-<span class="sourceLineNo">017</span>     * @param args<a name="line.17"></a>
-<span class="sourceLineNo">018</span>     * @throws Exception<a name="line.18"></a>
-<span class="sourceLineNo">019</span>     */<a name="line.19"></a>
-<span class="sourceLineNo">020</span>    public static void main(String[] args) throws Exception {<a name="line.20"></a>
-<span class="sourceLineNo">021</span><a name="line.21"></a>
-<span class="sourceLineNo">022</span>        // Fill some data to a PojoComplex bean<a name="line.22"></a>
-<span class="sourceLineNo">023</span>        HashMap&lt;String, List&lt;Pojo&gt;&gt; values = new HashMap&lt;&gt;();<a name="line.23"></a>
-<span class="sourceLineNo">024</span>        ArrayList&lt;Pojo&gt; setOne = new ArrayList&lt;&gt;();<a name="line.24"></a>
-<span class="sourceLineNo">025</span>        setOne.add(new Pojo("1.1", "name1"));<a name="line.25"></a>
-<span class="sourceLineNo">026</span>        setOne.add(new Pojo("1.1", "name2"));<a name="line.26"></a>
-<span class="sourceLineNo">027</span>        ArrayList&lt;Pojo&gt; setTwo = new ArrayList&lt;&gt;();<a name="line.27"></a>
-<span class="sourceLineNo">028</span>        setTwo.add(new Pojo("1.2", "name1"));<a name="line.28"></a>
-<span class="sourceLineNo">029</span>        setTwo.add(new Pojo("1.2", "name2"));<a name="line.29"></a>
-<span class="sourceLineNo">030</span>        values.put("setOne", setOne);<a name="line.30"></a>
-<span class="sourceLineNo">031</span>        values.put("setTwo", setTwo);<a name="line.31"></a>
-<span class="sourceLineNo">032</span>        PojoComplex pojoc = new PojoComplex("pojo", new Pojo("1.0", "name0"), values);<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>        // this creates an RDF serializer with the default XML structure<a name="line.34"></a>
-<span class="sourceLineNo">035</span>        RdfSerializer rdfSerializer = RdfXmlSerializer.DEFAULT;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>        // This will show the final output from the bean<a name="line.36"></a>
-<span class="sourceLineNo">037</span>        System.out.println(rdfSerializer.serialize(pojoc));<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    }<a name="line.38"></a>
-<span class="sourceLineNo">039</span>}<a name="line.39"></a>
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.examples.core.rdf;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.examples.core.pojo.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import org.apache.juneau.jena.RdfSerializer;<a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.jena.RdfXmlSerializer;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.ArrayList;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.util.HashMap;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.List;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>public class RdfComplexExample {<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>    /**<a name="line.25"></a>
+<span class="sourceLineNo">026</span>     * TODO<a name="line.26"></a>
+<span class="sourceLineNo">027</span>     *<a name="line.27"></a>
+<span class="sourceLineNo">028</span>     * @param args<a name="line.28"></a>
+<span class="sourceLineNo">029</span>     * @throws Exception<a name="line.29"></a>
+<span class="sourceLineNo">030</span>     */<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    public static void main(String[] args) throws Exception {<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span>        // Fill some data to a PojoComplex bean<a name="line.33"></a>
+<span class="sourceLineNo">034</span>        HashMap&lt;String, List&lt;Pojo&gt;&gt; values = new HashMap&lt;&gt;();<a name="line.34"></a>
+<span class="sourceLineNo">035</span>        ArrayList&lt;Pojo&gt; setOne = new ArrayList&lt;&gt;();<a name="line.35"></a>
+<span class="sourceLineNo">036</span>        setOne.add(new Pojo("1.1", "name1"));<a name="line.36"></a>
+<span class="sourceLineNo">037</span>        setOne.add(new Pojo("1.1", "name2"));<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        ArrayList&lt;Pojo&gt; setTwo = new ArrayList&lt;&gt;();<a name="line.38"></a>
+<span class="sourceLineNo">039</span>        setTwo.add(new Pojo("1.2", "name1"));<a name="line.39"></a>
+<span class="sourceLineNo">040</span>        setTwo.add(new Pojo("1.2", "name2"));<a name="line.40"></a>
+<span class="sourceLineNo">041</span>        values.put("setOne", setOne);<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        values.put("setTwo", setTwo);<a name="line.42"></a>
+<span class="sourceLineNo">043</span>        PojoComplex pojoc = new PojoComplex("pojo", new Pojo("1.0", "name0"), values);<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>        // this creates an RDF serializer with the default XML structure<a name="line.45"></a>
+<span class="sourceLineNo">046</span>        RdfSerializer rdfSerializer = RdfXmlSerializer.DEFAULT;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>        // This will show the final output from the bean<a name="line.47"></a>
+<span class="sourceLineNo">048</span>        System.out.println(rdfSerializer.serialize(pojoc));<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    }<a name="line.49"></a>
+<span class="sourceLineNo">050</span>}<a name="line.50"></a>
 
 
 
diff --git a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html
index ff67225..e35d1c2 100644
--- a/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html
+++ b/content/site/apidocs-8.0.0/src-html/org/apache/juneau/examples/core/xml/XmlSimpleExample.html
@@ -6,50 +6,59 @@
 </head>
 <body>
 <div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>package org.apache.juneau.examples.core.xml;<a name="line.1"></a>
-<span class="sourceLineNo">002</span><a name="line.2"></a>
-<span class="sourceLineNo">003</span>import org.apache.juneau.examples.core.pojo.Pojo;<a name="line.3"></a>
-<span class="sourceLineNo">004</span>import org.apache.juneau.parser.ParseException;<a name="line.4"></a>
-<span class="sourceLineNo">005</span>import org.apache.juneau.serializer.SerializeException;<a name="line.5"></a>
-<span class="sourceLineNo">006</span>import org.apache.juneau.xml.XmlParser;<a name="line.6"></a>
-<span class="sourceLineNo">007</span>import org.apache.juneau.xml.XmlSerializer;<a name="line.7"></a>
-<span class="sourceLineNo">008</span><a name="line.8"></a>
-<span class="sourceLineNo">009</span>import java.util.ArrayList;<a name="line.9"></a>
-<span class="sourceLineNo">010</span>import java.util.HashMap;<a name="line.10"></a>
-<span class="sourceLineNo">011</span>import java.util.List;<a name="line.11"></a>
-<span class="sourceLineNo">012</span><a name="line.12"></a>
-<span class="sourceLineNo">013</span><a name="line.13"></a>
-<span class="sourceLineNo">014</span>/**<a name="line.14"></a>
-<span class="sourceLineNo">015</span> * TODO<a name="line.15"></a>
-<span class="sourceLineNo">016</span> */<a name="line.16"></a>
-<span class="sourceLineNo">017</span>public class XmlSimpleExample {<a name="line.17"></a>
-<span class="sourceLineNo">018</span>    /**<a name="line.18"></a>
-<span class="sourceLineNo">019</span>     * TODO<a name="line.19"></a>
-<span class="sourceLineNo">020</span>     *<a name="line.20"></a>
-<span class="sourceLineNo">021</span>     * @param args<a name="line.21"></a>
-<span class="sourceLineNo">022</span>     * @throws SerializeException<a name="line.22"></a>
-<span class="sourceLineNo">023</span>     * @throws ParseException<a name="line.23"></a>
-<span class="sourceLineNo">024</span>     */<a name="line.24"></a>
-<span class="sourceLineNo">025</span>    public static void main(String[] args) throws SerializeException, ParseException {<a name="line.25"></a>
-<span class="sourceLineNo">026</span><a name="line.26"></a>
-<span class="sourceLineNo">027</span>        // Fill some data to a Pojo bean<a name="line.27"></a>
-<span class="sourceLineNo">028</span>        Pojo pojo = new Pojo("id","name");<a name="line.28"></a>
-<span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>        // Serialize to human readable XML and print<a name="line.30"></a>
-<span class="sourceLineNo">031</span>        String serial = XmlSerializer.DEFAULT_SQ_READABLE.serialize(pojo);<a name="line.31"></a>
-<span class="sourceLineNo">032</span>        System.out.println(serial);<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>        // Deserialize back to PojoComplex instance<a name="line.34"></a>
-<span class="sourceLineNo">035</span>        Pojo obj = XmlParser.DEFAULT.parse(serial, Pojo.class);<a name="line.35"></a>
-<span class="sourceLineNo">036</span><a name="line.36"></a>
-<span class="sourceLineNo">037</span>        assert obj.getId().equals(pojo.getId());<a name="line.37"></a>
-<span class="sourceLineNo">038</span>        assert obj.getName().equals(pojo.getName());<a name="line.38"></a>
-<span class="sourceLineNo">039</span><a name="line.39"></a>
-<span class="sourceLineNo">040</span>        // The object above can be parsed thanks to the @BeanConstructor annotation on PojoComplex<a name="line.40"></a>
-<span class="sourceLineNo">041</span>        // Using this approach, you can keep your POJOs immutable, and still serialize and deserialize them.<a name="line.41"></a>
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.examples.core.xml;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.examples.core.pojo.Pojo;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import org.apache.juneau.parser.ParseException;<a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.serializer.SerializeException;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.xml.XmlParser;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.xml.XmlSerializer;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * TODO<a name="line.24"></a>
+<span class="sourceLineNo">025</span> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span>public class XmlSimpleExample {<a name="line.26"></a>
+<span class="sourceLineNo">027</span>    /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span>     * TODO<a name="line.28"></a>
+<span class="sourceLineNo">029</span>     *<a name="line.29"></a>
+<span class="sourceLineNo">030</span>     * @param args<a name="line.30"></a>
+<span class="sourceLineNo">031</span>     * @throws SerializeException<a name="line.31"></a>
+<span class="sourceLineNo">032</span>     * @throws ParseException<a name="line.32"></a>
+<span class="sourceLineNo">033</span>     */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    public static void main(String[] args) throws SerializeException, ParseException {<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>        // Fill some data to a Pojo bean<a name="line.36"></a>
+<span class="sourceLineNo">037</span>        Pojo pojo = new Pojo("id","name");<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span>        // Serialize to human readable XML and print<a name="line.39"></a>
+<span class="sourceLineNo">040</span>        String serial = XmlSerializer.DEFAULT_SQ_READABLE.serialize(pojo);<a name="line.40"></a>
+<span class="sourceLineNo">041</span>        System.out.println(serial);<a name="line.41"></a>
 <span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>    }<a name="line.43"></a>
-<span class="sourceLineNo">044</span>}<a name="line.44"></a>
+<span class="sourceLineNo">043</span>        // Deserialize back to PojoComplex instance<a name="line.43"></a>
+<span class="sourceLineNo">044</span>        Pojo obj = XmlParser.DEFAULT.parse(serial, Pojo.class);<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>        assert obj.getId().equals(pojo.getId());<a name="line.46"></a>
+<span class="sourceLineNo">047</span>        assert obj.getName().equals(pojo.getName());<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>        // The object above can be parsed thanks to the @BeanConstructor annotation on PojoComplex<a name="line.49"></a>
+<span class="sourceLineNo">050</span>        // Using this approach, you can keep your POJOs immutable, and still serialize and deserialize them.<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>    }<a name="line.52"></a>
+<span class="sourceLineNo">053</span>}<a name="line.53"></a>
 
 
 


Mime
View raw message