LibreOffice LibreOffice 25.8 SDK API Reference

Literal.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
21
22module com { module sun { module star { module rdf {
23
30service Literal : XLiteral
31{
32
38 create( [in] string Value );
39
48 createWithType( [in] string Value, [in] XURI Type );
49
58 createWithLanguage( [in] string Value, [in] string Language );
59
60 // NOTE: there is no createWithTypeAndLanguage!
61};
62
63
64
65}; }; }; };
66
67/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::rdf::XLiteral
represents a literal that may occur in a RDF graph.
Definition: XLiteral.idl:41
com::sun::star::rdf::XURI
represents a URI node that may occur in a RDF graph.
Definition: XURI.idl:49
com::sun::star::util::Language
short Language
This type is used for a language identifier number.
Definition: Language.idl:26
com
Definition: Ambiguous.idl:20
com::sun::star::rdf::Literal
represents a literal that may occur in a RDF graph.
Definition: Literal.idl:31
com::sun::star::rdf::Literal::createWithType
createWithType([in] string Value, [in] XURI Type)
creates a typed literal RDF node.
com::sun::star::rdf::Literal::create
create([in] string Value)
creates a plain literal RDF node.
com::sun::star::rdf::Literal::createWithLanguage
createWithLanguage([in] string Value, [in] string Language)
creates a literal RDF node with a language.