<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 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 “<code>A</code>”–“<code>Z</code>”, Latin small letters “<code>a</code>”–“<code>z</code>”, digits “<code>0</code>”–“<code>9</code>”, “<code>+</code>”, “<code>-</code>”, and “<code>.</code>”. A scheme <var>s</var> is transformed into a string <var>s</var>′ character-by-character, by translating Lating capital letters to their small counterparts, translating “<code>+</code>” to “<code>PLUS</code>”, “<code>-</code>” to “<code>HYPHEN</code>”, “<code>.</code>” to “<code>DOT</code>”, 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 “<code>com.sun.star.uri.UriSchemeParser_</code>” and <var>s</var>′, 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> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 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>