Modified: 
websites/production/commonsrdf/content/xref/org/apache/commons/rdf/rdf4j/impl/AbstractRepositoryGraphLike.html
==============================================================================
--- 
websites/production/commonsrdf/content/xref/org/apache/commons/rdf/rdf4j/impl/AbstractRepositoryGraphLike.html
 (original)
+++ 
websites/production/commonsrdf/content/xref/org/apache/commons/rdf/rdf4j/impl/AbstractRepositoryGraphLike.html
 Fri Oct 14 12:48:01 2016
@@ -28,63 +28,60 @@
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong 
class="jxr_keyword">import</strong> java.util.Optional;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong 
class="jxr_keyword">import</strong> java.util.UUID;
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.api.BlankNodeOrIRI;
-<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.api.IRI;
-<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.api.RDFTerm;
-<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.api.TripleLike;
-<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.rdf4j.RDF4JGraphLike;
-<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.commons.rdf.rdf4j.RDF4JTermFactory;
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong 
class="jxr_keyword">import</strong> org.eclipse.rdf4j.model.Model;
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong 
class="jxr_keyword">import</strong> org.eclipse.rdf4j.model.Statement;
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong 
class="jxr_keyword">import</strong> org.eclipse.rdf4j.repository.Repository;
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong 
class="jxr_keyword">import</strong> 
org.eclipse.rdf4j.repository.RepositoryConnection;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.api.TripleLike;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong 
class="jxr_keyword">import</strong> org.apache.commons.rdf.rdf4j.RDF4JGraphLike;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.commons.rdf.rdf4j.RDF4JTermFactory;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong 
class="jxr_keyword">import</strong> org.eclipse.rdf4j.model.Model;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong 
class="jxr_keyword">import</strong> org.eclipse.rdf4j.model.Statement;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong 
class="jxr_keyword">import</strong> org.eclipse.rdf4j.repository.Repository;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong 
class="jxr_keyword">import</strong> 
org.eclipse.rdf4j.repository.RepositoryConnection;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong 
class="jxr_keyword">abstract</strong> <strong 
class="jxr_keyword">class</strong> AbstractRepositoryGraphLike&lt;T <strong 
class="jxr_keyword">extends</strong> TripleLike&gt;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>                <strong 
class="jxr_keyword">implements</strong> RDF4JGraphLike&lt;T&gt; {
 <a class="jxr_linenumber" name="L33" href="#L33">33</a>  
-<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong 
class="jxr_keyword">abstract</strong> <strong 
class="jxr_keyword">class</strong> AbstractRepositoryGraphLike&lt;T <strong 
class="jxr_keyword">extends</strong> TripleLike&lt;BlankNodeOrIRI, IRI, 
RDFTerm&gt;&gt;
-<a class="jxr_linenumber" name="L35" href="#L35">35</a>                <strong 
class="jxr_keyword">implements</strong> RDF4JGraphLike&lt;T&gt; {
-<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
-<a class="jxr_linenumber" name="L37" href="#L37">37</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> Repository repository;
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> 
includeInferred;
-<a class="jxr_linenumber" name="L39" href="#L39">39</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> 
handleInitAndShutdown;
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> <a 
href="../../../../../../org/apache/commons/rdf/rdf4j/RDF4JTermFactory.html">RDF4JTermFactory</a>
 rdf4jTermFactory;
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> UUID salt;
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>  
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>        
AbstractRepositoryGraphLike(Repository repository, UUID salt, <strong 
class="jxr_keyword">boolean</strong> handleInitAndShutdown, <strong 
class="jxr_keyword">boolean</strong> includeInferred) {
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>                <strong 
class="jxr_keyword">this</strong>.repository = repository;
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>                <strong 
class="jxr_keyword">this</strong>.salt = salt;
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>                <strong 
class="jxr_keyword">this</strong>.includeInferred = includeInferred;
-<a class="jxr_linenumber" name="L47" href="#L47">47</a>                <strong 
class="jxr_keyword">this</strong>.handleInitAndShutdown = handleInitAndShutdown;
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>                <strong 
class="jxr_keyword">if</strong> (handleInitAndShutdown &amp;&amp; 
!repository.isInitialized()) {
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>                        
repository.initialize();
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>                }
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>                
rdf4jTermFactory = <strong class="jxr_keyword">new</strong> <a 
href="../../../../../../org/apache/commons/rdf/rdf4j/RDF4JTermFactory.html">RDF4JTermFactory</a>(repository.getValueFactory(),
 salt);
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>        }       
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>        
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>        @Override
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>        <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
close() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>                <strong 
class="jxr_keyword">if</strong> (handleInitAndShutdown) {
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>                        
repository.shutDown();
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>                }
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>                <em 
class="jxr_comment">// else: repository was initialized outside, so we should 
not shut it</em>
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>                <em 
class="jxr_comment">// down</em>
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>        }
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> Repository repository;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> 
includeInferred;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> 
handleInitAndShutdown;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> <a 
href="../../../../../../org/apache/commons/rdf/rdf4j/RDF4JTermFactory.html">RDF4JTermFactory</a>
 rdf4jTermFactory;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">final</strong> UUID salt;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>        
AbstractRepositoryGraphLike(Repository repository, UUID salt, <strong 
class="jxr_keyword">boolean</strong> handleInitAndShutdown, <strong 
class="jxr_keyword">boolean</strong> includeInferred) {
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>                <strong 
class="jxr_keyword">this</strong>.repository = repository;
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>                <strong 
class="jxr_keyword">this</strong>.salt = salt;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>                <strong 
class="jxr_keyword">this</strong>.includeInferred = includeInferred;
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>                <strong 
class="jxr_keyword">this</strong>.handleInitAndShutdown = handleInitAndShutdown;
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>                <strong 
class="jxr_keyword">if</strong> (handleInitAndShutdown &amp;&amp; 
!repository.isInitialized()) {
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>                        
repository.initialize();
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>                }
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>                
rdf4jTermFactory = <strong class="jxr_keyword">new</strong> <a 
href="../../../../../../org/apache/commons/rdf/rdf4j/RDF4JTermFactory.html">RDF4JTermFactory</a>(repository.getValueFactory(),
 salt);
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>        }       
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>        
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>        @Override
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>        <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
close() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>                <strong 
class="jxr_keyword">if</strong> (handleInitAndShutdown) {
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>                        
repository.shutDown();
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>                }
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>                <em 
class="jxr_comment">// else: repository was initialized outside, so we should 
not shut it</em>
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>                <em 
class="jxr_comment">// down</em>
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>        }
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>  
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>        
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">abstract</strong> T asTripleLike(Statement s);
 <a class="jxr_linenumber" name="L62" href="#L62">62</a>  
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>        
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>        <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">abstract</strong> T asTripleLike(Statement s);
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>  
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>        <strong 
class="jxr_keyword">protected</strong> RepositoryConnection 
getRepositoryConnection() {
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>                <strong 
class="jxr_keyword">return</strong> repository.getConnection();
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>        }
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>  
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>        <strong 
class="jxr_keyword">public</strong> Optional&lt;Repository&gt; asRepository() {
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>                <strong 
class="jxr_keyword">return</strong> Optional.of(repository);
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>        }
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>  
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>        @Override
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>        <strong 
class="jxr_keyword">public</strong> Optional&lt;Model&gt; asModel() {
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>                <strong 
class="jxr_keyword">return</strong> Optional.empty();
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>        }
-<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="L63" href="#L63">63</a>        <strong 
class="jxr_keyword">protected</strong> RepositoryConnection 
getRepositoryConnection() {
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>                <strong 
class="jxr_keyword">return</strong> repository.getConnection();
+<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>        <strong 
class="jxr_keyword">public</strong> Optional&lt;Repository&gt; asRepository() {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>                <strong 
class="jxr_keyword">return</strong> Optional.of(repository);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>        }
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>  
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>        @Override
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>        <strong 
class="jxr_keyword">public</strong> Optional&lt;Model&gt; asModel() {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>                <strong 
class="jxr_keyword">return</strong> Optional.empty();
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>        }
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>  
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>  }
 </pre>
 <hr/>
 <div id="footer">Copyright &#169; 2015&#x2013;2016 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</div>


Reply via email to