LibreOffice
LibreOffice 6.2 SDK API Reference
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 
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)
140 
180  void exportGraph([in] /*FileFormat*/ short Format,
181  [in] com::sun::star::io::XOutputStream OutStream,
182  [in] XURI GraphName, [in] XURI BaseURI)
188 
197  sequence<XURI> getGraphNames()
198  raises( RepositoryException );
199 
214  XNamedGraph getGraph([in] XURI GraphName)
217 
239  XNamedGraph createGraph([in] XURI GraphName)
243 
264  void destroyGraph([in] XURI GraphName)
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,
335 
358  com::sun::star::container::XEnumeration/*<Statement>*/ queryConstruct(
359  [in] string Query)
360  raises( QueryException,
362 
382  boolean queryAsk([in] string Query)
383  raises( QueryException,
385 
386 };
387 
388 
389 }; }; }; };
390 
391 #endif
392 
393 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
represents the result of a SPARQL "SELECT" query.
Definition: XQuerySelectResult.idl:49
is thrown when an input or output error has occurred.
Definition: IOException.idl:30
Definition: Ambiguous.idl:22
represents a resource node that may occur in a RDF graph.
Definition: XResource.idl:41
represents a blank node that may occur in a RDF graph.
Definition: XBlankNode.idl:40
This is the basic interface to write data to a stream.
Definition: XOutputStream.idl:37
provides functionality to enumerate the contents of a container.
Definition: XEnumeration.idl:54
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
Exception will be thrown if there is a request for data in a DataFlavor that is not supported by a da...
Definition: UnsupportedFlavorException.idl:34
represents an error condition that is signaled on evaluating a query against an RDF Repository...
Definition: QueryException.idl:35
represents an error condition that is signaled on accessing an RDF Repository.
Definition: RepositoryException.idl:35
represents an error condition that is signaled on parsing an RDF file.
Definition: ParseException.idl:34
represents a node that may occur in a RDF graph.
Definition: XNode.idl:57
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
represents an RDF named graph that is stored in an RDF Repository.
Definition: XNamedGraph.idl:53
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:34
represents an URI node that may occur in a RDF graph.
Definition: XURI.idl:53
provides access to a set of named RDF graphs.
Definition: XRepository.idl:71
is thrown by container methods, if an element is added which is already a child of the container...
Definition: ElementExistException.idl:38