LibreOffice
LibreOffice 7.2 SDK API Reference
XUriReference.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef __com_sun_star_uri_XUriReference_idl__
21#define __com_sun_star_uri_XUriReference_idl__
22
24
25module com { module sun { module star { module uri {
26
53
62 boolean isAbsolute();
63
73 string getScheme();
74
89
102 boolean isHierarchical();
103
110 boolean hasAuthority();
111
120 string getAuthority();
121
129 string getPath();
130
138
154
168 string getPathSegment([in] long index);
169
176 boolean hasQuery();
177
187 string getQuery();
188
195 boolean hasFragment();
196
206 string getFragment();
207
215 void setFragment([in] string fragment);
216
221};
222
223}; }; }; };
224
225#endif
226
227/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
base interface of all UNO interfaces
Definition: XInterface.idl:48
represents generic, mutable URI references.
Definition: XUriReference.idl:44
boolean hasRelativePath()
returns whether this URI reference has a relative path.
string getPathSegment([in] long index)
returns a given path segment of this URI reference.
string getPath()
returns the path part of this URI reference.
long getPathSegmentCount()
returns the number of path segments of this URI reference.
boolean isAbsolute()
returns whether this URI reference is absolute or relative.
string getSchemeSpecificPart()
returns the scheme-specific part of this URI reference.
void setFragment([in] string fragment)
sets the fragment part of this URI reference.
boolean isHierarchical()
returns whether this URI reference is hierarchical or opaque, in the sense of RFC&nbsp2396.
void clearFragment()
clears the fragment part of this URI reference.
string getFragment()
returns the fragment part of this URI reference.
boolean hasQuery()
returns whether this URI reference has a query part.
string getUriReference()
returns the textual representation of the complete URI reference.
boolean hasAuthority()
returns whether this URI reference has an authority part.
string getScheme()
returns the scheme part of this (absolute) URI reference.
boolean hasFragment()
returns whether this URI reference has a fragment part.
string getAuthority()
returns the authority part of this URI reference.
string getQuery()
returns the query part of this URI reference.
Definition: Ambiguous.idl:22