LibreOffice
LibreOffice 6.3 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 
60  boolean isAbsolute();
61 
71  string getScheme();
72 
87 
98  boolean isHierarchical();
99 
106  boolean hasAuthority();
107 
116  string getAuthority();
117 
127  string getPath();
128 
135  boolean hasRelativePath();
136 
152 
166  string getPathSegment([in] long index);
167 
174  boolean hasQuery();
175 
185  string getQuery();
186 
193  boolean hasFragment();
194 
204  string getFragment();
205 
213  void setFragment([in] string fragment);
214 
219 };
220 
221 }; }; }; };
222 
223 #endif
224 
225 /* 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 (hierarchical) URI reference.
com::sun::star::uri::XUriReference::getPathSegment
string getPathSegment([in] long index)
returns a given path segment of this (hierarchical) 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 (relative) URI reference has a relative path.
com::sun::star::uri::XUriReference::isHierarchical
boolean isHierarchical()
returns whether this URI reference is hierarchical or opaque.
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 (hierarchical) URI reference.
com
Definition: Ambiguous.idl:22
com::sun::star::uri::XUriReference::getAuthority
string getAuthority()
returns the authority part of this (hierarchical) 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 (hierarchical) 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 (hierarchical) URI reference has an authority part.
com::sun::star::uri::XUriReference::getFragment
string getFragment()
returns the fragment part of this URI reference.