LibreOffice: Literal Service Reference

LibreOffice LibreOffice 7.6 SDK API Reference

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Literal Service Reference

represents a literal that may occur in a RDF graph. More...

`import <Literal.idl;`

Inheritance diagram for Literal:

## Public Member Functions
| create ([in] string Value)
| creates a plain literal RDF node.
| createWithType ([in] string Value, [in] XURI Type)
| creates a typed literal RDF node.
| createWithLanguage ([in] string Value, [in] string Language)
| creates a literal RDF node with a language.

## Additional Inherited Members
Public Attributes inherited from XLiteral
string | Value
| the content of the literal
string | Language
| the language of the literal; may be the empty `string`
XURI | Datatype
| the data type of the literal; may be `NULL`
Public Attributes inherited from XNode
string | StringValue
| the string value of the node.

## Detailed Description

represents a literal that may occur in a RDF graph.

Since
  OOo 3.0

See also
  XRepository

## Member Function Documentation

## ◆ create()

create | ( | [in] string | Value | ) |

creates a plain literal RDF node.

Parameters

  Value | the string value of the literal

## ◆ createWithLanguage()

createWithLanguage | ( | [in] string | Value,
|  | [in] string | Language )

creates a literal RDF node with a language.

Parameters

  Value | the string value of the literal
  Language | the language of the literal

## ◆ createWithType()

createWithType | ( | [in] string | Value,
|  | [in] XURI | Type )

creates a typed literal RDF node.

Parameters

  Value | the string value of the literal
  Type | the data type of the literal

The documentation for this service was generated from the following file:

- com/sun/star/rdf/Literal.idl