Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 7848

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Service UriReferenceFactory</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimainnone">Use</td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub">Constructors' Summary</td>
<td class="navisub">Constructors' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">uri</a> :: </p>
</td>
</tr>
<tr>
<td class="title">service UriReferenceFactory</td>
</tr>
<tr>
<td><dl>
<dt><b>Supported Interface</b></dt>
<dd><a href="XUriReferenceFactory.html">XUriReferenceFactory</a></dd>
</dl>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>creates URI references.

 </dd>
<dd><p>See <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC&nbsp;2396</a> for a
 description of URI references and related terms.</p>

 <p>For parsing absolute URI references, this service tries to use a
 scheme-specific parser. Such a scheme-specific parser will typically enforce
 additional restrictions during parsing, and will typically return objects
 that support extra, scheme-specific interfaces in addition to
 <a href="XUriReference.html">XUriReference</a>. If no such parser
 is found, and for relative URI references, a generic parser is used, which
 returns objects that only support
 <a href="XUriReference.html">XUriReference</a>.</p>

 <p>Locating a scheme-specific parser works as follows: A scheme consists of
 Latin captial letters
 &ldquo;<code>A</code>&rdquo;&ndash;&ldquo;<code>Z</code>&rdquo;, Latin small
 letters &ldquo;<code>a</code>&rdquo;&ndash;&ldquo;<code>z</code>&rdquo;,
 digits &ldquo;<code>0</code>&rdquo;&ndash;&ldquo;<code>9</code>&rdquo;,
 &ldquo;<code>+</code>&rdquo;, &ldquo;<code>-</code>&rdquo;, and
 &ldquo;<code>.</code>&rdquo;. A scheme&nbsp;<var>s</var> is transformed into
 a string&nbsp;<var>s</var>&prime; character-by-character, by translating
 Lating capital letters to their small counterparts, translating
 &ldquo;<code>+</code>&rdquo; to &ldquo;<code>PLUS</code>&rdquo;,
 &ldquo;<code>-</code>&rdquo; to &ldquo;<code>HYPHEN</code>&rdquo;,
 &ldquo;<code>.</code>&rdquo; to &ldquo;<code>DOT</code>&rdquo;, and copying
 Latin small letters and digits unchanged. If the component context used
 while creating this <code>UriReferenceFactory</code> instance offers a
 service manager, and there is a service available at that service manager
 whose name is the concatenation of
 &ldquo;<code>com.sun.star.uri.UriSchemeParser_</code>&rdquo; and
 <var>s</var>&prime;, then that service is used. It is an error if that
 service does not support
 <a href="XUriSchemeParser.html">XUriSchemeParser</a>.</p>

 </dd>
<dt><b>Since </b></dt>
<dd>OpenOffice 2.0</dd>
</dl>
</td>
</tr>
</table>
<hr>
<hr>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>