commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1001192 [14/30] - in /websites/production/commonsrdf/content: ./ apidocs/ apidocs/org/apache/commons/rdf/api/ apidocs/org/apache/commons/rdf/experimental/ apidocs/org/apache/commons/rdf/simple/ apidocs/org/apache/commons/rdf/simple/class-u...
Date Wed, 16 Nov 2016 10:57:30 GMT
Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/LiteralImpl.java.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/LiteralImpl.java.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/LiteralImpl.java.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>LiteralImpl.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_source">LiteralImpl.java</span></di
 v><h1>LiteralImpl.java</h1><pre class="source lang-java linenums">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * &quot;License&quot;); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rdf.simple;
+
+import java.util.IllformedLocaleException;
+import java.util.Locale;
+import java.util.Objects;
+import java.util.Optional;
+
+import org.apache.commons.rdf.api.IRI;
+import org.apache.commons.rdf.api.Literal;
+
+/**
+ * A simple implementation of Literal.
+ */
+final class LiteralImpl implements Literal, SimpleRDF.SimpleRDFTerm {
+
+    private static final String QUOTE = &quot;\&quot;&quot;;
+
+    private final IRI dataType;
+    private final String languageTag;
+    private final String lexicalForm;
+
+    public LiteralImpl(String literal) {
+<span class="fc" id="L40">        this(literal, Types.XSD_STRING);</span>
+<span class="fc" id="L41">    }</span>
+
+<span class="fc" id="L43">    public LiteralImpl(String lexicalForm, IRI dataType) {</span>
+<span class="fc" id="L44">        this.lexicalForm = Objects.requireNonNull(lexicalForm);</span>
+<span class="fc" id="L45">        this.dataType = Types.get(Objects.requireNonNull(dataType)).orElse(dataType);</span>
+<span class="pc bpc" id="L46" title="1 of 2 branches missed.">        if (Types.RDF_LANGSTRING.equals(this.dataType)) {</span>
+<span class="nc" id="L47">            throw new IllegalArgumentException(</span>
+                    &quot;Cannot create a non-language literal with type &quot; + Types.RDF_LANGSTRING);
+        }
+<span class="fc" id="L50">        this.languageTag = null;</span>
+<span class="fc" id="L51">    }</span>
+
+<span class="fc" id="L53">    public LiteralImpl(String literal, String languageTag) {</span>
+<span class="fc" id="L54">        this.lexicalForm = Objects.requireNonNull(literal);</span>
+<span class="fc" id="L55">        this.languageTag = Objects.requireNonNull(languageTag).toLowerCase(Locale.ENGLISH);</span>
+<span class="pc bpc" id="L56" title="1 of 2 branches missed.">        if (languageTag.isEmpty()) {</span>
+            // TODO: Check against
+            // http://www.w3.org/TR/n-triples/#n-triples-grammar
+<span class="nc" id="L59">            throw new IllegalArgumentException(&quot;Language tag can't be null&quot;);</span>
+        }
+        try {
+<span class="fc" id="L62">            new Locale.Builder().setLanguageTag(languageTag);</span>
+<span class="fc" id="L63">        } catch (IllformedLocaleException ex) {</span>
+<span class="fc" id="L64">            throw new IllegalArgumentException(&quot;Invalid languageTag: &quot; + languageTag, ex);</span>
+<span class="fc" id="L65">        }</span>
+
+        // System.out.println(aLocale);
+<span class="fc" id="L68">        this.dataType = Types.RDF_LANGSTRING;</span>
+<span class="fc" id="L69">    }</span>
+
+    @Override
+    public IRI getDatatype() {
+<span class="fc" id="L73">        return dataType;</span>
+    }
+
+    @Override
+    public Optional&lt;String&gt; getLanguageTag() {
+<span class="fc" id="L78">        return Optional.ofNullable(languageTag);</span>
+    }
+
+    @Override
+    public String getLexicalForm() {
+<span class="fc" id="L83">        return lexicalForm;</span>
+    }
+
+    @Override
+    public String ntriplesString() {
+<span class="fc" id="L88">        StringBuilder sb = new StringBuilder();</span>
+<span class="fc" id="L89">        sb.append(QUOTE);</span>
+        // Escape special characters
+<span class="fc" id="L91">        sb.append(getLexicalForm().replace(&quot;\\&quot;, &quot;\\\\&quot;). // escaped to \\</span>
+<span class="fc" id="L92">                replace(&quot;\&quot;&quot;, &quot;\\\&quot;&quot;). // escaped to \&quot;</span>
+<span class="fc" id="L93">                replace(&quot;\r&quot;, &quot;\\r&quot;). // escaped to \r</span>
+<span class="fc" id="L94">                replace(&quot;\n&quot;, &quot;\\n&quot;)); // escaped to \n</span>
+<span class="fc" id="L95">        sb.append(QUOTE);</span>
+
+        // getLanguageTag().ifPresent(s -&gt; sb.append(&quot;@&quot; + s));
+<span class="fc bfc" id="L98" title="All 2 branches covered.">        if (getLanguageTag().isPresent()) {</span>
+<span class="fc" id="L99">            sb.append(&quot;@&quot;);</span>
+<span class="fc" id="L100">            sb.append(getLanguageTag().get());</span>
+
+<span class="fc bfc" id="L102" title="All 2 branches covered.">        } else if (!getDatatype().equals(Types.XSD_STRING)) {</span>
+<span class="fc" id="L103">            sb.append(&quot;^^&quot;);</span>
+<span class="fc" id="L104">            sb.append(getDatatype().ntriplesString());</span>
+        }
+<span class="fc" id="L106">        return sb.toString();</span>
+    }
+
+    @Override
+    public String toString() {
+<span class="nc" id="L111">        return ntriplesString();</span>
+    }
+
+    @Override
+    public int hashCode() {
+<span class="fc" id="L116">        return Objects.hash(lexicalForm, dataType, languageTag);</span>
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+<span class="pc bpc" id="L121" title="1 of 2 branches missed.">        if (this == obj) {</span>
+<span class="fc" id="L122">            return true;</span>
+        }
+<span class="nc bnc" id="L124" title="All 4 branches missed.">        if (obj == null || !(obj instanceof Literal)) {</span>
+<span class="nc" id="L125">            return false;</span>
+        }
+<span class="nc" id="L127">        Literal literal = (Literal) obj;</span>
+<span class="nc bnc" id="L128" title="All 4 branches missed.">        return getDatatype().equals(literal.getDatatype()) &amp;&amp; getLexicalForm().equals(literal.getLexicalForm())</span>
+<span class="nc bnc" id="L129" title="All 2 branches missed.">                &amp;&amp; getLanguageTag().equals(literal.getLanguageTag());</span>
+    }
+
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/QuadImpl.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/QuadImpl.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/QuadImpl.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>QuadImpl</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_class">QuadImpl</span></div><h1>QuadImpl</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id=
 "a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">2 of 147</td><td class="ctr2">99%</td><td class="bar">2 of 10</td><td class="ctr2">80%</td><td class="ctr1">2</td><td class="ctr2">15</td><td class="ctr1">1</td><td class=
 "ctr2">19</td><td class="ctr1">0</td><td class="ctr2">10</td></tr></tfoot><tbody><tr><td id="a1"><a href="QuadImpl.java.html#L95" class="el_method">equals(Object)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="6" height="10" title="2" alt="2"/><img src="../.resources/greenbar.gif" width="113" height="10" title="34" alt="34"/></td><td class="ctr2" id="c9">94%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="24" height="10" title="2" alt="2"/><img src="../.resources/greenbar.gif" width="96" height="10" title="8" alt="8"/></td><td class="ctr2" id="e0">80%</td><td class="ctr1" id="f0">2</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a9"><a href="QuadImpl.java.html#L83" class="el_method">toString()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="110" height="10" title="33" alt="33"/>
 </td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a6"><a href="QuadImpl.java.html#L90" class="el_method">hashCode()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="80" height="10" title="24" alt="24"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a8"><a href="QuadImpl.java.html#L54" class="el_method">QuadImpl(BlankNodeOrIRI, BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="70" height="10" title="21" alt
 ="21"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="QuadImpl.java.html#L105" class="el_method">asTriple()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="33" height="10" title="10" alt="10"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a7"><a href="QuadImpl.java.html#L84" class="el_method">lambda$toString$0(BlankNodeOrIRI)</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="33" height="10" title="10" alt="10"/></td><
 td class="ctr2" id="c4">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a2"><a href="QuadImpl.java.html#L63" class="el_method">getGraphName()</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="13" height="10" title="4" alt="4"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a5"><a href="QuadImpl.java.html#L68" class="el_method">getSubject()</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c6">100%</td><t
 d class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">1</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a4"><a href="QuadImpl.java.html#L73" class="el_method">getPredicate()</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i8">1</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a3"><a href="QuadImpl.java.html#L78" class="el_method">getObject()</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d9"/><td class="ct
 r2" id="e9">n/a</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g9">1</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">1</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/QuadImpl.java.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/QuadImpl.java.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/QuadImpl.java.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>QuadImpl.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_source">QuadImpl.java</span></div><h1>
 QuadImpl.java</h1><pre class="source lang-java linenums">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * &quot;License&quot;); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rdf.simple;
+
+import org.apache.commons.rdf.api.BlankNodeOrIRI;
+import org.apache.commons.rdf.api.IRI;
+import org.apache.commons.rdf.api.Quad;
+import org.apache.commons.rdf.api.RDFTerm;
+import org.apache.commons.rdf.api.Triple;
+
+import java.util.Objects;
+import java.util.Optional;
+
+/**
+ * A simple implementation of Quad.
+ */
+final class QuadImpl implements Quad {
+
+    private final BlankNodeOrIRI graphName;
+    private final BlankNodeOrIRI subject;
+    private final IRI predicate;
+    private final RDFTerm object;
+
+    /**
+     * Construct Quad from its constituent parts.
+     * &lt;p&gt;
+     * The objects are not changed. All mapping of BNode objects is done in
+     * {@link SimpleRDF#createQuad(BlankNodeOrIRI, BlankNodeOrIRI, IRI, RDFTerm)}.
+     *
+     * @param graphName
+     *            graphName of triple
+     * @param subject
+     *            subject of triple
+     * @param predicate
+     *            predicate of triple
+     * @param object
+     *            object of triple
+     */
+<span class="fc" id="L54">    public QuadImpl(BlankNodeOrIRI graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object) {</span>
+<span class="fc" id="L55">        this.graphName = graphName; // possibly null</span>
+<span class="fc" id="L56">        this.subject = Objects.requireNonNull(subject);</span>
+<span class="fc" id="L57">        this.predicate = Objects.requireNonNull(predicate);</span>
+<span class="fc" id="L58">        this.object = Objects.requireNonNull(object);</span>
+<span class="fc" id="L59">    }</span>
+
+    @Override
+    public Optional&lt;BlankNodeOrIRI&gt; getGraphName() {
+<span class="fc" id="L63">        return Optional.ofNullable(graphName);</span>
+    }
+
+    @Override
+    public BlankNodeOrIRI getSubject() {
+<span class="fc" id="L68">        return subject;</span>
+    }
+
+    @Override
+    public IRI getPredicate() {
+<span class="fc" id="L73">        return predicate;</span>
+    }
+
+    @Override
+    public RDFTerm getObject() {
+<span class="fc" id="L78">        return object;</span>
+    }
+
+    @Override
+    public String toString() {
+<span class="fc" id="L83">        return getSubject().ntriplesString() + &quot; &quot; + getPredicate().ntriplesString() + &quot; &quot;</span>
+<span class="fc" id="L84">                + getObject().ntriplesString() + &quot; &quot; + getGraphName().map(g -&gt; g.ntriplesString() + &quot; &quot;).orElse(&quot;&quot;)</span>
+                + &quot;.&quot;;
+    }
+
+    @Override
+    public int hashCode() {
+<span class="fc" id="L90">        return Objects.hash(subject, predicate, object, graphName);</span>
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+<span class="pc bpc" id="L95" title="1 of 2 branches missed.">        if (!(obj instanceof Quad)) {</span>
+<span class="nc" id="L96">            return false;</span>
+        }
+<span class="fc" id="L98">        Quad other = (Quad) obj;</span>
+<span class="fc bfc" id="L99" title="All 4 branches covered.">        return getGraphName().equals(other.getGraphName()) &amp;&amp; getSubject().equals(other.getSubject())</span>
+<span class="pc bpc" id="L100" title="1 of 4 branches missed.">                &amp;&amp; getPredicate().equals(other.getPredicate()) &amp;&amp; getObject().equals(other.getObject());</span>
+    }
+
+    @Override
+    public Triple asTriple() {
+<span class="fc" id="L105">        return new TripleImpl(getSubject(), getPredicate(), getObject());</span>
+    }
+
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDF.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDF.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDF.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>SimpleRDF</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_class">SimpleRDF</span></div><h1>SimpleRDF</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" 
 id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 70</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">11</td><td class="ctr1">0</td><td clas
 s="ctr2">13</td><td class="ctr1">0</td><td class="ctr2">11</td></tr></tfoot><tbody><tr><td id="a4"><a href="SimpleRDF.java.html#L82" class="el_method">createIRI(String)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="11" alt="11"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">2</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a8"><a href="SimpleRDF.java.html#L110" class="el_method">createQuad(BlankNodeOrIRI, BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="87" height="10" title="8" alt="8"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</
 td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="SimpleRDF.java.html#L65" class="el_method">createBlankNode(String)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="76" height="10" title="7" alt="7"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a9"><a href="SimpleRDF.java.html#L104" class="el_method">createTriple(BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="76" height="10" title="7" alt="7"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="
 h3">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a10"><a href="SimpleRDF.java.html#L41" class="el_method">SimpleRDF()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="65" height="10" title="6" alt="6"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i1">2</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a6"><a href="SimpleRDF.java.html#L94" class="el_method">createLiteral(String, IRI)</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="65" height="10" title="6" alt="6"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="
 ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a7"><a href="SimpleRDF.java.html#L99" class="el_method">createLiteral(String, String)</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="65" height="10" title="6" alt="6"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a3"><a href="SimpleRDF.java.html#L72" class="el_method">createGraph()</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="54" height="10" title="5" alt="5"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">1</
 td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a2"><a href="SimpleRDF.java.html#L77" class="el_method">createDataset()</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="54" height="10" title="5" alt="5"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i8">1</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a5"><a href="SimpleRDF.java.html#L89" class="el_method">createLiteral(String)</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="54" height="10" title="5" alt="5"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g9">1</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">1</td><td class="ctr1" id=
 "j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a0"><a href="SimpleRDF.java.html#L60" class="el_method">createBlankNode()</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="43" height="10" title="4" alt="4"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g10">1</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i10">1</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDF.java.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDF.java.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDF.java.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>SimpleRDF.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_source">SimpleRDF.java</span></div><h
 1>SimpleRDF.java</h1><pre class="source lang-java linenums">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * &quot;License&quot;); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rdf.simple;
+
+import java.util.UUID;
+
+import org.apache.commons.rdf.api.BlankNode;
+import org.apache.commons.rdf.api.BlankNodeOrIRI;
+import org.apache.commons.rdf.api.Dataset;
+import org.apache.commons.rdf.api.Graph;
+import org.apache.commons.rdf.api.IRI;
+import org.apache.commons.rdf.api.Literal;
+import org.apache.commons.rdf.api.Quad;
+import org.apache.commons.rdf.api.RDFTerm;
+import org.apache.commons.rdf.api.RDF;
+import org.apache.commons.rdf.api.Triple;
+
+/**
+ * Simple RDF implementation.
+ * &lt;p&gt;
+ * The {@link RDFTerm}, {@link Triple}, {@link Quad}, {@link Graph} and
+ * {@link Dataset} instances created by SimpleRDF are simple in-memory
+ * Implementations that are not thread-safe or efficient, but which may be
+ * useful for testing and prototyping purposes.
+ */
+<span class="fc" id="L41">public class SimpleRDF implements RDF {</span>
+
+    /**
+     * Marker interface to say that this RDFTerm is part of the Simple
+     * implementation. Used by {@link GraphImpl} to avoid double remapping.
+     * &lt;p&gt;
+     * This method is package protected to avoid any third-party subclasses.
+     *
+     */
+    static interface SimpleRDFTerm extends RDFTerm {
+    }
+
+    /**
+     * Unique salt per instance, for {@link #createBlankNode(String)}
+     */
+<span class="fc" id="L56">    private final UUID SALT = UUID.randomUUID();</span>
+
+    @Override
+    public BlankNode createBlankNode() {
+<span class="fc" id="L60">        return new BlankNodeImpl();</span>
+    }
+
+    @Override
+    public BlankNode createBlankNode(String name) {
+<span class="fc" id="L65">        return new BlankNodeImpl(SALT, name);</span>
+    }
+
+    @Override
+    public Graph createGraph() {
+        // Creates a GraphImpl object using this object as the factory for
+        // delegating all object creation to
+<span class="fc" id="L72">        return new GraphImpl(this);</span>
+    }
+
+    @Override
+    public Dataset createDataset() throws UnsupportedOperationException {
+<span class="fc" id="L77">        return new DatasetImpl(this);</span>
+    }
+
+    @Override
+    public IRI createIRI(String iri) {
+<span class="fc" id="L82">        IRI result = new IRIImpl(iri);</span>
+        // Reuse any IRI objects already created in Types
+<span class="fc" id="L84">        return Types.get(result).orElse(result);</span>
+    }
+
+    @Override
+    public Literal createLiteral(String literal) {
+<span class="fc" id="L89">        return new LiteralImpl(literal);</span>
+    }
+
+    @Override
+    public Literal createLiteral(String literal, IRI dataType) {
+<span class="fc" id="L94">        return new LiteralImpl(literal, dataType);</span>
+    }
+
+    @Override
+    public Literal createLiteral(String literal, String language) {
+<span class="fc" id="L99">        return new LiteralImpl(literal, language);</span>
+    }
+
+    @Override
+    public Triple createTriple(BlankNodeOrIRI subject, IRI predicate, RDFTerm object) {
+<span class="fc" id="L104">        return new TripleImpl(subject, predicate, object);</span>
+    }
+
+    @Override
+    public Quad createQuad(BlankNodeOrIRI graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object)
+            throws IllegalArgumentException {
+<span class="fc" id="L110">        return new QuadImpl(graphName, subject, predicate, object);</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDFTermFactory.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDFTermFactory.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDFTermFactory.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>SimpleRDFTermFactory</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_class">SimpleRDFTermFactory</span></div><h1>SimpleRDFTermFactory</h1><table class="coverage" cellspacing="0" id="coveragetable"
 ><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">50 of 50</td><td class="ctr2">0%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">9</td><td class="ctr2">9</td>
 <td class="ctr1">10</td><td class="ctr2">10</td><td class="ctr1">9</td><td class="ctr2">9</td></tr></tfoot><tbody><tr><td id="a8"><a href="SimpleRDFTermFactory.java.html#L35" class="el_method">SimpleRDFTermFactory()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="120" height="10" title="8" alt="8"/></td><td class="ctr2" id="c0">0%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">2</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a7"><a href="SimpleRDFTermFactory.java.html#L68" class="el_method">createTriple(BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="105" height="10" title="7" alt="7"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">
 1</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a5"><a href="SimpleRDFTermFactory.java.html#L60" class="el_method">createLiteral(String, IRI)</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="90" height="10" title="6" alt="6"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">1</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a6"><a href="SimpleRDFTermFactory.java.html#L64" class="el_method">createLiteral(String, String)</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="90" height="10" title="6" alt="6"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">1</td><td class="ctr2
 " id="g3">1</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="SimpleRDFTermFactory.java.html#L44" class="el_method">createBlankNode(String)</a></td><td class="bar" id="b4"><img src="../.resources/redbar.gif" width="75" height="10" title="5" alt="5"/></td><td class="ctr2" id="c4">0%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">1</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">1</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a3"><a href="SimpleRDFTermFactory.java.html#L52" class="el_method">createIRI(String)</a></td><td class="bar" id="b5"><img src="../.resources/redbar.gif" width="75" height="10" title="5" alt="5"/></td><td class="ctr2" id="c5">0%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id=
 "g5">1</td><td class="ctr1" id="h5">1</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a4"><a href="SimpleRDFTermFactory.java.html#L56" class="el_method">createLiteral(String)</a></td><td class="bar" id="b6"><img src="../.resources/redbar.gif" width="75" height="10" title="5" alt="5"/></td><td class="ctr2" id="c6">0%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">1</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">1</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a0"><a href="SimpleRDFTermFactory.java.html#L40" class="el_method">createBlankNode()</a></td><td class="bar" id="b7"><img src="../.resources/redbar.gif" width="60" height="10" title="4" alt="4"/></td><td class="ctr2" id="c7">0%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f7">1</td><td class="ctr2" id="g7">1<
 /td><td class="ctr1" id="h7">1</td><td class="ctr2" id="i7">1</td><td class="ctr1" id="j7">1</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a2"><a href="SimpleRDFTermFactory.java.html#L48" class="el_method">createGraph()</a></td><td class="bar" id="b8"><img src="../.resources/redbar.gif" width="60" height="10" title="4" alt="4"/></td><td class="ctr2" id="c8">0%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f8">1</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h8">1</td><td class="ctr2" id="i8">1</td><td class="ctr1" id="j8">1</td><td class="ctr2" id="k8">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDFTermFactory.java.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDFTermFactory.java.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/SimpleRDFTermFactory.java.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>SimpleRDFTermFactory.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_source">SimpleRDFTermFacto
 ry.java</span></div><h1>SimpleRDFTermFactory.java</h1><pre class="source lang-java linenums">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * &quot;License&quot;); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rdf.simple;
+
+import org.apache.commons.rdf.api.BlankNode;
+import org.apache.commons.rdf.api.BlankNodeOrIRI;
+import org.apache.commons.rdf.api.Graph;
+import org.apache.commons.rdf.api.IRI;
+import org.apache.commons.rdf.api.Literal;
+import org.apache.commons.rdf.api.RDFTerm;
+import org.apache.commons.rdf.api.RDFTermFactory;
+import org.apache.commons.rdf.api.Triple;
+
+/**
+ * A Simple implementation of {@link RDFTermFactory}
+ * &lt;p&gt;
+ * This class is &lt;strong&gt;deprecated&lt;/strong&gt;, use instead {@link SimpleRDF}.
+ */
+@Deprecated
+<span class="nc" id="L35">public class SimpleRDFTermFactory implements RDFTermFactory {</span>
+
+<span class="nc" id="L37">    private SimpleRDF factory = new SimpleRDF();</span>
+
+    public BlankNode createBlankNode() {
+<span class="nc" id="L40">        return factory.createBlankNode();</span>
+    }
+
+    public BlankNode createBlankNode(String name) {
+<span class="nc" id="L44">        return factory.createBlankNode(name);</span>
+    }
+
+    public Graph createGraph() {
+<span class="nc" id="L48">        return factory.createGraph();</span>
+    }
+
+    public IRI createIRI(String iri) {
+<span class="nc" id="L52">        return factory.createIRI(iri);</span>
+    }
+
+    public Literal createLiteral(String literal) {
+<span class="nc" id="L56">        return factory.createLiteral(literal);</span>
+    }
+
+    public Literal createLiteral(String literal, IRI dataType) {
+<span class="nc" id="L60">        return factory.createLiteral(literal, dataType);</span>
+    }
+
+    public Literal createLiteral(String literal, String language) {
+<span class="nc" id="L64">        return factory.createLiteral(literal, language);</span>
+    }
+
+    public Triple createTriple(BlankNodeOrIRI subject, IRI predicate, RDFTerm object) {
+<span class="nc" id="L68">        return factory.createTriple(subject, predicate, object);</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/TripleImpl.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/TripleImpl.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/TripleImpl.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>TripleImpl</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_class">TripleImpl</span></div><h1>TripleImpl</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortabl
 e" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">2 of 99</td><td class="ctr2">98%</td><td class="bar">2 of 8</td><td class="ctr2">75%</td><td class="ctr1">2</td><td class="ctr2">11</td><td class="ctr1">1</td><td cl
 ass="ctr2">16</td><td class="ctr1">0</td><td class="ctr2">7</td></tr></tfoot><tbody><tr><td id="a0"><a href="TripleImpl.java.html#L83" class="el_method">equals(Object)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="8" height="10" title="2" alt="2"/><img src="../.resources/greenbar.gif" width="112" height="10" title="28" alt="28"/></td><td class="ctr2" id="c6">93%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="30" height="10" title="2" alt="2"/><img src="../.resources/greenbar.gif" width="90" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">75%</td><td class="ctr1" id="f0">2</td><td class="ctr2" id="g0">5</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i0">5</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a5"><a href="TripleImpl.java.html#L72" class="el_method">toString()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="92" height="10" title="23" alt=
 "23"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="TripleImpl.java.html#L78" class="el_method">hashCode()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="76" height="10" title="19" alt="19"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a6"><a href="TripleImpl.java.html#L49" class="el_method">TripleImpl(BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="72" height="10" title="18" alt="18
 "/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a3"><a href="TripleImpl.java.html#L57" class="el_method">getSubject()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="12" height="10" title="3" alt="3"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a2"><a href="TripleImpl.java.html#L62" class="el_method">getPredicate()</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="12" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4
 ">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a1"><a href="TripleImpl.java.html#L67" class="el_method">getObject()</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="12" height="10" title="3" alt="3"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/TripleImpl.java.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/TripleImpl.java.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/TripleImpl.java.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>TripleImpl.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_source">TripleImpl.java</span></div>
 <h1>TripleImpl.java</h1><pre class="source lang-java linenums">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * &quot;License&quot;); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rdf.simple;
+
+import org.apache.commons.rdf.api.BlankNodeOrIRI;
+import org.apache.commons.rdf.api.IRI;
+import org.apache.commons.rdf.api.RDFTerm;
+import org.apache.commons.rdf.api.Triple;
+
+import java.util.Objects;
+
+/**
+ * A simple implementation of Triple.
+ */
+final class TripleImpl implements Triple {
+
+    private final BlankNodeOrIRI subject;
+    private final IRI predicate;
+    private final RDFTerm object;
+
+    /**
+     * Construct Triple from its constituent parts.
+     * &lt;p&gt;
+     * The objects are not changed. All mapping of BNode objects is done in
+     * {@link SimpleRDF#createTriple(BlankNodeOrIRI, IRI, RDFTerm)}.
+     *
+     * @param subject
+     *            subject of triple
+     * @param predicate
+     *            predicate of triple
+     * @param object
+     *            object of triple
+     */
+<span class="fc" id="L49">    public TripleImpl(BlankNodeOrIRI subject, IRI predicate, RDFTerm object) {</span>
+<span class="fc" id="L50">        this.subject = Objects.requireNonNull(subject);</span>
+<span class="fc" id="L51">        this.predicate = Objects.requireNonNull(predicate);</span>
+<span class="fc" id="L52">        this.object = Objects.requireNonNull(object);</span>
+<span class="fc" id="L53">    }</span>
+
+    @Override
+    public BlankNodeOrIRI getSubject() {
+<span class="fc" id="L57">        return subject;</span>
+    }
+
+    @Override
+    public IRI getPredicate() {
+<span class="fc" id="L62">        return predicate;</span>
+    }
+
+    @Override
+    public RDFTerm getObject() {
+<span class="fc" id="L67">        return object;</span>
+    }
+
+    @Override
+    public String toString() {
+<span class="fc" id="L72">        return getSubject().ntriplesString() + &quot; &quot; + getPredicate().ntriplesString() + &quot; &quot;</span>
+<span class="fc" id="L73">                + getObject().ntriplesString() + &quot; .&quot;;</span>
+    }
+
+    @Override
+    public int hashCode() {
+<span class="fc" id="L78">        return Objects.hash(subject, predicate, object);</span>
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+<span class="pc bpc" id="L83" title="1 of 2 branches missed.">        if (!(obj instanceof Triple)) {</span>
+<span class="nc" id="L84">            return false;</span>
+        }
+<span class="fc" id="L86">        Triple other = (Triple) obj;</span>
+<span class="fc bfc" id="L87" title="All 4 branches covered.">        return getSubject().equals(other.getSubject()) &amp;&amp; getPredicate().equals(other.getPredicate())</span>
+<span class="pc bpc" id="L88" title="1 of 2 branches missed.">                &amp;&amp; getObject().equals(other.getObject());</span>
+    }
+
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/Types.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/Types.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/Types.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>Types</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_class">Types</span></div><h1>Types</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" oncli
 ck="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">4 of 433</td><td class="ctr2">99%</td><td class="bar">1 of 6</td><td class="ctr2">83%</td><td class="ctr1">2</td><td class="ctr2">12</td><td class="ctr1">1</td><td class="ctr2">100
 </td><td class="ctr1">1</td><td class="ctr2">9</td></tr></tfoot><tbody><tr><td id="a6"><a href="Types.java.html#L316" class="el_method">toString()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="1" height="10" title="4" alt="4"/></td><td class="ctr2" id="c8">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a5"><a href="Types.java.html#L35" class="el_method">static {...}</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="120" height="10" title="377" alt="377"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i0">85</td><td class="ctr1" id="j1">0</td><td clas
 s="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="Types.java.html#L339" class="el_method">get(IRI)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="7" height="10" title="24" alt="24"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="20" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="100" height="10" title="5" alt="5"/></td><td class="ctr2" id="e0">83%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a7"><a href="Types.java.html#L290" class="el_method">Types(String)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="2" height="10" title="9" alt="9"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ct
 r2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">3</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="Types.java.html#L306" class="el_method">equals(Object)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="1" height="10" title="5" alt="5"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a2"><a href="Types.java.html#L296" class="el_method">getIRIString()</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="1" height="10" title="4" alt="4"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="
 h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a4"><a href="Types.java.html#L301" class="el_method">ntriplesString()</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="1" height="10" title="4" alt="4"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a3"><a href="Types.java.html#L311" class="el_method">hashCode()</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="1" height="10" title="4" alt="4"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">1</td>
 <td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a8"><a href="Types.java.html#L326" class="el_method">values()</a></td><td class="bar" id="b8"/><td class="ctr2" id="c7">100%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i8">1</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file

Added: websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/Types.java.html
==============================================================================
--- websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/Types.java.html (added)
+++ websites/production/commonsrdf/content/jacoco/org.apache.commons.rdf.simple/Types.java.html Wed Nov 16 10:57:28 2016
@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>Types.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF impl: Simple</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rdf.simple</a> &gt; <span class="el_source">Types.java</span></div><h1>Types.
 java</h1><pre class="source lang-java linenums">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * &quot;License&quot;); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rdf.simple;
+
+import org.apache.commons.rdf.api.IRI;
+
+import java.util.Collections;
+import java.util.LinkedHashSet;
+import java.util.Optional;
+import java.util.Set;
+
+/**
+ * Types from the RDF and XML Schema vocabularies.
+ */
+public final class Types implements IRI, SimpleRDF.SimpleRDFTerm {
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML&lt;/tt&gt;
+     */
+<span class="fc" id="L35">    public static final Types RDF_HTML = new Types(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#langString&lt;/tt&gt;
+     */
+<span class="fc" id="L40">    public static final Types RDF_LANGSTRING = new Types(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#langString&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral&lt;/tt&gt;
+     *
+     * @deprecated Not used in RDF-1.1
+     */
+    @Deprecated
+<span class="fc" id="L48">    public static final Types RDF_PLAINLITERAL = new Types(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral&lt;/tt&gt;
+     */
+<span class="fc" id="L53">    public static final Types RDF_XMLLITERAL = new Types(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#anyURI&lt;/tt&gt;
+     */
+<span class="fc" id="L58">    public static final Types XSD_ANYURI = new Types(&quot;http://www.w3.org/2001/XMLSchema#anyURI&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#base64Binary&lt;/tt&gt;
+     */
+<span class="fc" id="L63">    public static final Types XSD_BASE64BINARY = new Types(&quot;http://www.w3.org/2001/XMLSchema#base64Binary&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#boolean&lt;/tt&gt;
+     */
+<span class="fc" id="L68">    public static final Types XSD_BOOLEAN = new Types(&quot;http://www.w3.org/2001/XMLSchema#boolean&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#byte&lt;/tt&gt;
+     */
+<span class="fc" id="L73">    public static final Types XSD_BYTE = new Types(&quot;http://www.w3.org/2001/XMLSchema#byte&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#date&lt;/tt&gt;
+     */
+<span class="fc" id="L78">    public static final Types XSD_DATE = new Types(&quot;http://www.w3.org/2001/XMLSchema#date&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#dateTime&lt;/tt&gt;
+     */
+<span class="fc" id="L83">    public static final Types XSD_DATETIME = new Types(&quot;http://www.w3.org/2001/XMLSchema#dateTime&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#dayTimeDuration&lt;/tt&gt;
+     */
+<span class="fc" id="L88">    public static final Types XSD_DAYTIMEDURATION = new Types(&quot;http://www.w3.org/2001/XMLSchema#dayTimeDuration&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#decimal&lt;/tt&gt;
+     */
+<span class="fc" id="L93">    public static final Types XSD_DECIMAL = new Types(&quot;http://www.w3.org/2001/XMLSchema#decimal&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#double&lt;/tt&gt;
+     */
+<span class="fc" id="L98">    public static final Types XSD_DOUBLE = new Types(&quot;http://www.w3.org/2001/XMLSchema#double&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#duration&lt;/tt&gt;
+     */
+<span class="fc" id="L103">    public static final Types XSD_DURATION = new Types(&quot;http://www.w3.org/2001/XMLSchema#duration&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#float&lt;/tt&gt;
+     */
+<span class="fc" id="L108">    public static final Types XSD_FLOAT = new Types(&quot;http://www.w3.org/2001/XMLSchema#float&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#gDay&lt;/tt&gt;
+     */
+<span class="fc" id="L113">    public static final Types XSD_GDAY = new Types(&quot;http://www.w3.org/2001/XMLSchema#gDay&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#gMonth&lt;/tt&gt;
+     */
+<span class="fc" id="L118">    public static final Types XSD_GMONTH = new Types(&quot;http://www.w3.org/2001/XMLSchema#gMonth&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#gMonthDay&lt;/tt&gt;
+     */
+<span class="fc" id="L123">    public static final Types XSD_GMONTHDAY = new Types(&quot;http://www.w3.org/2001/XMLSchema#gMonthDay&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#gYear&lt;/tt&gt;
+     */
+<span class="fc" id="L128">    public static final Types XSD_GYEAR = new Types(&quot;http://www.w3.org/2001/XMLSchema#gYear&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#gYearMonth&lt;/tt&gt;
+     */
+<span class="fc" id="L133">    public static final Types XSD_GYEARMONTH = new Types(&quot;http://www.w3.org/2001/XMLSchema#gYearMonth&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#hexBinary&lt;/tt&gt;
+     */
+<span class="fc" id="L138">    public static final Types XSD_HEXBINARY = new Types(&quot;http://www.w3.org/2001/XMLSchema#hexBinary&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#int&lt;/tt&gt;
+     */
+<span class="fc" id="L143">    public static final Types XSD_INT = new Types(&quot;http://www.w3.org/2001/XMLSchema#int&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#integer&lt;/tt&gt;
+     */
+<span class="fc" id="L148">    public static final Types XSD_INTEGER = new Types(&quot;http://www.w3.org/2001/XMLSchema#integer&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#language&lt;/tt&gt;
+     */
+<span class="fc" id="L153">    public static final Types XSD_LANGUAGE = new Types(&quot;http://www.w3.org/2001/XMLSchema#language&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#long&lt;/tt&gt;
+     */
+<span class="fc" id="L158">    public static final Types XSD_LONG = new Types(&quot;http://www.w3.org/2001/XMLSchema#long&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#Name&lt;/tt&gt;
+     */
+<span class="fc" id="L163">    public static final Types XSD_NAME = new Types(&quot;http://www.w3.org/2001/XMLSchema#Name&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#NCName&lt;/tt&gt;
+     */
+<span class="fc" id="L168">    public static final Types XSD_NCNAME = new Types(&quot;http://www.w3.org/2001/XMLSchema#NCName&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#negativeInteger&lt;/tt&gt;
+     */
+<span class="fc" id="L173">    public static final Types XSD_NEGATIVEINTEGER = new Types(&quot;http://www.w3.org/2001/XMLSchema#negativeInteger&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#NMTOKEN&lt;/tt&gt;
+     */
+<span class="fc" id="L178">    public static final Types XSD_NMTOKEN = new Types(&quot;http://www.w3.org/2001/XMLSchema#NMTOKEN&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#nonNegativeInteger&lt;/tt&gt;
+     */
+<span class="fc" id="L183">    public static final Types XSD_NONNEGATIVEINTEGER = new Types(&quot;http://www.w3.org/2001/XMLSchema#nonNegativeInteger&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#nonPositiveInteger&lt;/tt&gt;
+     */
+<span class="fc" id="L188">    public static final Types XSD_NONPOSITIVEINTEGER = new Types(&quot;http://www.w3.org/2001/XMLSchema#nonPositiveInteger&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#normalizedString&lt;/tt&gt;
+     */
+<span class="fc" id="L193">    public static final Types XSD_NORMALIZEDSTRING = new Types(&quot;http://www.w3.org/2001/XMLSchema#normalizedString&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#positiveInteger&lt;/tt&gt;
+     */
+<span class="fc" id="L198">    public static final Types XSD_POSITIVEINTEGER = new Types(&quot;http://www.w3.org/2001/XMLSchema#positiveInteger&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#short&lt;/tt&gt;
+     */
+<span class="fc" id="L203">    public static final Types XSD_SHORT = new Types(&quot;http://www.w3.org/2001/XMLSchema#short&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#string&lt;/tt&gt;
+     */
+<span class="fc" id="L208">    public static final Types XSD_STRING = new Types(&quot;http://www.w3.org/2001/XMLSchema#string&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#time&lt;/tt&gt;
+     */
+<span class="fc" id="L213">    public static final Types XSD_TIME = new Types(&quot;http://www.w3.org/2001/XMLSchema#time&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#token&lt;/tt&gt;
+     */
+<span class="fc" id="L218">    public static final Types XSD_TOKEN = new Types(&quot;http://www.w3.org/2001/XMLSchema#token&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#unsignedByte&lt;/tt&gt;
+     */
+<span class="fc" id="L223">    public static final Types XSD_UNSIGNEDBYTE = new Types(&quot;http://www.w3.org/2001/XMLSchema#unsignedByte&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#unsignedInt&lt;/tt&gt;
+     */
+<span class="fc" id="L228">    public static final Types XSD_UNSIGNEDINT = new Types(&quot;http://www.w3.org/2001/XMLSchema#unsignedInt&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#unsignedLong&lt;/tt&gt;
+     */
+<span class="fc" id="L233">    public static final Types XSD_UNSIGNEDLONG = new Types(&quot;http://www.w3.org/2001/XMLSchema#unsignedLong&quot;);</span>
+
+    /**
+     * &lt;tt&gt;http://www.w3.org/2001/XMLSchema#unsignedShort&lt;/tt&gt;
+     */
+<span class="fc" id="L238">    public static final Types XSD_UNSIGNEDSHORT = new Types(&quot;http://www.w3.org/2001/XMLSchema#unsignedShort&quot;);</span>
+
+    private static final Set&lt;IRI&gt; ALL_TYPES;
+
+    static {
+<span class="fc" id="L243">        Set&lt;IRI&gt; tempTypes = new LinkedHashSet&lt;&gt;();</span>
+<span class="fc" id="L244">        tempTypes.add(RDF_HTML);</span>
+<span class="fc" id="L245">        tempTypes.add(RDF_LANGSTRING);</span>
+<span class="fc" id="L246">        tempTypes.add(RDF_PLAINLITERAL);</span>
+<span class="fc" id="L247">        tempTypes.add(RDF_XMLLITERAL);</span>
+<span class="fc" id="L248">        tempTypes.add(XSD_ANYURI);</span>
+<span class="fc" id="L249">        tempTypes.add(XSD_BASE64BINARY);</span>
+<span class="fc" id="L250">        tempTypes.add(XSD_BOOLEAN);</span>
+<span class="fc" id="L251">        tempTypes.add(XSD_BYTE);</span>
+<span class="fc" id="L252">        tempTypes.add(XSD_DATE);</span>
+<span class="fc" id="L253">        tempTypes.add(XSD_DATETIME);</span>
+<span class="fc" id="L254">        tempTypes.add(XSD_DAYTIMEDURATION);</span>
+<span class="fc" id="L255">        tempTypes.add(XSD_DECIMAL);</span>
+<span class="fc" id="L256">        tempTypes.add(XSD_DOUBLE);</span>
+<span class="fc" id="L257">        tempTypes.add(XSD_DURATION);</span>
+<span class="fc" id="L258">        tempTypes.add(XSD_FLOAT);</span>
+<span class="fc" id="L259">        tempTypes.add(XSD_GDAY);</span>
+<span class="fc" id="L260">        tempTypes.add(XSD_GMONTH);</span>
+<span class="fc" id="L261">        tempTypes.add(XSD_GMONTHDAY);</span>
+<span class="fc" id="L262">        tempTypes.add(XSD_GYEAR);</span>
+<span class="fc" id="L263">        tempTypes.add(XSD_GYEARMONTH);</span>
+<span class="fc" id="L264">        tempTypes.add(XSD_HEXBINARY);</span>
+<span class="fc" id="L265">        tempTypes.add(XSD_INT);</span>
+<span class="fc" id="L266">        tempTypes.add(XSD_INTEGER);</span>
+<span class="fc" id="L267">        tempTypes.add(XSD_LANGUAGE);</span>
+<span class="fc" id="L268">        tempTypes.add(XSD_LONG);</span>
+<span class="fc" id="L269">        tempTypes.add(XSD_NAME);</span>
+<span class="fc" id="L270">        tempTypes.add(XSD_NCNAME);</span>
+<span class="fc" id="L271">        tempTypes.add(XSD_NEGATIVEINTEGER);</span>
+<span class="fc" id="L272">        tempTypes.add(XSD_NMTOKEN);</span>
+<span class="fc" id="L273">        tempTypes.add(XSD_NONNEGATIVEINTEGER);</span>
+<span class="fc" id="L274">        tempTypes.add(XSD_NONPOSITIVEINTEGER);</span>
+<span class="fc" id="L275">        tempTypes.add(XSD_NORMALIZEDSTRING);</span>
+<span class="fc" id="L276">        tempTypes.add(XSD_POSITIVEINTEGER);</span>
+<span class="fc" id="L277">        tempTypes.add(XSD_SHORT);</span>
+<span class="fc" id="L278">        tempTypes.add(XSD_STRING);</span>
+<span class="fc" id="L279">        tempTypes.add(XSD_TIME);</span>
+<span class="fc" id="L280">        tempTypes.add(XSD_TOKEN);</span>
+<span class="fc" id="L281">        tempTypes.add(XSD_UNSIGNEDBYTE);</span>
+<span class="fc" id="L282">        tempTypes.add(XSD_UNSIGNEDINT);</span>
+<span class="fc" id="L283">        tempTypes.add(XSD_UNSIGNEDLONG);</span>
+<span class="fc" id="L284">        tempTypes.add(XSD_UNSIGNEDSHORT);</span>
+<span class="fc" id="L285">        ALL_TYPES = Collections.unmodifiableSet(tempTypes);</span>
+<span class="fc" id="L286">    }</span>
+
+    private final IRI field;
+
+<span class="fc" id="L290">    private Types(String field) {</span>
+<span class="fc" id="L291">        this.field = new IRIImpl(field);</span>
+<span class="fc" id="L292">    }</span>
+
+    @Override
+    public String getIRIString() {
+<span class="fc" id="L296">        return this.field.getIRIString();</span>
+    }
+
+    @Override
+    public String ntriplesString() {
+<span class="fc" id="L301">        return this.field.ntriplesString();</span>
+    }
+
+    @Override
+    public boolean equals(Object other) {
+<span class="fc" id="L306">        return this.field.equals(other);</span>
+    }
+
+    @Override
+    public int hashCode() {
+<span class="fc" id="L311">        return this.field.hashCode();</span>
+    }
+
+    @Override
+    public String toString() {
+<span class="nc" id="L316">        return this.field.toString();</span>
+    }
+
+    /**
+     * Get an immutable set of the IRIs used by the RDF-1.1 specification to
+     * define types, from the RDF and XML Schema vocabularies.
+     *
+     * @return A {@link Set} containing all of the IRIs in this collection.
+     */
+    public static Set&lt;IRI&gt; values() {
+<span class="fc" id="L326">        return ALL_TYPES;</span>
+    }
+
+    /**
+     * Get the IRI from this collection if it is present, or return
+     * {@link Optional#empty()} otherwise.
+     *
+     * @param nextIRI
+     *            The IRI to look for.
+     * @return An {@link Optional} containing the IRI from this collection or
+     *         {@link Optional#empty()} if it is not present here.
+     */
+    public static Optional&lt;IRI&gt; get(IRI nextIRI) {
+<span class="fc bfc" id="L339" title="All 2 branches covered.">        if (ALL_TYPES.contains(nextIRI)) {</span>
+            // If we know about this IRI, then look through our set to find the
+            // object that matches and return it
+<span class="pc bpc" id="L342" title="1 of 2 branches missed.">            for (IRI nextType : ALL_TYPES) {</span>
+<span class="fc bfc" id="L343" title="All 2 branches covered.">                if (nextType.equals(nextIRI)) {</span>
+<span class="fc" id="L344">                    return Optional.of(nextType);</span>
+                }
+<span class="fc" id="L346">            }</span>
+        }
+<span class="fc" id="L348">        return Optional.empty();</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.6.201602180812</span></div></body></html>
\ No newline at end of file



Mime
View raw message