/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_uri_XUriSchemeParser_idl__ #define __com_sun_star_uri_XUriSchemeParser_idl__ #include #include module com { module sun { module star { module uri { /** parses textual representations of absolute URIs.

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

@since OOo 2.0 */ published interface XUriSchemeParser: com::sun::star::uno::XInterface { /** 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.

@param scheme the textual representation of the scheme part (without the delimiting “:”). @param 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, is returned. */ XUriReference parse([in] string scheme, [in] string schemeSpecificPart); }; }; }; }; }; #endif