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 a33db6c Update Javadocs. a33db6c is described below commit a33db6c181bb321762b9dbca75e5e65e1fa4c389 Author: JamesBognar <jamesbog...@apache.org> AuthorDate: Wed Mar 7 16:14:14 2018 -0500 Update Javadocs. --- content/site/apidocs/overview-summary.html | 75 +++++++++--------------------- 1 file changed, 22 insertions(+), 53 deletions(-) diff --git a/content/site/apidocs/overview-summary.html b/content/site/apidocs/overview-summary.html index c539796..976a13c 100644 --- a/content/site/apidocs/overview-summary.html +++ b/content/site/apidocs/overview-summary.html @@ -8118,12 +8118,28 @@ <li>Turtle <li>N3 </ul> - <p> - The serializers and parsers work identically to those in <code>juneau-marshall</code>, but are - packaged separately so that you don't need to pull in the Jena dependency unless you need it. - </p> - <p class='bcode w800'> + <!-- ======================================================================================================= --> + <a id='juneau-marshall-rdf.RdfDetails'></a> + <h3 class='topic' onclick='toggle(this)'>3.1 - RDF Details</h3> + <div class='topic'> + <p> + Juneau supports serializing and parsing arbitrary POJOs to and from the following RDF formats: + </p> + <ul> + <li>RDF/XML + <li>Abbreviated RDF/XML + <li>N-Triple + <li>Turtle + <li>N3 + </ul> + + <p> + The serializers and parsers work identically to those in <code>juneau-marshall</code>, but are + packaged separately so that you don't need to pull in the Jena dependency unless you need it. + </p> + + <p class='bcode w800'> <jc>// A simple bean</jc> <jk>public class</jk> Person { <jk>public</jk> String name = <js>"John Smith"</js>; @@ -8156,54 +8172,7 @@ // _:A3bf53c85X3aX157cf407e2dX3aXX2dX7ffd <http://www.apache.org/juneaubp/name> "John Smith" . // _:A3bf53c85X3aX157cf407e2dX3aXX2dX7ffd <http://www.apache.org/juneaubp/age> "21" .</jc> String rdfNTriple = RdfSerializer.<jsf>DEFAULT_NTRIPLE</jsf>.serialize(p); - </p> - - <!-- ======================================================================================================= --> - <a id='juneau-marshall-rdf.RdfDetails'></a> - <h3 class='topic' onclick='toggle(this)'>3.1 - RDF Details</h3> - <div class='topic'> - <p> - Juneau supports serializing and parsing arbitrary POJOs to and from the following RDF formats: - </p> - <ul> - <li>RDF/XML - <li>Abbreviated RDF/XML - <li>N-Triple - <li>Turtle - <li>N3 - </ul> - - <p> - The example shown here is from the Address Book resource located in the - <code>org.apache.juneau.sample.war</code> application. - </p> - <p> - The POJO model consists of a <code>List</code> of <code>Person</code> beans, with each <code>Person</code> - containing zero or more <code>Address</code> beans. - </p> - <p> - When you point a browser at <code>/sample/addressBook</code>, the POJO is rendered as HTML: - </p> - <img class='bordered' src='doc-files/Example_HTML.png'> - <p> - By appending <code>?Accept=<i>mediaType</i>&plainText=true</code> to the URL, you can view the data - in the various RDF supported formats. </p> - - <h5 class='figure'>RDF/XML</h5> - <img class='bordered' src='doc-files/Example_RDFXML.png'> - - <h5 class='figure'>Abbreviated RDF/XML</h5> - <img class='bordered' src='doc-files/Example_RDFXMLABBREV.png'> - - <h5 class='figure'>N-Triple</h5> - <img class='bordered' src='doc-files/Example_NTriple.png'> - - <h5 class='figure'>Turtle</h5> - <img class='bordered' src='doc-files/Example_Turtle.png'> - - <h5 class='figure'>N3</h5> - <img class='bordered' src='doc-files/Example_N3.png'> <!-- ======================================================================================================= --> <a id='juneau-marshall-rdf.RdfDetails.RdfMethodology'></a> @@ -21242,7 +21211,7 @@ </ul> <h5 class='figure'>PetStoreResource.java</h5> - <p class='bcode'> + <p class='bcode w800'> <ja>@RestResource</ja>( title=<js>"Pet Store"</js>, description=<js>"An example of a typical REST resource where beans are rendered in summary and details views."</js>, -- To stop receiving notification emails like this one, please contact jamesbog...@apache.org.