NAME
RDF::Cowl::Lib::Gen::Class::Literal - Generated docs for RDF::Cowl::Literal
VERSION
version 1.0.0
MAIN MODULE
CONSTRUCTORS
new
Signature:
RDF::Cowl::Literal->new(CowlString $value, Maybe[ CowlString ] $lang)
Params:
Maybe[ CowlDatatype ] $dt I<[optional]>
CowlString $value
Maybe[ CowlString ] $lang I<[optional]>
Documentation:
Returns a retained literal.
@param dt [optional] The datatype.
@param value The value.
@param lang [optional] The language tag.
@return Retained literal. Throws exception on error.
Throws exception on error.
C function name: cowl_literal
from_string
Signature:
RDF::Cowl::Literal->from_string(UString $value, Maybe[ UString ] $lang)
Params:
Maybe[ UString ] $dt I<[optional]>
UString $value
Maybe[ UString ] $lang I<[optional]>
Documentation:
Returns a retained literal given the string representations of its components.
@param dt [optional] The datatype.
@param value The value.
@param lang [optional] The language tag.
@return Retained literal. Throws exception on error.
Throws exception on error.
C function name: cowl_literal_from_string
METHODS
get_datatype
Signature:
$self->get_datatype()
Params:
CowlLiteral $literal
Documentation:
Gets the datatype.
@param literal The literal.
@return The datatype.
C function name: cowl_literal_get_datatype
get_value
Signature:
$self->get_value()
Params:
CowlLiteral $literal
Documentation:
Gets the value.
@param literal The literal.
@return The value.
C function name: cowl_literal_get_value
get_lang
Signature:
$self->get_lang()
Params:
CowlLiteral $literal
Documentation:
Gets the language tag.
@param literal The literal.
@return The language tag.
C function name: cowl_literal_get_lang
AUTHOR
Zakariyya Mughal <zmughal@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2024 by Auto-Parallel Technologies, Inc..
This is free software, licensed under Eclipse Public License - v 2.0.