Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 0dd6bc6711e7b2c30f94bd76b4f6f76a > files > 34

ocaml-rdf-devel-0.4-3.mga3.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Rdf_rdf.html">
<link rel="next" href="Rdf_utf8.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Rdf_config" rel="Chapter" href="Rdf_config.html">
<link title="Rdf_dot" rel="Chapter" href="Rdf_dot.html">
<link title="Rdf_graph" rel="Chapter" href="Rdf_graph.html">
<link title="Rdf_mem" rel="Chapter" href="Rdf_mem.html">
<link title="Rdf_misc" rel="Chapter" href="Rdf_misc.html">
<link title="Rdf_my" rel="Chapter" href="Rdf_my.html">
<link title="Rdf_node" rel="Chapter" href="Rdf_node.html">
<link title="Rdf_pg" rel="Chapter" href="Rdf_pg.html">
<link title="Rdf_rdf" rel="Chapter" href="Rdf_rdf.html">
<link title="Rdf_uri" rel="Chapter" href="Rdf_uri.html">
<link title="Rdf_utf8" rel="Chapter" href="Rdf_utf8.html">
<link title="Rdf_xml" rel="Chapter" href="Rdf_xml.html"><title>OCaml-RDF : Rdf_uri</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Rdf_rdf.html" title="Rdf_rdf">Previous</a>
&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="Rdf_utf8.html" title="Rdf_utf8">Next</a>
</div>
<h1>Module <a href="type_Rdf_uri.html">Rdf_uri</a></h1>
<pre><span class="keyword">module</span> Rdf_uri: <code class="code">sig</code> <a href="Rdf_uri.html">..</a> <code class="code">end</code></pre><div class="info">
URIs.<br>
</div>
<hr width="100%">
<pre><span id="TYPEuri"><span class="keyword">type</span> <code class="type"></code>uri</span> </pre>
<div class="info">
URIs are abstract. <b>Do not compare with generic comparison
  functions</b> (<code class="code">Pervasives.compare</code>, (=), ...) as it contains
  functional values. Use <a href="Rdf_uri.html#VALequal"><code class="code">Rdf_uri.equal</code></a> or <a href="Rdf_uri.html#VALcompare"><code class="code">Rdf_uri.compare</code></a>.<br>
</div>

<pre><span id="VALstring"><span class="keyword">val</span> string</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> string</code></pre><div class="info">
Create a string from a URI.<br>
</div>
<pre><span id="VALuri"><span class="keyword">val</span> uri</span> : <code class="type">string -> <a href="Rdf_uri.html#TYPEuri">uri</a></code></pre><div class="info">
Create a URI from a string.<br>
</div>
<pre><span id="VALconcat"><span class="keyword">val</span> concat</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> string -> <a href="Rdf_uri.html#TYPEuri">uri</a></code></pre><div class="info">
Add the given string to the path of the given URI, using '/' as separator.<br>
</div>
<pre><span id="VALparent"><span class="keyword">val</span> parent</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> <a href="Rdf_uri.html#TYPEuri">uri</a></code></pre><div class="info">
Return a new URI with the path modified to parent path of the original URI.<br>
</div>
<pre><span id="VALset_fragment"><span class="keyword">val</span> set_fragment</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> string -> <a href="Rdf_uri.html#TYPEuri">uri</a></code></pre><div class="info">
Modify the fragment part of the URI.<br>
</div>
<pre><span id="VALpath"><span class="keyword">val</span> path</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> string list</code></pre><div class="info">
Get the path part of the URI.<br>
</div>
<pre><span id="VALcompare"><span class="keyword">val</span> compare</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> <a href="Rdf_uri.html#TYPEuri">uri</a> -> int</code></pre><div class="info">
Comparison of two URIs, as usual.<br>
</div>
<pre><span id="VALequal"><span class="keyword">val</span> equal</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> <a href="Rdf_uri.html#TYPEuri">uri</a> -> bool</code></pre><div class="info">
Equality over URIs.<br>
</div>
<pre><span id="VALneturl"><span class="keyword">val</span> neturl</span> : <code class="type"><a href="Rdf_uri.html#TYPEuri">uri</a> -> Neturl.url</code></pre><div class="info">
Get a <code class="code">Neturl.url</code> from the given URI. (<code class="code">Neturl.url</code>
  is the underlying represention of URIs).<br>
</div>
<pre><span id="VALof_neturl"><span class="keyword">val</span> of_neturl</span> : <code class="type">Neturl.url -> <a href="Rdf_uri.html#TYPEuri">uri</a></code></pre><div class="info">
Get a <a href="Rdf_uri.html#VALuri"><code class="code">Rdf_uri.uri</code></a> from the given <code class="code">Neturl.url</code>.<br>
</div>
<pre><span class="keyword">module</span> <a href="Rdf_uri.Urimap.html">Urimap</a>: <code class="type">Map.S</code><code class="type">  with type key = uri</code></pre></body></html>