LibreOffice: com/sun/star/rdf/XDocumentRepository.idl Source File

LibreOffice LibreOffice 7.1 SDK API Reference

XDocumentRepository.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_XDocumentRepository_idl__
21 #define __com_sun_star_rdf_XDocumentRepository_idl__
22
23 #include <com/sun/star/beans/Pair.idl>
24 #include <com/sun/star/rdf/XMetadatable.idl>
25 #include <com/sun/star/rdf/XRepository.idl>
26
27
28
29 module com { module sun { module star { module rdf {
30
45 interface XDocumentRepository : XRepository
46 {
47
110 void setStatementRDFa(
111 [in] XResource Subject,
112 [in] sequence<XURI> Predicates,
113 [in] XMetadatable Object,
114 [in] string RDFaContent,
115 [in] XURI RDFaDatatype)
116 raises( com::sun::star::lang::IllegalArgumentException,
117 RepositoryException );
118
137 void removeStatementRDFa([in] XMetadatable Element)
138 raises( com::sun::star::lang::IllegalArgumentException,
139 RepositoryException );
140
169 com::sun::star::beans::Pair< sequence<Statement>, boolean >
170 getStatementRDFa([in] XMetadatable Element)
171 raises( com::sun::star::lang::IllegalArgumentException,
172 RepositoryException );
173
209 com::sun::star::container::XEnumeration/*<Statement>*/ getStatementsRDFa(
210 [in] XResource Subject,
211 [in] XURI Predicate,
212 [in] XNode Object)
213 raises( RepositoryException );
214
215 };
216
217
218 }; }; }; };
219
220 #endif
221
222 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Pair.idl
XMetadatable.idl
XRepository.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::rdf::RepositoryException
represents an error condition that is signaled on accessing an RDF Repository.
Definition: RepositoryException.idl:36
com::sun::star::container::XEnumeration
provides functionality to enumerate the contents of a container.
Definition: XEnumeration.idl:55
com::sun::star::rdf::XDocumentRepository
extends XRepository with document-specific functionality.
Definition: XDocumentRepository.idl:46
com::sun::star::rdf::XDocumentRepository::setStatementRDFa
void setStatementRDFa([in] XResource Subject, [in] sequence< XURI > Predicates, [in] XMetadatable Object, [in] string RDFaContent, [in] XURI RDFaDatatype)
update the RDFa statement(s) that correspond to an ODF element in the repository.
com::sun::star::rdf::XDocumentRepository::removeStatementRDFa
void removeStatementRDFa([in] XMetadatable Element)
remove the RDFa statement(s) that correspond to an ODF element from the repository.
com::sun::star::rdf::XDocumentRepository::getStatementRDFa
com::sun::star::beans::Pair< sequence< Statement >, boolean > getStatementRDFa([in] XMetadatable Element)
find the RDFa statement(s) associated with an ODF element.
com::sun::star::rdf::XDocumentRepository::getStatementsRDFa
com::sun::star::container::XEnumeration getStatementsRDFa([in] XResource Subject, [in] XURI Predicate, [in] XNode Object)
gets matching RDFa statements from the repository.
com::sun::star::rdf::XMetadatable
marks an object representing an ODF element that may have RDF meta data attached.
Definition: XMetadatable.idl:53
com::sun::star::rdf::XNode
represents a node that may occur in a RDF graph.
Definition: XNode.idl:58
com::sun::star::rdf::XRepository
provides access to a set of named RDF graphs.
Definition: XRepository.idl:72
com::sun::star::rdf::XResource
represents a resource node that may occur in a RDF graph.
Definition: XResource.idl:42
com::sun::star::rdf::XURI
represents a URI node that may occur in a RDF graph.
Definition: XURI.idl:54
com
Definition: Ambiguous.idl:22