LibreOffice
LibreOffice 7.6 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: */
com::sun::star::uri::XUriReference::getPath
string getPath()
returns the path part of this URI reference.
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:39
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:20
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:46
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.