Added: websites/production/commonsrdf/content/commons-rdf-parent/apidocs/org/apache/commons/rdf/experimental/RDFParser.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/apidocs/org/apache/commons/rdf/experimental/RDFParser.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/apidocs/org/apache/commons/rdf/experimental/RDFParser.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,834 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RDFParser (Commons RDF 0.4.0-incubating-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RDFParser (Commons RDF 0.4.0-incubating-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":18,"i12":18}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RDFParser.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/commons/rdf/experimental/RDFParser.html" target="_top">Frames</a></li> +<li><a href="RDFParser.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.class.summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.commons.rdf.experimental</div> +<h2 title="Interface RDFParser" class="title">Interface RDFParser</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.85">RDFParser</a></pre> +<div class="block">Parse an RDF source into a target (e.g. a Graph/Dataset). + <h2>Experimental</h2> This interface (and its implementations) should be + considered <strong>at risk</strong>; they might change or be removed in the + next minor update of Commons RDF. It may move to the the + <a href="../../../../../org/apache/commons/rdf/api/package-summary.html"><code>org.apache.commons.rdf.api</code></a> package when it has stabilized. + <h2>Description</h2> + <p> + This interface follows the + <a href="https://en.wikipedia.org/wiki/Builder_pattern">Builder pattern</a>, + allowing to set parser settings like <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> and + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a>. A caller MUST call one of the <code>source</code> methods + (e.g. <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-"><code>source(Path)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.io.InputStream-"><code>source(InputStream)</code></a>), and MUST call one of the <code>target</code> + methods (e.g. <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Dataset-"><code>target(Dataset)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a>) before calling <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> on the returned + RDFParser - however methods can be called in any order. + <p> + The call to <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> returns a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent"><code>Future</code></a>, allowing asynchronous + parse operations. Callers are recommended to check <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get--" title="class or interface in java.util.concurrent"><code>Future.get()</code></a> to + ensure parsing completed successfully, or catch exceptions thrown during + parsing. + <p> + Setting a method that has already been set will override any existing value + in the returned builder - regardless of the parameter type (e.g. + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a> will override a previous <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-"><code>source(Path)</code></a>. Settings + can be unset by passing <code>null</code> - note that this may require + casting, e.g. <code>contentType( (RDFSyntax) null )</code> to undo a previous + call to <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a>. + <p> + It is undefined if a RDFParser is mutable or thread-safe, so callers should + always use the returned modified RDFParser from the builder methods. The + builder may return itself after modification, or a cloned builder with the + modified settings applied. Implementations are however encouraged to be + immutable, thread-safe and document this. As an example starting point, see + <code>org.apache.commons.rdf.simple.AbstractRDFParser</code>. + <p> + Example usage: + </p> + + <pre> + Graph g1 = rDFTermFactory.createGraph(); + new ExampleRDFParserBuilder().source(Paths.get("/tmp/graph.ttl")).contentType(RDFSyntax.TURTLE).target(g1).parse() + .get(30, TimeUnit.Seconds); + </pre></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Interface and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static interface </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a></span></code> +<div class="block">The result of <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> indicating parsing completed.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-">base</a></span>(<a href="../../../../../org/apache/commons/rdf/api/IRI.html" title="interface in org.apache.commons.rdf.api">IRI</a> base)</code> +<div class="block">Specify a base IRI to use for parsing any relative IRI references.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-">base</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> base)</code> +<div class="block">Specify a base IRI to use for parsing any relative IRI references.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-">contentType</a></span>(<a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html" title="enum in org.apache.commons.rdf.api">RDFSyntax</a> rdfSyntax)</code> +<div class="block">Specify the content type of the RDF syntax to parse.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-">contentType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType)</code> +<div class="block">Specify the content type of the RDF syntax to parse.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a><? extends <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--">parse</a></span>()</code> +<div class="block">Parse the specified source.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#rdfTermFactory-org.apache.commons.rdf.api.RDF-">rdfTermFactory</a></span>(<a href="../../../../../org/apache/commons/rdf/api/RDF.html" title="interface in org.apache.commons.rdf.api">RDF</a> rdfTermFactory)</code> +<div class="block">Specify which <a href="../../../../../org/apache/commons/rdf/api/RDF.html" title="interface in org.apache.commons.rdf.api"><code>RDF</code></a> to use for generating <a href="../../../../../org/apache/commons/rdf/api/RDFTerm.html" title="interface in org.apache.commons.rdf.api"><code>RDFTerm</code></a>s.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.io.InputStream-">source</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inputStream)</code> +<div class="block">Specify a source <a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> to parse.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-">source</a></span>(<a href="../../../../../org/apache/commons/rdf/api/IRI.html" title="interface in org.apache.commons.rdf.api">IRI</a> iri)</code> +<div class="block">Specify an absolute source <a href="../../../../../org/apache/commons/rdf/api/IRI.html" title="interface in org.apache.commons.rdf.api"><code>IRI</code></a> to retrieve and parse.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-">source</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a> file)</code> +<div class="block">Specify a source file <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to parse.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.lang.String-">source</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> iri)</code> +<div class="block">Specify an absolute source IRI to retrieve and parse.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-">target</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../../org/apache/commons/rdf/api/Quad.html" title="interface in org.apache.commons.rdf.api">Quad</a>> consumer)</code> +<div class="block">Specify a consumer for parsed quads.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>default <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Dataset-">target</a></span>(<a href="../../../../../org/apache/commons/rdf/api/Dataset.html" title="interface in org.apache.commons.rdf.api">Dataset</a> dataset)</code> +<div class="block">Specify a <a href="../../../../../org/apache/commons/rdf/api/Dataset.html" title="interface in org.apache.commons.rdf.api"><code>Dataset</code></a> to add parsed quads to.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>default <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-">target</a></span>(<a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api">Graph</a> graph)</code> +<div class="block">Specify a <a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api"><code>Graph</code></a> to add parsed triples to.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="rdfTermFactory-org.apache.commons.rdf.api.RDF-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>rdfTermFactory</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.113">rdfTermFactory</a>(<a href="../../../../../org/apache/commons/rdf/api/RDF.html" title="interface in org.apache.commons.rdf.api">RDF</a> rdfTermFactory)</pre> +<div class="block">Specify which <a href="../../../../../org/apache/commons/rdf/api/RDF.html" title="interface in org.apache.commons.rdf.api"><code>RDF</code></a> to use for generating <a href="../../../../../org/apache/commons/rdf/api/RDFTerm.html" title="interface in org.apache.commons.rdf.api"><code>RDFTerm</code></a>s. + <p> + This option may be used together with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a> to override + the implementation's default factory and graph. + <p> + <strong>Warning:</strong> Using the same <a href="../../../../../org/apache/commons/rdf/api/RDF.html" title="interface in org.apache.commons.rdf.api"><code>RDF</code></a> for multiple + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> calls may accidentally merge <a href="../../../../../org/apache/commons/rdf/api/BlankNode.html" title="interface in org.apache.commons.rdf.api"><code>BlankNode</code></a>s having + the same label, as the parser may use the + <a href="../../../../../org/apache/commons/rdf/api/RDF.html#createBlankNode-java.lang.String-"><code>RDF.createBlankNode(String)</code></a> method from the parsed blank node + labels.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>rdfTermFactory</code> - <a href="../../../../../org/apache/commons/rdf/api/RDF.html" title="interface in org.apache.commons.rdf.api"><code>RDF</code></a> to use for generating RDFTerms.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified rdfTermFactory</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a></dd> +</dl> +</li> +</ul> +<a name="contentType-org.apache.commons.rdf.api.RDFSyntax-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>contentType</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.137">contentType</a>(<a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html" title="enum in org.apache.commons.rdf.api">RDFSyntax</a> rdfSyntax) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> +<div class="block">Specify the content type of the RDF syntax to parse. + <p> + This option can be used to select the RDFSyntax of the source, overriding + any <code>Content-Type</code> headers or equivalent. + <p> + The character set of the RDFSyntax is assumed to be + <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/StandardCharsets.html?is-external=true#UTF_8" title="class or interface in java.nio.charset"><code>StandardCharsets.UTF_8</code></a> unless overridden within the document + (e.g. <code><?xml version="1.0" encoding="iso-8859-1"?></code> in + <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html#RDFXML"><code>RDFSyntax.RDFXML</code></a>). + <p> + This method will override any contentType set with + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>rdfSyntax</code> - An <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html" title="enum in org.apache.commons.rdf.api"><code>RDFSyntax</code></a> to parse the source according to, e.g. + <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html#TURTLE"><code>RDFSyntax.TURTLE</code></a>.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified content type.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If this RDFParser does not support the specified RDFSyntax.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a></dd> +</dl> +</li> +</ul> +<a name="contentType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>contentType</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.163">contentType</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contentType) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> +<div class="block">Specify the content type of the RDF syntax to parse. + <p> + This option can be used to select the RDFSyntax of the source, overriding + any <code>Content-Type</code> headers or equivalent. + <p> + The content type MAY include a <code>charset</code> parameter if the RDF + media types permit it; the default charset is + <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/StandardCharsets.html?is-external=true#UTF_8" title="class or interface in java.nio.charset"><code>StandardCharsets.UTF_8</code></a> unless overridden within the document. + <p> + This method will override any contentType set with + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>contentType</code> - A content-type string, e.g. <code>application/ld+json</code> + or <code>text/turtle;charset="UTF-8"</code> as specified by + <a href="https://tools.ietf.org/html/rfc7231#section-3.1.1.1"> + RFC7231</a>.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified content type.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If the contentType has an invalid syntax, or this RDFParser + does not support the specified contentType.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a></dd> +</dl> +</li> +</ul> +<a name="target-org.apache.commons.rdf.api.Graph-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>target</h4> +<pre>default <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.192">target</a>(<a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api">Graph</a> graph)</pre> +<div class="block">Specify a <a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api"><code>Graph</code></a> to add parsed triples to. + <p> + If the source supports datasets (e.g. the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> + set has <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html#supportsDataset"><code>RDFSyntax.supportsDataset</code></a> is true)), then only quads in + the <em>default graph</em> will be added to the Graph as <a href="../../../../../org/apache/commons/rdf/api/Triple.html" title="interface in org.apache.commons.rdf.api"><code>Triple</code></a>s. + <p> + It is undefined if any triples are added to the specified <a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api"><code>Graph</code></a> + if <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> throws any exceptions. (However implementations are + free to prevent this using transaction mechanisms or similar). If + <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get--" title="class or interface in java.util.concurrent"><code>Future.get()</code></a> does not indicate an exception, the parser + implementation SHOULD have inserted all parsed triples to the specified + graph. + <p> + Calling this method will override any earlier targets set with + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a> or + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Dataset-"><code>target(Dataset)</code></a>. + <p> + The default implementation of this method calls <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a> + with a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function"><code>Consumer</code></a> that does <a href="../../../../../org/apache/commons/rdf/api/Graph.html#add-org.apache.commons.rdf.api.Triple-"><code>Graph.add(Triple)</code></a> with + <a href="../../../../../org/apache/commons/rdf/api/Quad.html#asTriple--"><code>Quad.asTriple()</code></a> if the quad is in the default graph.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>graph</code> - The <a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api"><code>Graph</code></a> to add triples to.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will insert triples into the specified + graph.</dd> +</dl> +</li> +</ul> +<a name="target-org.apache.commons.rdf.api.Dataset-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>target</h4> +<pre>default <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.222">target</a>(<a href="../../../../../org/apache/commons/rdf/api/Dataset.html" title="interface in org.apache.commons.rdf.api">Dataset</a> dataset)</pre> +<div class="block">Specify a <a href="../../../../../org/apache/commons/rdf/api/Dataset.html" title="interface in org.apache.commons.rdf.api"><code>Dataset</code></a> to add parsed quads to. + <p> + It is undefined if any quads are added to the specified <a href="../../../../../org/apache/commons/rdf/api/Dataset.html" title="interface in org.apache.commons.rdf.api"><code>Dataset</code></a> + if <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> throws any exceptions. (However implementations are + free to prevent this using transaction mechanisms or similar). On the + other hand, if <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> does not indicate an exception, the + implementation SHOULD have inserted all parsed quads to the specified + dataset. + <p> + Calling this method will override any earlier targets set with + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a> or + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Dataset-"><code>target(Dataset)</code></a>. + <p> + The default implementation of this method calls <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a> + with a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function"><code>Consumer</code></a> that does <a href="../../../../../org/apache/commons/rdf/api/Dataset.html#add-org.apache.commons.rdf.api.Quad-"><code>Dataset.add(Quad)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>dataset</code> - The <a href="../../../../../org/apache/commons/rdf/api/Dataset.html" title="interface in org.apache.commons.rdf.api"><code>Dataset</code></a> to add quads to.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will insert triples into the specified + dataset.</dd> +</dl> +</li> +</ul> +<a name="target-java.util.function.Consumer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>target</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.262">target</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<a href="../../../../../org/apache/commons/rdf/api/Quad.html" title="interface in org.apache.commons.rdf.api">Quad</a>> consumer)</pre> +<div class="block">Specify a consumer for parsed quads. + <p> + The quads will include triples in all named graphs of the parsed source, + including any triples in the default graph. When parsing a source format + which do not support datasets, all quads delivered to the consumer will + be in the default graph (e.g. their <a href="../../../../../org/apache/commons/rdf/api/Quad.html#getGraphName--"><code>Quad.getGraphName()</code></a> will be + as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty--" title="class or interface in java.util"><code>Optional.empty()</code></a>), while for a source + <p> + It is undefined if any quads are consumed if <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> throws any + exceptions. On the other hand, if <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> does not indicate an + exception, the implementation SHOULD have produced all parsed quads to + the specified consumer. + <p> + Calling this method will override any earlier targets set with + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a> or + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Dataset-"><code>target(Dataset)</code></a>. + <p> + The consumer is not assumed to be thread safe - only one + <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true#accept-T-" title="class or interface in java.util.function"><code>Consumer.accept(Object)</code></a> is delivered at a time for a given + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> call. + <p> + This method is typically called with a functional consumer, for example: + + <pre> + <code> + List<Quad> quads = new ArrayList<Quad>; + parserBuilder.target(quads::add).parse(); + </code> + </pre></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>consumer</code> - A <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function"><code>Consumer</code></a> of <a href="../../../../../org/apache/commons/rdf/api/Quad.html" title="interface in org.apache.commons.rdf.api"><code>Quad</code></a>s</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will call the consumer for into the + specified dataset.</dd> +</dl> +</li> +</ul> +<a name="base-org.apache.commons.rdf.api.IRI-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>base</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.283">base</a>(<a href="../../../../../org/apache/commons/rdf/api/IRI.html" title="interface in org.apache.commons.rdf.api">IRI</a> base)</pre> +<div class="block">Specify a base IRI to use for parsing any relative IRI references. + <p> + Setting this option will override any protocol-specific base IRI (e.g. + <code>Content-Location</code> header) or the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a> IRI, + but does not override any base IRIs set within the source document (e.g. + <code>@base</code> in Turtle documents). + <p> + If the source is in a syntax that does not support relative IRI + references (e.g. <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html#NTRIPLES"><code>RDFSyntax.NTRIPLES</code></a>), setting the + <code>base</code> has no effect. + <p> + This method will override any base IRI set with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-"><code>base(String)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>base</code> - An absolute IRI to use as a base.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified base IRI.</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-"><code>base(String)</code></a></dd> +</dl> +</li> +</ul> +<a name="base-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>base</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.306">base</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> base) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> +<div class="block">Specify a base IRI to use for parsing any relative IRI references. + <p> + Setting this option will override any protocol-specific base IRI (e.g. + <code>Content-Location</code> header) or the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a> IRI, + but does not override any base IRIs set within the source document (e.g. + <code>@base</code> in Turtle documents). + <p> + If the source is in a syntax that does not support relative IRI + references (e.g. <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html#NTRIPLES"><code>RDFSyntax.NTRIPLES</code></a>), setting the + <code>base</code> has no effect. + <p> + This method will override any base IRI set with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>base</code> - An absolute IRI to use as a base.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified base IRI.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If the base is not a valid absolute IRI string</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a></dd> +</dl> +</li> +</ul> +<a name="source-java.io.InputStream-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>source</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.339">source</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inputStream)</pre> +<div class="block">Specify a source <a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> to parse. + <p> + The source set will not be read before the call to <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>. + <p> + The InputStream will not be closed after parsing. The InputStream does + not need to support <a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true#markSupported--" title="class or interface in java.io"><code>InputStream.markSupported()</code></a>. + <p> + The parser might not consume the complete stream (e.g. an RDF/XML parser + may not read beyond the closing tag of + <code></rdf:Description></code>). + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a> + SHOULD be set before calling <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>. + <p> + The character set is assumed to be <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/StandardCharsets.html?is-external=true#UTF_8" title="class or interface in java.nio.charset"><code>StandardCharsets.UTF_8</code></a> unless + the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a> specifies otherwise or the document + declares its own charset (e.g. RDF/XML with a + <code><?xml encoding="iso-8859-1"></code> header). + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-"><code>base(String)</code></a> MUST be set before + calling <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>, unless the RDF syntax does not permit relative + IRIs (e.g. <a href="../../../../../org/apache/commons/rdf/api/RDFSyntax.html#NTRIPLES"><code>RDFSyntax.NTRIPLES</code></a>). + <p> + This method will override any source set with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-"><code>source(Path)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.lang.String-"><code>source(String)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>inputStream</code> - An InputStream to consume</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified source.</dd> +</dl> +</li> +</ul> +<a name="source-java.nio.file.Path-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>source</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.365">source</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a> file)</pre> +<div class="block">Specify a source file <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to parse. + <p> + The source set will not be read before the call to <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>. + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a> + SHOULD be set before calling <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>. + <p> + The character set is assumed to be <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/StandardCharsets.html?is-external=true#UTF_8" title="class or interface in java.nio.charset"><code>StandardCharsets.UTF_8</code></a> unless + the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a> specifies otherwise or the document + declares its own charset (e.g. RDF/XML with a + <code><?xml encoding="iso-8859-1"></code> header). + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-"><code>base(String)</code></a> MAY be set before calling + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>, otherwise <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true#toUri--" title="class or interface in java.nio.file"><code>Path.toUri()</code></a> will be used as the base + IRI. + <p> + This method will override any source set with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.io.InputStream-"><code>source(InputStream)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.lang.String-"><code>source(String)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>file</code> - A Path for a file to parse</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified source.</dd> +</dl> +</li> +</ul> +<a name="source-org.apache.commons.rdf.api.IRI-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>source</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.397">source</a>(<a href="../../../../../org/apache/commons/rdf/api/IRI.html" title="interface in org.apache.commons.rdf.api">IRI</a> iri)</pre> +<div class="block">Specify an absolute source <a href="../../../../../org/apache/commons/rdf/api/IRI.html" title="interface in org.apache.commons.rdf.api"><code>IRI</code></a> to retrieve and parse. + <p> + The source set will not be read before the call to <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>. + <p> + If this builder does not support the given IRI protocol (e.g. + <code>urn:uuid:ce667463-c5ab-4c23-9b64-701d055c4890</code>), this method + should succeed, while the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> should throw an + <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>. + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a> MAY + be set before calling <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>, in which case that type MAY be + used for content negotiation (e.g. <code>Accept</code> header in HTTP), + and SHOULD be used for selecting the RDFSyntax. + <p> + The character set is assumed to be <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/StandardCharsets.html?is-external=true#UTF_8" title="class or interface in java.nio.charset"><code>StandardCharsets.UTF_8</code></a> unless + the protocol's equivalent of <code>Content-Type</code> specifies + otherwise or the document declares its own charset (e.g. RDF/XML with a + <code><?xml encoding="iso-8859-1"></code> header). + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-"><code>base(String)</code></a> MAY be set before calling + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>, otherwise the source IRI will be used as the base IRI. + <p> + This method will override any source set with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-"><code>source(Path)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.io.InputStream-"><code>source(InputStream)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.lang.String-"><code>source(String)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>iri</code> - An IRI to retrieve and parse</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified source.</dd> +</dl> +</li> +</ul> +<a name="source-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>source</h4> +<pre><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental">RDFParser</a> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.432">source</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> iri) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre> +<div class="block">Specify an absolute source IRI to retrieve and parse. + <p> + The source set will not be read before the call to <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>. + <p> + If this builder does not support the given IRI (e.g. + <code>urn:uuid:ce667463-c5ab-4c23-9b64-701d055c4890</code>), this method + should succeed, while the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a> should throw an + <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>. + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-java.lang.String-"><code>contentType(String)</code></a> MAY + be set before calling <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>, in which case that type MAY be + used for content negotiation (e.g. <code>Accept</code> header in HTTP), + and SHOULD be used for selecting the RDFSyntax. + <p> + The character set is assumed to be <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/StandardCharsets.html?is-external=true#UTF_8" title="class or interface in java.nio.charset"><code>StandardCharsets.UTF_8</code></a> unless + the protocol's equivalent of <code>Content-Type</code> specifies + otherwise or the document declares its own charset (e.g. RDF/XML with a + <code><?xml encoding="iso-8859-1"></code> header). + <p> + The <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-org.apache.commons.rdf.api.IRI-"><code>base(IRI)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#base-java.lang.String-"><code>base(String)</code></a> MAY be set before calling + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--"><code>parse()</code></a>, otherwise the source IRI will be used as the base IRI. + <p> + This method will override any source set with <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-"><code>source(Path)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.io.InputStream-"><code>source(InputStream)</code></a> or <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>iri</code> - An IRI to retrieve and parse</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> that will use the specified source.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If the base is not a valid absolute IRI string</dd> +</dl> +</li> +</ul> +<a name="parse--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>parse</h4> +<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a><? extends <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a>> <a href="../../../../../src-html/org/apache/commons/rdf/experimental/RDFParser.html#line.484">parse</a>() + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></pre> +<div class="block">Parse the specified source. + <p> + A source method (e.g. <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.io.InputStream-"><code>source(InputStream)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.nio.file.Path-"><code>source(Path)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-java.lang.String-"><code>source(String)</code></a> or an equivalent subclass + method) MUST have been called before calling this method, otherwise an + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a> will be thrown. + <p> + A target method (e.g. <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-java.util.function.Consumer-"><code>target(Consumer)</code></a>, + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Dataset-"><code>target(Dataset)</code></a>, <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#target-org.apache.commons.rdf.api.Graph-"><code>target(Graph)</code></a> or an equivalent + subclass method) MUST have been called before calling parse(), otherwise + an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a> will be thrown. + <p> + It is undefined if this method is thread-safe, however the + <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser</code></a> may be reused (e.g. setting a different source) as soon + as the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent"><code>Future</code></a> has been returned from this method. + <p> + The RDFParser SHOULD perform the parsing as an asynchronous operation, + and return the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent"><code>Future</code></a> as soon as preliminary checks (such as + validity of the <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#source-org.apache.commons.rdf.api.IRI-"><code>source(IRI)</code></a> and <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.html#contentType-org.apache.commons.rdf.api.RDFSyntax-"><code>contentType(RDFSyntax)</code></a> + settings) have finished. The future SHOULD not mark + <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#isDone--" title="class or interface in java.util.concurrent"><code>Future.isDone()</code></a> before parsing is complete. A synchronous + implementation MAY be blocking on the <code>parse()</code> call and + return a Future that is already <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#isDone--" title="class or interface in java.util.concurrent"><code>Future.isDone()</code></a>. + <p> + The returned <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent"><code>Future</code></a> contains a <a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental"><code>RDFParser.ParseResult</code></a>. + Implementations may subclass this interface to provide any parser + details, e.g. list of warnings. <code>null</code> is a possible return + value if no details are available, but parsing succeeded. + <p> + If an exception occurs during parsing, (e.g. <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> or + <code>org.apache.commons.rdf.simple.experimental.RDFParseException</code>), + it should be indicated as the + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang"><code>Throwable.getCause()</code></a> in the + <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutionException</code></a> thrown on + <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get--" title="class or interface in java.util.concurrent"><code>Future.get()</code></a>.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A Future that will return the populated <a href="../../../../../org/apache/commons/rdf/api/Graph.html" title="interface in org.apache.commons.rdf.api"><code>Graph</code></a> when the + parsing has finished.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an error occurred while starting to read the source (e.g. + file not found, unsupported IRI protocol). Note that IO + errors during parsing would instead be the + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang"><code>Throwable.getCause()</code></a> of + the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent"><code>ExecutionException</code></a> thrown on + <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get--" title="class or interface in java.util.concurrent"><code>Future.get()</code></a>.</dd> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - If the builder is in an invalid state, e.g. a + <code>source</code> has not been set.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RDFParser.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/commons/rdf/experimental/RDFParser.html" target="_top">Frames</a></li> +<li><a href="RDFParser.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.class.summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> \ No newline at end of file
Added: websites/production/commonsrdf/content/commons-rdf-parent/apidocs/org/apache/commons/rdf/experimental/class-use/RDFParser.ParseResult.html ============================================================================== --- websites/production/commonsrdf/content/commons-rdf-parent/apidocs/org/apache/commons/rdf/experimental/class-use/RDFParser.ParseResult.html (added) +++ websites/production/commonsrdf/content/commons-rdf-parent/apidocs/org/apache/commons/rdf/experimental/class-use/RDFParser.ParseResult.html Thu Nov 17 14:45:34 2016 @@ -0,0 +1,169 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Uses of Interface org.apache.commons.rdf.experimental.RDFParser.ParseResult (Commons RDF 0.4.0-incubating-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Interface org.apache.commons.rdf.experimental.RDFParser.ParseResult (Commons RDF 0.4.0-incubating-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../package-tree.html">Tree</a></li> +<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/commons/rdf/experimental/class-use/RDFParser.ParseResult.html" target="_top">Frames</a></li> +<li><a href="RDFParser.ParseResult.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h2 title="Uses of Interface org.apache.commons.rdf.experimental.RDFParser.ParseResult" class="title">Uses of Interface<br>org.apache.commons.rdf.experimental.RDFParser.ParseResult</h2> +</div> +<div class="classUseContainer"> +<ul class="blockList"> +<li class="blockList"> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> +<caption><span>Packages that use <a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Package</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="#org.apache.commons.rdf.experimental">org.apache.commons.rdf.experimental</a></td> +<td class="colLast"> +<div class="block">Experimental Commons RDF features.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<ul class="blockList"> +<li class="blockList"><a name="org.apache.commons.rdf.experimental"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a> in <a href="../../../../../../org/apache/commons/rdf/experimental/package-summary.html">org.apache.commons.rdf.experimental</a></h3> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../../../org/apache/commons/rdf/experimental/package-summary.html">org.apache.commons.rdf.experimental</a> that return types with arguments of type <a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a><? extends <a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">RDFParser.ParseResult</a>></code></td> +<td class="colLast"><span class="typeNameLabel">RDFParser.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.html#parse--">parse</a></span>()</code> +<div class="block">Parse the specified source.</div> +</td> +</tr> +</tbody> +</table> +</li> +</ul> +</li> +</ul> +</div> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="../package-summary.html">Package</a></li> +<li><a href="../../../../../../org/apache/commons/rdf/experimental/RDFParser.ParseResult.html" title="interface in org.apache.commons.rdf.experimental">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../package-tree.html">Tree</a></li> +<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/commons/rdf/experimental/class-use/RDFParser.ParseResult.html" target="_top">Frames</a></li> +<li><a href="RDFParser.ParseResult.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2015–2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> \ No newline at end of file