LibreOffice
LibreOffice 6.4 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 
25 module com { module sun { module star { module uri {
26 
52  string getUriReference();
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 
137  boolean hasRelativePath();
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: */
com::sun::star::uri::XUriReference::getPath
string getPath()
returns the path part of this URI reference.
XInterface.idl
com::sun::star::uri::XUriReference::getQuery
string getQuery()
returns the query part of this URI reference.
com::sun::star::uri::XUriReference::getPathSegment
string getPathSegment([in] long index)
returns a given path segment of this URI reference.
com::sun::star::uri::XUriReference::clearFragment
void clearFragment()
clears the fragment part of this URI reference.
com::sun::star::uri::XUriReference::hasRelativePath
boolean hasRelativePath()
returns whether this URI reference has a relative path.
com::sun::star::uri::XUriReference::isHierarchical
boolean isHierarchical()
returns whether this URI reference is hierarchical or opaque, in the sense of RFC&nbsp2396.
com::sun::star::uri::XUriReference::getSchemeSpecificPart
string getSchemeSpecificPart()
returns the scheme-specific part of this URI reference.
com::sun::star::uri::XUriReference
represents generic, mutable URI references.
Definition: XUriReference.idl:44
com::sun::star::uri::XUriReference::setFragment
void setFragment([in] string fragment)
sets the fragment part of this URI reference.
com::sun::star::uri::XUriReference::getUriReference
string getUriReference()
returns the textual representation of the complete URI reference.
com::sun::star::uri::XUriReference::getPathSegmentCount
long getPathSegmentCount()
returns the number of path segments of this URI reference.
com
Definition: Ambiguous.idl:22
com::sun::star::uri::XUriReference::getAuthority
string getAuthority()
returns the authority part of this URI reference.
com::sun::star::uri::XUriReference::getScheme
string getScheme()
returns the scheme part of this (absolute) URI reference.
com::sun::star::uri::XUriReference::hasFragment
boolean hasFragment()
returns whether this URI reference has a fragment part.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::uri::XUriReference::hasQuery
boolean hasQuery()
returns whether this URI reference has a query part.
com::sun::star::uri::XUriReference::isAbsolute
boolean isAbsolute()
returns whether this URI reference is absolute or relative.
com::sun::star::uri::XUriReference::hasAuthority
boolean hasAuthority()
returns whether this URI reference has an authority part.
com::sun::star::uri::XUriReference::getFragment
string getFragment()
returns the fragment part of this URI reference.