<docbook><section><title>OATDOCrdfbrowser</title><para> </para>
<title> rdfbrowser.js</title> rdfbrowser.js
<para>Multi-purpose RDF Browser.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Objects</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.RDFBrowser(div,options)</bridgehead>
<para>Creates an RDF Browser object.
 Contents will be displayed inside <computeroutput>div</computeroutput>.
 You don&#39;t need to specify div if you have previously created (and appended) all elements with CSS IDs mentioned before.
 <computeroutput>options</computeroutput> may contain:</para>
<itemizedlist mark="bullet" spacing="compact"><listitem><computeroutput> <emphasis>maxLength</emphasis> </computeroutput> - maximum length of tree node label (defaul t30) </listitem>
<listitem><computeroutput> <emphasis>maxURILength</emphasis></computeroutput> - maximum length of displayed URI (default 60) </listitem>
<listitem><computeroutput> <emphasis>maxDistinctValues</emphasis></computeroutput> - maximum number of leaves in one tree node (default 100) </listitem>
<listitem><computeroutput> <emphasis>imagePath</emphasis></computeroutput> - include trailing slash (default <computeroutput>OAT.Preferences.imagePath</computeroutput>) </listitem>
<listitem><computeroutput> <emphasis>defaultURL</emphasis></computeroutput> - to be shown in input area (default <computeroutput>&quot;&quot;</computeroutput>) </listitem>
<listitem><computeroutput> <emphasis>endpoint</emphasis></computeroutput> - SPARQL query endpoint (default <computeroutput>&quot;/sparql?query=&quot;</computeroutput>)</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> Methods</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.RDFBrowser::store.addURL(url)</bridgehead>
<para>Adds data from <computeroutput>ur</computeroutput> lto the Browser.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> OAT.RDFBrowser::store.addTriples(triples, label, href)</bridgehead>
<para>Adds a set of <computeroutput>triples</computeroutput> to the Browser.
 One should specify a <computeroutput>label</computeroutput> and originating URI as <computeroutput>href</computeroutput>.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> CSS IDs</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> #rdf_side</bridgehead>
<para><ulink url="ToBeDone">ToBeDone</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> #rdf_cache</bridgehead>
<para><ulink url="ToBeDone">ToBeDone</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> #rdf_tabs</bridgehead>
<para><ulink url="ToBeDone">ToBeDone</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> #rdf_filter</bridgehead>
<para><ulink url="ToBeDone">ToBeDone</ulink></para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> #rdf_content</bridgehead>
<para><ulink url="ToBeDone">ToBeDone</ulink></para>
<para><ulink url="CategoryDocumentation">CategoryDocumentation</ulink> <ulink url="CategoryOAT">CategoryOAT</ulink> <ulink url="CategoryOpenSource">CategoryOpenSource</ulink> <ulink url="CategoryToBeDone">CategoryToBeDone</ulink></para>
</section></docbook>