Skip to content

Commit

Permalink
Merge pull request #29 from rdfjs/core-factory
Browse files Browse the repository at this point in the history
added DatasetCoreFactory
  • Loading branch information
bergos authored Jan 22, 2019
2 parents 78ad865 + 504b653 commit f2945ed
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dataset-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,25 @@ <h3>Methods</h3>
<p>Note: Since a <a>DatasetCore</a> is an unordered set, the order of the quads within the returned sequence is arbitrary.</p>
</section>

<section data-dfn-for="DatasetCoreFactory">
<h3><dfn>DatasetCoreFactory</dfn> interface</h3>

<pre class="idl">
interface DatasetCoreFactory {
DatasetCore dataset (optional sequence&lt;Quad&gt; quads);
};
</pre>

<p>
<code>DatasetCoreFactory</code> provides a <code>dataset</code> method to create instances of <code>DatasetCore</code>.
</p>

<p>
<dfn>dataset</dfn>
</p>
<p>Returns a new dataset and imports all quads, if given.</p>
</section>

<section data-dfn-for="Dataset">
<h3><dfn>Dataset</dfn> interface</h3>

Expand Down

0 comments on commit f2945ed

Please sign in to comment.