Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: uri ::

interface XUriSchemeParser
Description
parses textual representations of absolute URIs.

See RFC 2396 for a description of URIs and related terms.

Since
OOo 2.0

Methods' Summary
parse parses the textual representation of an absolute URI.  
Methods' Details
parse
XUriReference
parse( [in] string  scheme,
[in] string  schemeSpecificPart );

Description
parses the textual representation of an absolute URI.

This method is used to parse URIs (with no fragment part), not URI references (with an optional fragment part).

If an object is returned, the behaviour of its XUriReference methods must reflect the fact that the object represents an absolute URI reference with the given scheme and scheme-specific part, and without a fragment part.

Parameter scheme
the textual representation of the scheme part (without the delimiting “:”).
Parameter uriReference
the textual representation of the scheme-specific part.
Returns
an object that supports XUriReference (and possibly also additional, scheme-specific interfaces), if the given input can be parsed into an absolute URI; otherwise, NULL is returned.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.