LibreOffice
LibreOffice 5.0 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
rdf
XRepository.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_rdf_XRepository_idl__
21
#define __com_sun_star_rdf_XRepository_idl__
22
23
#include <
com/sun/star/lang/IllegalArgumentException.idl
>
24
#include <
com/sun/star/container/ElementExistException.idl
>
25
#include <
com/sun/star/container/NoSuchElementException.idl
>
26
#include <
com/sun/star/container/XEnumeration.idl
>
27
#include <
com/sun/star/io/IOException.idl
>
28
#include <
com/sun/star/io/XInputStream.idl
>
29
#include <
com/sun/star/io/XOutputStream.idl
>
30
#include <
com/sun/star/datatransfer/UnsupportedFlavorException.idl
>
31
#include <
com/sun/star/rdf/FileFormat.idl
>
32
#include <
com/sun/star/rdf/ParseException.idl
>
33
#include <
com/sun/star/rdf/QueryException.idl
>
34
#include <
com/sun/star/rdf/RepositoryException.idl
>
35
#include <
com/sun/star/rdf/XBlankNode.idl
>
36
#include <
com/sun/star/rdf/XURI.idl
>
37
#include <
com/sun/star/rdf/Statement.idl
>
38
#include <
com/sun/star/rdf/XQuerySelectResult.idl
>
39
#include <
com/sun/star/rdf/XNamedGraph.idl
>
40
41
42
43
module com { module sun { module star { module rdf {
44
71
interface
XRepository
72
{
73
79
XBlankNode
createBlankNode();
80
81
131
XNamedGraph
importGraph([in]
/*FileFormat*/
short
Format,
132
[in]
com::sun::star::io::XInputStream
InStream,
133
[in]
XURI
GraphName, [in]
XURI
BaseURI)
134
raises(
com::sun::star::lang::IllegalArgumentException
,
135
com::sun::star::datatransfer::UnsupportedFlavorException
,
136
com::sun::star::container::ElementExistException
,
137
ParseException
,
138
RepositoryException
,
139
com::sun::star::io::IOException
);
140
180
void
exportGraph([in]
/*FileFormat*/
short
Format,
181
[in]
com::sun::star::io::XOutputStream
OutStream,
182
[in]
XURI
GraphName, [in]
XURI
BaseURI)
183
raises(
com::sun::star::lang::IllegalArgumentException
,
184
com::sun::star::datatransfer::UnsupportedFlavorException
,
185
com::sun::star::container::NoSuchElementException
,
186
RepositoryException
,
187
com::sun::star::io::IOException
);
188
197
sequence<XURI> getGraphNames()
198
raises(
RepositoryException
);
199
214
XNamedGraph
getGraph([in]
XURI
GraphName)
215
raises(
com::sun::star::lang::IllegalArgumentException
,
216
RepositoryException
);
217
239
XNamedGraph
createGraph([in]
XURI
GraphName)
240
raises(
com::sun::star::lang::IllegalArgumentException
,
241
com::sun::star::container::ElementExistException
,
242
RepositoryException
);
243
264
void
destroyGraph([in]
XURI
GraphName)
265
raises(
com::sun::star::lang::IllegalArgumentException
,
266
com::sun::star::container::NoSuchElementException
,
267
RepositoryException
);
268
297
com::sun::star::container::XEnumeration
/*<Statement>*/
getStatements(
298
[in]
XResource
Subject,
299
[in]
XURI
Predicate,
300
[in]
XNode
Object)
301
raises(
RepositoryException
);
302
303
332
XQuerySelectResult
querySelect([in]
string
Query)
333
raises(
QueryException
,
334
RepositoryException
);
335
358
com::sun::star::container::XEnumeration
/*<Statement>*/
queryConstruct(
359
[in]
string
Query)
360
raises(
QueryException
,
361
RepositoryException
);
362
382
boolean
queryAsk([in]
string
Query)
383
raises(
QueryException
,
384
RepositoryException
);
385
386
};
387
388
389
}; }; }; };
390
391
#endif
392
393
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4