Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyQuadTest.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyQuadTest.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyQuadTest.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,71 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>DummyQuadTest xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/rdf/api/DummyQuadTest.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.rdf.api; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.*; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.util.Objects; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyQuadTest.html">DummyQuadTest</a> { +<a class="jxr_linenumber" name="L27" href="#L27">27</a> Quad quad = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyQuad.html">DummyQuad</a>(); +<a class="jxr_linenumber" name="L28" href="#L28">28</a> +<a class="jxr_linenumber" name="L29" href="#L29">29</a> @Test +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getGraphName() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L31" href="#L31">31</a> assertFalse(quad.getGraphName().isPresent()); +<a class="jxr_linenumber" name="L32" href="#L32">32</a> } +<a class="jxr_linenumber" name="L33" href="#L33">33</a> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> @Test +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getSubject() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L36" href="#L36">36</a> assertEquals(1, ((DummyIRI) quad.getSubject()).i); +<a class="jxr_linenumber" name="L37" href="#L37">37</a> } +<a class="jxr_linenumber" name="L38" href="#L38">38</a> @Test +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getPredicate() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L40" href="#L40">40</a> assertEquals(2, ((DummyIRI) quad.getPredicate()).i); +<a class="jxr_linenumber" name="L41" href="#L41">41</a> } +<a class="jxr_linenumber" name="L42" href="#L42">42</a> @Test +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getObject() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L44" href="#L44">44</a> assertEquals(3, ((DummyIRI) quad.getObject()).i); +<a class="jxr_linenumber" name="L45" href="#L45">45</a> } +<a class="jxr_linenumber" name="L46" href="#L46">46</a> +<a class="jxr_linenumber" name="L47" href="#L47">47</a> @Test +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> equals() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L49" href="#L49">49</a> assertEquals(quad, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyQuad.html">DummyQuad</a>()); +<a class="jxr_linenumber" name="L50" href="#L50">50</a> } +<a class="jxr_linenumber" name="L51" href="#L51">51</a> +<a class="jxr_linenumber" name="L52" href="#L52">52</a> @Test +<a class="jxr_linenumber" name="L53" href="#L53">53</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testHashCode() { +<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> expected = Objects.hash(quad.getSubject(), quad.getPredicate(), quad.getObject(), quad.getGraphName()); +<a class="jxr_linenumber" name="L55" href="#L55">55</a> assertEquals(expected, quad.hashCode()); +<a class="jxr_linenumber" name="L56" href="#L56">56</a> } +<a class="jxr_linenumber" name="L57" href="#L57">57</a> } +<a class="jxr_linenumber" name="L58" href="#L58">58</a> +</pre> +<hr/> +<div id="footer">Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file
Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyTriple.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyTriple.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyTriple.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>DummyTriple xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/rdf/api/DummyTriple.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.rdf.api; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> java.util.Arrays; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> java.util.List; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.util.Objects; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyTriple.html">DummyTriple</a> <strong class="jxr_keyword">implements</strong> Triple { +<a class="jxr_linenumber" name="L25" href="#L25">25</a> @Override +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">public</strong> BlankNodeOrIRI getSubject() { +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyIRI.html">DummyIRI</a>(1); +<a class="jxr_linenumber" name="L28" href="#L28">28</a> } +<a class="jxr_linenumber" name="L29" href="#L29">29</a> @Override +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> IRI getPredicate() { +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyIRI.html">DummyIRI</a>(2); +<a class="jxr_linenumber" name="L32" href="#L32">32</a> } +<a class="jxr_linenumber" name="L33" href="#L33">33</a> @Override +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">public</strong> RDFTerm getObject() { +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyIRI.html">DummyIRI</a>(3); +<a class="jxr_linenumber" name="L36" href="#L36">36</a> } +<a class="jxr_linenumber" name="L37" href="#L37">37</a> +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> List<RDFTerm> tripleList(<strong class="jxr_keyword">final</strong> Triple q) { +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">return</strong> Arrays.asList( +<a class="jxr_linenumber" name="L40" href="#L40">40</a> q.getSubject(), +<a class="jxr_linenumber" name="L41" href="#L41">41</a> q.getPredicate(), +<a class="jxr_linenumber" name="L42" href="#L42">42</a> q.getObject()); +<a class="jxr_linenumber" name="L43" href="#L43">43</a> } +<a class="jxr_linenumber" name="L44" href="#L44">44</a> +<a class="jxr_linenumber" name="L45" href="#L45">45</a> @Override +<a class="jxr_linenumber" name="L46" href="#L46">46</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> equals(<strong class="jxr_keyword">final</strong> Object obj) { +<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">if</strong> (!(obj instanceof Triple)) { +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">return</strong> false; +<a class="jxr_linenumber" name="L49" href="#L49">49</a> } +<a class="jxr_linenumber" name="L50" href="#L50">50</a> <strong class="jxr_keyword">return</strong> tripleList(<strong class="jxr_keyword">this</strong>).equals(tripleList((Triple) obj)); +<a class="jxr_linenumber" name="L51" href="#L51">51</a> } +<a class="jxr_linenumber" name="L52" href="#L52">52</a> +<a class="jxr_linenumber" name="L53" href="#L53">53</a> @Override +<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> hashCode() { +<a class="jxr_linenumber" name="L55" href="#L55">55</a> <strong class="jxr_keyword">return</strong> Objects.hash(getSubject(), getPredicate(), getObject()); +<a class="jxr_linenumber" name="L56" href="#L56">56</a> } +<a class="jxr_linenumber" name="L57" href="#L57">57</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyTripleTest.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyTripleTest.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/DummyTripleTest.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,66 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>DummyTripleTest xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/rdf/api/DummyTripleTest.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.rdf.api; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.*; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.util.Objects; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyTripleTest.html">DummyTripleTest</a> { +<a class="jxr_linenumber" name="L27" href="#L27">27</a> Triple triple = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyTriple.html">DummyTriple</a>(); +<a class="jxr_linenumber" name="L28" href="#L28">28</a> +<a class="jxr_linenumber" name="L29" href="#L29">29</a> @Test +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getSubject() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L31" href="#L31">31</a> assertEquals(1, ((DummyIRI) triple.getSubject()).i); +<a class="jxr_linenumber" name="L32" href="#L32">32</a> } +<a class="jxr_linenumber" name="L33" href="#L33">33</a> @Test +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getPredicate() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L35" href="#L35">35</a> assertEquals(2, ((DummyIRI) triple.getPredicate()).i); +<a class="jxr_linenumber" name="L36" href="#L36">36</a> } +<a class="jxr_linenumber" name="L37" href="#L37">37</a> @Test +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> getObject() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L39" href="#L39">39</a> assertEquals(3, ((DummyIRI) triple.getObject()).i); +<a class="jxr_linenumber" name="L40" href="#L40">40</a> } +<a class="jxr_linenumber" name="L41" href="#L41">41</a> +<a class="jxr_linenumber" name="L42" href="#L42">42</a> @Test +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> equals() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L44" href="#L44">44</a> assertEquals(triple, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/rdf/api/DummyTriple.html">DummyTriple</a>()); +<a class="jxr_linenumber" name="L45" href="#L45">45</a> } +<a class="jxr_linenumber" name="L46" href="#L46">46</a> +<a class="jxr_linenumber" name="L47" href="#L47">47</a> @Test +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testHashCode() { +<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> expected = Objects.hash(triple.getSubject(), triple.getPredicate(), triple.getObject()); +<a class="jxr_linenumber" name="L50" href="#L50">50</a> assertEquals(expected, triple.hashCode()); +<a class="jxr_linenumber" name="L51" href="#L51">51</a> } +<a class="jxr_linenumber" name="L52" href="#L52">52</a> } +<a class="jxr_linenumber" name="L53" href="#L53">53</a> +</pre> +<hr/> +<div id="footer">Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/RDFSyntaxTest.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/RDFSyntaxTest.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/RDFSyntaxTest.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,134 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>RDFSyntaxTest xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/rdf/api/RDFSyntaxTest.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.rdf.api; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.*; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.util.Optional; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/rdf/api/RDFSyntaxTest.html">RDFSyntaxTest</a> { +<a class="jxr_linenumber" name="L27" href="#L27">27</a> +<a class="jxr_linenumber" name="L28" href="#L28">28</a> @Test +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byFileExtension() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L30" href="#L30">30</a> assertEquals(RDFSyntax.JSONLD, RDFSyntax.byFileExtension(<span class="jxr_string">".jsonld"</span>).get()); +<a class="jxr_linenumber" name="L31" href="#L31">31</a> assertEquals(RDFSyntax.NQUADS, RDFSyntax.byFileExtension(<span class="jxr_string">".nq"</span>).get()); +<a class="jxr_linenumber" name="L32" href="#L32">32</a> assertEquals(RDFSyntax.NTRIPLES, RDFSyntax.byFileExtension(<span class="jxr_string">".nt"</span>).get()); +<a class="jxr_linenumber" name="L33" href="#L33">33</a> assertEquals(RDFSyntax.RDFA_HTML, RDFSyntax.byFileExtension(<span class="jxr_string">".html"</span>).get()); +<a class="jxr_linenumber" name="L34" href="#L34">34</a> assertEquals(RDFSyntax.RDFA_XHTML, RDFSyntax.byFileExtension(<span class="jxr_string">".xhtml"</span>).get()); +<a class="jxr_linenumber" name="L35" href="#L35">35</a> assertEquals(RDFSyntax.RDFXML, RDFSyntax.byFileExtension(<span class="jxr_string">".rdf"</span>).get()); +<a class="jxr_linenumber" name="L36" href="#L36">36</a> assertEquals(RDFSyntax.TRIG, RDFSyntax.byFileExtension(<span class="jxr_string">".trig"</span>).get()); +<a class="jxr_linenumber" name="L37" href="#L37">37</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.byFileExtension(<span class="jxr_string">".ttl"</span>).get()); +<a class="jxr_linenumber" name="L38" href="#L38">38</a> } +<a class="jxr_linenumber" name="L39" href="#L39">39</a> +<a class="jxr_linenumber" name="L40" href="#L40">40</a> @Test +<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byFileExtensionFailsWithoutDot() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L42" href="#L42">42</a> assertEquals(Optional.empty(), RDFSyntax.byFileExtension(<span class="jxr_string">"rdf"</span>)); +<a class="jxr_linenumber" name="L43" href="#L43">43</a> } +<a class="jxr_linenumber" name="L44" href="#L44">44</a> +<a class="jxr_linenumber" name="L45" href="#L45">45</a> @Test +<a class="jxr_linenumber" name="L46" href="#L46">46</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byFileExtensionLowerCase() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L47" href="#L47">47</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.byFileExtension(<span class="jxr_string">".TtL"</span>).get()); +<a class="jxr_linenumber" name="L48" href="#L48">48</a> } +<a class="jxr_linenumber" name="L49" href="#L49">49</a> +<a class="jxr_linenumber" name="L50" href="#L50">50</a> @Test +<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byFileExtensionUnknown() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L52" href="#L52">52</a> assertEquals(Optional.empty(), RDFSyntax.byFileExtension(<span class="jxr_string">".tar"</span>)); +<a class="jxr_linenumber" name="L53" href="#L53">53</a> } +<a class="jxr_linenumber" name="L54" href="#L54">54</a> +<a class="jxr_linenumber" name="L55" href="#L55">55</a> @Test +<a class="jxr_linenumber" name="L56" href="#L56">56</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byMediaType() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L57" href="#L57">57</a> assertEquals(RDFSyntax.JSONLD, RDFSyntax.byMediaType(<span class="jxr_string">"application/ld+json"</span>).get()); +<a class="jxr_linenumber" name="L58" href="#L58">58</a> assertEquals(RDFSyntax.NQUADS, RDFSyntax.byMediaType(<span class="jxr_string">"application/n-quads"</span>).get()); +<a class="jxr_linenumber" name="L59" href="#L59">59</a> assertEquals(RDFSyntax.NTRIPLES, RDFSyntax.byMediaType(<span class="jxr_string">"application/n-triples"</span>).get()); +<a class="jxr_linenumber" name="L60" href="#L60">60</a> assertEquals(RDFSyntax.RDFA_HTML, RDFSyntax.byMediaType(<span class="jxr_string">"text/html"</span>).get()); +<a class="jxr_linenumber" name="L61" href="#L61">61</a> assertEquals(RDFSyntax.RDFA_XHTML, RDFSyntax.byMediaType(<span class="jxr_string">"application/xhtml+xml"</span>).get()); +<a class="jxr_linenumber" name="L62" href="#L62">62</a> assertEquals(RDFSyntax.RDFXML, RDFSyntax.byMediaType(<span class="jxr_string">"application/rdf+xml"</span>).get()); +<a class="jxr_linenumber" name="L63" href="#L63">63</a> assertEquals(RDFSyntax.TRIG, RDFSyntax.byMediaType(<span class="jxr_string">"application/trig"</span>).get()); +<a class="jxr_linenumber" name="L64" href="#L64">64</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.byMediaType(<span class="jxr_string">"text/turtle"</span>).get()); +<a class="jxr_linenumber" name="L65" href="#L65">65</a> } +<a class="jxr_linenumber" name="L66" href="#L66">66</a> +<a class="jxr_linenumber" name="L67" href="#L67">67</a> @Test +<a class="jxr_linenumber" name="L68" href="#L68">68</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byMediaTypeContentType() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L69" href="#L69">69</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.byMediaType(<span class="jxr_string">"text/turtle; charset=\"UTF-8\""</span>).get()); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.byMediaType(<span class="jxr_string">"text/turtle ; charset=\"UTF-8\""</span>).get()); +<a class="jxr_linenumber" name="L71" href="#L71">71</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.byMediaType(<span class="jxr_string">"text/turtle, text/plain"</span>).get()); +<a class="jxr_linenumber" name="L72" href="#L72">72</a> assertEquals(Optional.empty(), RDFSyntax.byMediaType(<span class="jxr_string">" text/turtle"</span>)); +<a class="jxr_linenumber" name="L73" href="#L73">73</a> } +<a class="jxr_linenumber" name="L74" href="#L74">74</a> +<a class="jxr_linenumber" name="L75" href="#L75">75</a> @Test +<a class="jxr_linenumber" name="L76" href="#L76">76</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byMediaTypeLowerCase() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L77" href="#L77">77</a> assertEquals(RDFSyntax.JSONLD, RDFSyntax.byMediaType(<span class="jxr_string">"APPLICATION/ld+JSON"</span>).get()); +<a class="jxr_linenumber" name="L78" href="#L78">78</a> } +<a class="jxr_linenumber" name="L79" href="#L79">79</a> +<a class="jxr_linenumber" name="L80" href="#L80">80</a> @Test +<a class="jxr_linenumber" name="L81" href="#L81">81</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> byMediaTypeUnknown() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L82" href="#L82">82</a> assertEquals(Optional.empty(), RDFSyntax.byMediaType(<span class="jxr_string">"application/octet-stream"</span>)); +<a class="jxr_linenumber" name="L83" href="#L83">83</a> } +<a class="jxr_linenumber" name="L84" href="#L84">84</a> +<a class="jxr_linenumber" name="L85" href="#L85">85</a> @Test +<a class="jxr_linenumber" name="L86" href="#L86">86</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> fileExtension() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L87" href="#L87">87</a> assertEquals(<span class="jxr_string">".jsonld"</span>, RDFSyntax.JSONLD.fileExtension); +<a class="jxr_linenumber" name="L88" href="#L88">88</a> assertEquals(<span class="jxr_string">".nq"</span>, RDFSyntax.NQUADS.fileExtension); +<a class="jxr_linenumber" name="L89" href="#L89">89</a> assertEquals(<span class="jxr_string">".nt"</span>, RDFSyntax.NTRIPLES.fileExtension); +<a class="jxr_linenumber" name="L90" href="#L90">90</a> assertEquals(<span class="jxr_string">".html"</span>, RDFSyntax.RDFA_HTML.fileExtension); +<a class="jxr_linenumber" name="L91" href="#L91">91</a> assertEquals(<span class="jxr_string">".xhtml"</span>, RDFSyntax.RDFA_XHTML.fileExtension); +<a class="jxr_linenumber" name="L92" href="#L92">92</a> assertEquals(<span class="jxr_string">".rdf"</span>, RDFSyntax.RDFXML.fileExtension); +<a class="jxr_linenumber" name="L93" href="#L93">93</a> assertEquals(<span class="jxr_string">".trig"</span>, RDFSyntax.TRIG.fileExtension); +<a class="jxr_linenumber" name="L94" href="#L94">94</a> assertEquals(<span class="jxr_string">".ttl"</span>, RDFSyntax.TURTLE.fileExtension); +<a class="jxr_linenumber" name="L95" href="#L95">95</a> } +<a class="jxr_linenumber" name="L96" href="#L96">96</a> +<a class="jxr_linenumber" name="L97" href="#L97">97</a> @Test +<a class="jxr_linenumber" name="L98" href="#L98">98</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> mediaType() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L99" href="#L99">99</a> assertEquals(<span class="jxr_string">"application/ld+json"</span>, RDFSyntax.JSONLD.mediaType); +<a class="jxr_linenumber" name="L100" href="#L100">100</a> assertEquals(<span class="jxr_string">"application/n-quads"</span>, RDFSyntax.NQUADS.mediaType); +<a class="jxr_linenumber" name="L101" href="#L101">101</a> assertEquals(<span class="jxr_string">"application/n-triples"</span>, RDFSyntax.NTRIPLES.mediaType); +<a class="jxr_linenumber" name="L102" href="#L102">102</a> assertEquals(<span class="jxr_string">"text/html"</span>, RDFSyntax.RDFA_HTML.mediaType); +<a class="jxr_linenumber" name="L103" href="#L103">103</a> assertEquals(<span class="jxr_string">"application/xhtml+xml"</span>, RDFSyntax.RDFA_XHTML.mediaType); +<a class="jxr_linenumber" name="L104" href="#L104">104</a> assertEquals(<span class="jxr_string">"application/rdf+xml"</span>, RDFSyntax.RDFXML.mediaType); +<a class="jxr_linenumber" name="L105" href="#L105">105</a> assertEquals(<span class="jxr_string">"application/trig"</span>, RDFSyntax.TRIG.mediaType); +<a class="jxr_linenumber" name="L106" href="#L106">106</a> assertEquals(<span class="jxr_string">"text/turtle"</span>, RDFSyntax.TURTLE.mediaType); +<a class="jxr_linenumber" name="L107" href="#L107">107</a> } +<a class="jxr_linenumber" name="L108" href="#L108">108</a> +<a class="jxr_linenumber" name="L109" href="#L109">109</a> @Test +<a class="jxr_linenumber" name="L110" href="#L110">110</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> name() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L111" href="#L111">111</a> assertEquals(<span class="jxr_string">"JSON-LD 1.0"</span>, RDFSyntax.JSONLD.toString()); +<a class="jxr_linenumber" name="L112" href="#L112">112</a> assertEquals(<span class="jxr_string">"RDF 1.1 Turtle"</span>, RDFSyntax.TURTLE.toString()); +<a class="jxr_linenumber" name="L113" href="#L113">113</a> } +<a class="jxr_linenumber" name="L114" href="#L114">114</a> +<a class="jxr_linenumber" name="L115" href="#L115">115</a> @Test +<a class="jxr_linenumber" name="L116" href="#L116">116</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> valueOf() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L117" href="#L117">117</a> assertEquals(RDFSyntax.TURTLE, RDFSyntax.valueOf(<span class="jxr_string">"TURTLE"</span>)); +<a class="jxr_linenumber" name="L118" href="#L118">118</a> <em class="jxr_comment">// No need to test all of them, we'll trust Enum</em> +<a class="jxr_linenumber" name="L119" href="#L119">119</a> } +<a class="jxr_linenumber" name="L120" href="#L120">120</a> +<a class="jxr_linenumber" name="L121" href="#L121">121</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/package-frame.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/package-frame.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/package-frame.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,78 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Commons RDF 0.4.0-incubating-SNAPSHOT Reference Package org.apache.commons.rdf.api</title> + <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> + </head> + <body> + + <h3> + <a href="package-summary.html" target="classFrame">org.apache.commons.rdf.api</a> + </h3> + + <h3>Classes</h3> + + <ul> + <li> + <a href="AbstractBlankNodeTest.html" target="classFrame">AbstractBlankNodeTest</a> + </li> + <li> + <a href="AbstractDatasetTest.html" target="classFrame">AbstractDatasetTest</a> + </li> + <li> + <a href="AbstractGraphTest.html" target="classFrame">AbstractGraphTest</a> + </li> + <li> + <a href="AbstractRDFTest.html" target="classFrame">AbstractRDFTest</a> + </li> + <li> + <a href="DefaultDatasetTest.html" target="classFrame">DefaultDatasetTest</a> + </li> + <li> + <a href="DefaultGraphTest.html" target="classFrame">DefaultGraphTest</a> + </li> + <li> + <a href="DefaultQuadTest.html" target="classFrame">DefaultQuadTest</a> + </li> + <li> + <a href="DefaultRDFTermFactoryTest.html" target="classFrame">DefaultRDFTermFactoryTest</a> + </li> + <li> + <a href="DummyDataset.html" target="classFrame">DummyDataset</a> + </li> + <li> + <a href="DummyDatasetTest.html" target="classFrame">DummyDatasetTest</a> + </li> + <li> + <a href="DummyGraph.html" target="classFrame">DummyGraph</a> + </li> + <li> + <a href="DummyGraphTest.html" target="classFrame">DummyGraphTest</a> + </li> + <li> + <a href="DummyIRI.html" target="classFrame">DummyIRI</a> + </li> + <li> + <a href="DummyIRITest.html" target="classFrame">DummyIRITest</a> + </li> + <li> + <a href="DummyQuad.html" target="classFrame">DummyQuad</a> + </li> + <li> + <a href="DummyQuadTest.html" target="classFrame">DummyQuadTest</a> + </li> + <li> + <a href="DummyTriple.html" target="classFrame">DummyTriple</a> + </li> + <li> + <a href="DummyTripleTest.html" target="classFrame">DummyTripleTest</a> + </li> + <li> + <a href="RDFSyntaxTest.html" target="classFrame">RDFSyntaxTest</a> + </li> + </ul> + + </body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/package-summary.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/package-summary.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/org/apache/commons/rdf/api/package-summary.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,159 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Commons RDF 0.4.0-incubating-SNAPSHOT Reference Package org.apache.commons.rdf.api</title> + <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> + </head> + <body> + <div class="overview"> + <ul> + <li> + <a href="../../../../../overview-summary.html">Overview</a> + </li> + <li class="selected">Package</li> + </ul> + </div> + <div class="framenoframe"> + <ul> + <li> + <a href="../../../../../index.html" target="_top">FRAMES</a> + </li> + <li> + <a href="package-summary.html" target="_top">NO FRAMES</a> + </li> + </ul> + </div> + + <h2>Package org.apache.commons.rdf.api</h2> + + <table class="summary"> + <thead> + <tr> + <th>Class Summary</th> + </tr> + </thead> + <tbody> + <tr> + <td> + <a href="AbstractBlankNodeTest.html" target="classFrame">AbstractBlankNodeTest</a> + </td> + </tr> + <tr> + <td> + <a href="AbstractDatasetTest.html" target="classFrame">AbstractDatasetTest</a> + </td> + </tr> + <tr> + <td> + <a href="AbstractGraphTest.html" target="classFrame">AbstractGraphTest</a> + </td> + </tr> + <tr> + <td> + <a href="AbstractRDFTest.html" target="classFrame">AbstractRDFTest</a> + </td> + </tr> + <tr> + <td> + <a href="DefaultDatasetTest.html" target="classFrame">DefaultDatasetTest</a> + </td> + </tr> + <tr> + <td> + <a href="DefaultGraphTest.html" target="classFrame">DefaultGraphTest</a> + </td> + </tr> + <tr> + <td> + <a href="DefaultQuadTest.html" target="classFrame">DefaultQuadTest</a> + </td> + </tr> + <tr> + <td> + <a href="DefaultRDFTermFactoryTest.html" target="classFrame">DefaultRDFTermFactoryTest</a> + </td> + </tr> + <tr> + <td> + <a href="DummyDataset.html" target="classFrame">DummyDataset</a> + </td> + </tr> + <tr> + <td> + <a href="DummyDatasetTest.html" target="classFrame">DummyDatasetTest</a> + </td> + </tr> + <tr> + <td> + <a href="DummyGraph.html" target="classFrame">DummyGraph</a> + </td> + </tr> + <tr> + <td> + <a href="DummyGraphTest.html" target="classFrame">DummyGraphTest</a> + </td> + </tr> + <tr> + <td> + <a href="DummyIRI.html" target="classFrame">DummyIRI</a> + </td> + </tr> + <tr> + <td> + <a href="DummyIRITest.html" target="classFrame">DummyIRITest</a> + </td> + </tr> + <tr> + <td> + <a href="DummyQuad.html" target="classFrame">DummyQuad</a> + </td> + </tr> + <tr> + <td> + <a href="DummyQuadTest.html" target="classFrame">DummyQuadTest</a> + </td> + </tr> + <tr> + <td> + <a href="DummyTriple.html" target="classFrame">DummyTriple</a> + </td> + </tr> + <tr> + <td> + <a href="DummyTripleTest.html" target="classFrame">DummyTripleTest</a> + </td> + </tr> + <tr> + <td> + <a href="RDFSyntaxTest.html" target="classFrame">RDFSyntaxTest</a> + </td> + </tr> + </tbody> + </table> + + <div class="overview"> + <ul> + <li> + <a href="../../../../../overview-summary.html">Overview</a> + </li> + <li class="selected">Package</li> + </ul> + </div> + <div class="framenoframe"> + <ul> + <li> + <a href="../../../../../index.html" target="_top">FRAMES</a> + </li> + <li> + <a href="package-summary.html" target="_top">NO FRAMES</a> + </li> + </ul> + </div> + <hr /> + <div id="footer"> + Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/overview-frame.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/overview-frame.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/overview-frame.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,24 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Commons RDF 0.4.0-incubating-SNAPSHOT Reference</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + + <h3> + <a href="allclasses-frame.html" target="packageFrame">All Classes</a> + </h3> + + <h3>Packages</h3> + + <ul> + <li> + <a href="org/apache/commons/rdf/api/package-frame.html" target="packageFrame">org.apache.commons.rdf.api</a> + </li> + </ul> + + </body> +</html> Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/overview-summary.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/overview-summary.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/overview-summary.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,66 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Commons RDF 0.4.0-incubating-SNAPSHOT Reference</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + <div class="overview"> + <ul> + <li class="selected">Overview</li> + <li>Package</li> + </ul> + </div> + <div class="framenoframe"> + <ul> + <li> + <a href="index.html" target="_top">FRAMES</a> + </li> + <li> + <a href="overview-summary.html" target="_top">NO FRAMES</a> + </li> + </ul> + </div> + + <h2>Commons RDF 0.4.0-incubating-SNAPSHOT Reference</h2> + + <table class="summary"> + <thead> + <tr> + <th>Packages</th> + </tr> + </thead> + <tbody> + <tr> + <td> + <a href="org/apache/commons/rdf/api/package-summary.html">org.apache.commons.rdf.api</a> + </td> + </tr> + </tbody> + </table> + + <div class="overview"> + <ul> + <li class="selected">Overview</li> + <li>Package</li> + </ul> + </div> + <div class="framenoframe"> + <ul> + <li> + <a href="index.html" target="_top">FRAMES</a> + </li> + <li> + <a href="overview-summary.html" target="_top">NO FRAMES</a> + </li> + </ul> + </div> + + <hr /> + <div id="footer"> + Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref-test/stylesheet.css ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref-test/stylesheet.css (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref-test/stylesheet.css Thu Nov 17 14:45:34 2016 @@ -0,0 +1,114 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none; + margin:0; + padding:0; +} + +table td { + padding: 3px; + border: 1px solid #000; +} +table { + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th { + background-color:#036; + color: #fff; +} +table.summary td { + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} + +#overview { + padding:2px; +} + +hr { + height: 1px; + color: #000; +} + +/* JXR style sheet */ +.jxr_comment +{ + color: #390; +} + +.jxr_javadoccomment +{ + color: #A00; +} + +.jxr_string +{ + color: #009; +} + +.jxr_keyword +{ + color: #000; +} \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref/allclasses-frame.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref/allclasses-frame.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref/allclasses-frame.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,68 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>All Classes</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + + <h3>All Classes</h3> + + <ul> + <li> + <a href="org/apache/commons/rdf/api/BlankNode.html" target="classFrame">BlankNode</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/BlankNodeOrIRI.html" target="classFrame">BlankNodeOrIRI</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/Dataset.html" target="classFrame">Dataset</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/Graph.html" target="classFrame">Graph</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/GraphLike.html" target="classFrame">GraphLike</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/IRI.html" target="classFrame">IRI</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/Literal.html" target="classFrame">Literal</a> + </li> + <li> + <a href="org/apache/commons/rdf/experimental/RDFParser.html" target="classFrame">ParseResult</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/Quad.html" target="classFrame">Quad</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/QuadLike.html" target="classFrame">QuadLike</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/RDF.html" target="classFrame">RDF</a> + </li> + <li> + <a href="org/apache/commons/rdf/experimental/RDFParser.html" target="classFrame">RDFParser</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/RDFSyntax.html" target="classFrame">RDFSyntax</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/RDFTerm.html" target="classFrame">RDFTerm</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/RDFTermFactory.html" target="classFrame">RDFTermFactory</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/Triple.html" target="classFrame">Triple</a> + </li> + <li> + <a href="org/apache/commons/rdf/api/TripleLike.html" target="classFrame">TripleLike</a> + </li> + </ul> + + </body> + </html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref/index.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref/index.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref/index.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,24 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> +<html xml:lang="en" lang="en"> +<!-- this is a JXR report set --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Commons RDF 0.4.0-incubating-SNAPSHOT Reference</title> + </head> + <frameset cols="20%,80%"> + <frameset rows="30%,70%"> + <frame src="overview-frame.html" name="packageListFrame" /> + <frame src="allclasses-frame.html" name="packageFrame" /> + </frameset> + <frame src="overview-summary.html" name="classFrame" /> + <noframes> + <body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </body> + </noframes> + </frameset> +</html> Added: websites/production/commonsrdf/content/commons-rdf-parent/xref/org/apache/commons/rdf/api/BlankNode.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref/org/apache/commons/rdf/api/BlankNode.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref/org/apache/commons/rdf/api/BlankNode.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,133 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>BlankNode xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../apidocs/org/apache/commons/rdf/api/BlankNode.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.rdf.api; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> java.util.UUID; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <em class="jxr_javadoccomment"> * A <a href= "<a href="http://www.w3.org/TR/rdf11-concepts/" target="alexandria_uri">http://www.w3.org/TR/rdf11-concepts/</a>#dfn-blank-node" >RDF-1.1</em> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <em class="jxr_javadoccomment"> * Blank Node</a>, as defined by</em> +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <em class="jxr_javadoccomment"> * <a href= "<a href="http://www.w3.org/TR/rdf11-concepts/" target="alexandria_uri">http://www.w3.org/TR/rdf11-concepts/</a>#section-blank-nodes" >RDF-1.1</em> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <em class="jxr_javadoccomment"> * Concepts and Abstract Syntax</a>, a W3C Recommendation published on 25</em> +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <em class="jxr_javadoccomment"> * February 2014.<br></em> +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <em class="jxr_javadoccomment"> * Note: <blockquote></em> +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <em class="jxr_javadoccomment"> * <a href="<a href="http://www.w3.org/TR/rdf11-concepts/" target="alexandria_uri">http://www.w3.org/TR/rdf11-concepts/</a>#dfn-blank-node">Blank nodes</a></em> +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <em class="jxr_javadoccomment"> * are disjoint from IRIs and literals. Otherwise, the set of possible blank</em> +<a class="jxr_linenumber" name="L32" href="#L32">32</a> <em class="jxr_javadoccomment"> * nodes is arbitrary. RDF makes no reference to any internal structure of blank</em> +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <em class="jxr_javadoccomment"> * nodes. </blockquote></em> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <em class="jxr_javadoccomment"> * Also note that: <blockquote> <a href=</em> +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <em class="jxr_javadoccomment"> * "<a href="http://www.w3.org/TR/rdf11-concepts/" target="alexandria_uri">http://www.w3.org/TR/rdf11-concepts/</a>#dfn-blank-node-identifier">Blank node</em> +<a class="jxr_linenumber" name="L37" href="#L37">37</a> <em class="jxr_javadoccomment"> * identifiers</a> are local identifiers that are used in some concrete RDF</em> +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <em class="jxr_javadoccomment"> * syntaxes or RDF store implementations. They are always <em>locally</em> +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <em class="jxr_javadoccomment"> * scoped</em> to the file or RDF store, and are <em>not</em> persistent or</em> +<a class="jxr_linenumber" name="L40" href="#L40">40</a> <em class="jxr_javadoccomment"> * portable identifiers for blank nodes. Blank node identifiers are <em>not</em></em> +<a class="jxr_linenumber" name="L41" href="#L41">41</a> <em class="jxr_javadoccomment"> * part of the RDF abstract syntax, but are entirely dependent on the concrete</em> +<a class="jxr_linenumber" name="L42" href="#L42">42</a> <em class="jxr_javadoccomment"> * syntax or implementation. The syntactic restrictions on blank node</em> +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <em class="jxr_javadoccomment"> * identifiers, if any, therefore also depend on the concrete RDF syntax or</em> +<a class="jxr_linenumber" name="L44" href="#L44">44</a> <em class="jxr_javadoccomment"> * implementation.</em> +<a class="jxr_linenumber" name="L45" href="#L45">45</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L46" href="#L46">46</a> <em class="jxr_javadoccomment"> * Implementations that handle blank node identifiers in concrete syntaxes need</em> +<a class="jxr_linenumber" name="L47" href="#L47">47</a> <em class="jxr_javadoccomment"> * to be careful not to create the same blank node from multiple occurrences of</em> +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <em class="jxr_javadoccomment"> * the same blank node identifier except in situations where this is supported</em> +<a class="jxr_linenumber" name="L49" href="#L49">49</a> <em class="jxr_javadoccomment"> * by the syntax. </blockquote></em> +<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L51" href="#L51">51</a> <em class="jxr_javadoccomment"> * A BlankNode SHOULD contain a {@link UUID}-derived string as part of its</em> +<a class="jxr_linenumber" name="L52" href="#L52">52</a> <em class="jxr_javadoccomment"> * universally unique {@link #uniqueReference()}.</em> +<a class="jxr_linenumber" name="L53" href="#L53">53</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L54" href="#L54">54</a> <em class="jxr_javadoccomment"> * @see RDF#createBlankNode()</em> +<a class="jxr_linenumber" name="L55" href="#L55">55</a> <em class="jxr_javadoccomment"> * @see RDF#createBlankNode(String)</em> +<a class="jxr_linenumber" name="L56" href="#L56">56</a> <em class="jxr_javadoccomment"> * @see <a href="<a href="http://www.w3.org/TR/rdf11-concepts/" target="alexandria_uri">http://www.w3.org/TR/rdf11-concepts/</a>#dfn-blank-node">RDF-1.1</em> +<a class="jxr_linenumber" name="L57" href="#L57">57</a> <em class="jxr_javadoccomment"> * Blank Node</a></em> +<a class="jxr_linenumber" name="L58" href="#L58">58</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../../org/apache/commons/rdf/api/BlankNode.html">BlankNode</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/commons/rdf/api/BlankNodeOrIRI.html">BlankNodeOrIRI</a> { +<a class="jxr_linenumber" name="L60" href="#L60">60</a> +<a class="jxr_linenumber" name="L61" href="#L61">61</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L62" href="#L62">62</a> <em class="jxr_javadoccomment"> * Return a reference for uniquely identifying the blank node.</em> +<a class="jxr_linenumber" name="L63" href="#L63">63</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L64" href="#L64">64</a> <em class="jxr_javadoccomment"> * The reference string MUST universally and uniquely identify this blank</em> +<a class="jxr_linenumber" name="L65" href="#L65">65</a> <em class="jxr_javadoccomment"> * node. That is, different blank nodes created separately in different JVMs</em> +<a class="jxr_linenumber" name="L66" href="#L66">66</a> <em class="jxr_javadoccomment"> * or from different {@link RDF} instances MUST NOT have the same reference</em> +<a class="jxr_linenumber" name="L67" href="#L67">67</a> <em class="jxr_javadoccomment"> * string.</em> +<a class="jxr_linenumber" name="L68" href="#L68">68</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L69" href="#L69">69</a> <em class="jxr_javadoccomment"> * The {@link #uniqueReference()} of two <code>BlankNode</code> instances</em> +<a class="jxr_linenumber" name="L70" href="#L70">70</a> <em class="jxr_javadoccomment"> * MUST be equal if and only if the two blank nodes are equal according to</em> +<a class="jxr_linenumber" name="L71" href="#L71">71</a> <em class="jxr_javadoccomment"> * {@link #equals(Object)}.</em> +<a class="jxr_linenumber" name="L72" href="#L72">72</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L73" href="#L73">73</a> <em class="jxr_javadoccomment"> * Clients should not assume any particular structure of the reference</em> +<a class="jxr_linenumber" name="L74" href="#L74">74</a> <em class="jxr_javadoccomment"> * string, however it is recommended that the reference string contain a</em> +<a class="jxr_linenumber" name="L75" href="#L75">75</a> <em class="jxr_javadoccomment"> * UUID-derived string, e.g. as returned from {@link UUID#toString()}.</em> +<a class="jxr_linenumber" name="L76" href="#L76">76</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L77" href="#L77">77</a> <em class="jxr_javadoccomment"> * <strong>IMPORTANT:</strong> This is not a</em> +<a class="jxr_linenumber" name="L78" href="#L78">78</a> <em class="jxr_javadoccomment"> * <a href="<a href="http://www.w3.org/TR/rdf11-concepts/" target="alexandria_uri">http://www.w3.org/TR/rdf11-concepts/</a>#dfn-blank-node-identifier"></em> +<a class="jxr_linenumber" name="L79" href="#L79">79</a> <em class="jxr_javadoccomment"> * blank node identifier</a> nor a serialization/syntax label, and there are</em> +<a class="jxr_linenumber" name="L80" href="#L80">80</a> <em class="jxr_javadoccomment"> * no guarantees that it is a valid identifier in any concrete RDF syntax.</em> +<a class="jxr_linenumber" name="L81" href="#L81">81</a> <em class="jxr_javadoccomment"> * For an N-Triples compatible identifier, use {@link #ntriplesString()}.</em> +<a class="jxr_linenumber" name="L82" href="#L82">82</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L83" href="#L83">83</a> <em class="jxr_javadoccomment"> * @return A universally unique reference to identify this {@link BlankNode}</em> +<a class="jxr_linenumber" name="L84" href="#L84">84</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L85" href="#L85">85</a> String uniqueReference(); +<a class="jxr_linenumber" name="L86" href="#L86">86</a> +<a class="jxr_linenumber" name="L87" href="#L87">87</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L88" href="#L88">88</a> <em class="jxr_javadoccomment"> * Check it this BlankNode is equal to another BlankNode. Two BlankNodes</em> +<a class="jxr_linenumber" name="L89" href="#L89">89</a> <em class="jxr_javadoccomment"> * MUST be equal if, and only if, they have the same</em> +<a class="jxr_linenumber" name="L90" href="#L90">90</a> <em class="jxr_javadoccomment"> * {@link #uniqueReference()}.</em> +<a class="jxr_linenumber" name="L91" href="#L91">91</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L92" href="#L92">92</a> <em class="jxr_javadoccomment"> * Implementations MUST also override {@link #hashCode()} so that two equal</em> +<a class="jxr_linenumber" name="L93" href="#L93">93</a> <em class="jxr_javadoccomment"> * Literals produce the same hash code.</em> +<a class="jxr_linenumber" name="L94" href="#L94">94</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L95" href="#L95">95</a> <em class="jxr_javadoccomment"> * @param other</em> +<a class="jxr_linenumber" name="L96" href="#L96">96</a> <em class="jxr_javadoccomment"> * Another object</em> +<a class="jxr_linenumber" name="L97" href="#L97">97</a> <em class="jxr_javadoccomment"> * @return true if other is a BlankNode instance that represent the same</em> +<a class="jxr_linenumber" name="L98" href="#L98">98</a> <em class="jxr_javadoccomment"> * blank node</em> +<a class="jxr_linenumber" name="L99" href="#L99">99</a> <em class="jxr_javadoccomment"> * @see Object#equals(Object)</em> +<a class="jxr_linenumber" name="L100" href="#L100">100</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L101" href="#L101">101</a> @Override +<a class="jxr_linenumber" name="L102" href="#L102">102</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> equals(Object other); +<a class="jxr_linenumber" name="L103" href="#L103">103</a> +<a class="jxr_linenumber" name="L104" href="#L104">104</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L105" href="#L105">105</a> <em class="jxr_javadoccomment"> * Calculate a hash code for this BlankNode.</em> +<a class="jxr_linenumber" name="L106" href="#L106">106</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L107" href="#L107">107</a> <em class="jxr_javadoccomment"> * The returned hash code MUST be equal to the {@link String#hashCode()} of</em> +<a class="jxr_linenumber" name="L108" href="#L108">108</a> <em class="jxr_javadoccomment"> * the {@link #uniqueReference()}.</em> +<a class="jxr_linenumber" name="L109" href="#L109">109</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L110" href="#L110">110</a> <em class="jxr_javadoccomment"> * This method MUST be implemented in conjunction with</em> +<a class="jxr_linenumber" name="L111" href="#L111">111</a> <em class="jxr_javadoccomment"> * {@link #equals(Object)} so that two equal BlankNodes produce the same</em> +<a class="jxr_linenumber" name="L112" href="#L112">112</a> <em class="jxr_javadoccomment"> * hash code.</em> +<a class="jxr_linenumber" name="L113" href="#L113">113</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L114" href="#L114">114</a> <em class="jxr_javadoccomment"> * @return a hash code value for this BlankNode.</em> +<a class="jxr_linenumber" name="L115" href="#L115">115</a> <em class="jxr_javadoccomment"> * @see Object#hashCode()</em> +<a class="jxr_linenumber" name="L116" href="#L116">116</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L117" href="#L117">117</a> @Override +<a class="jxr_linenumber" name="L118" href="#L118">118</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> hashCode(); +<a class="jxr_linenumber" name="L119" href="#L119">119</a> +<a class="jxr_linenumber" name="L120" href="#L120">120</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Added: websites/production/commonsrdf/content/commons-rdf-parent/xref/org/apache/commons/rdf/api/BlankNodeOrIRI.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/xref/org/apache/commons/rdf/api/BlankNodeOrIRI.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/xref/org/apache/commons/rdf/api/BlankNodeOrIRI.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>BlankNodeOrIRI xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../apidocs/org/apache/commons/rdf/api/BlankNodeOrIRI.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.rdf.api; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <em class="jxr_javadoccomment"> * This interface represents the {@link RDFTerm}s that may be used in the</em> +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <em class="jxr_javadoccomment"> * subject position of an RDF-1.1 {@link Triple} as well as the graph name</em> +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <em class="jxr_javadoccomment"> * position of a {@link Quad}.</em> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <em class="jxr_javadoccomment"> * Instances of BlankNodeOrIRI SHOULD be a {@link BlankNode} or an {@link IRI}.</em> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../../org/apache/commons/rdf/api/BlankNodeOrIRI.html">BlankNodeOrIRI</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/commons/rdf/api/RDFTerm.html">RDFTerm</a> { +<a class="jxr_linenumber" name="L28" href="#L28">28</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file