LibreOffice
LibreOffice 24.8 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 module com { module sun { module star { module uri {
21 
47  string getUriReference();
48 
57  boolean isAbsolute();
58 
68  string getScheme();
69 
84 
97  boolean isHierarchical();
98 
105  boolean hasAuthority();
106 
115  string getAuthority();
116 
124  string getPath();
125 
132  boolean hasRelativePath();
133 
149 
163  string getPathSegment([in] long index);
164 
171  boolean hasQuery();
172 
182  string getQuery();
183 
190  boolean hasFragment();
191 
201  string getFragment();
202 
210  void setFragment([in] string fragment);
211 
216 };
217 
218 }; }; }; };
219 
220 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
base interface of all UNO interfaces
Definition: XInterface.idl:46
represents generic, mutable URI references.
Definition: XUriReference.idl:39
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:20