NAME

RDF::Core::Literal - a literal value for RDF statement

SYNOPSIS

require RDF::Core::Literal;
my $literal=new RDF::Core::Literal("Jim Brown");
print $literal->getValue()."\n";

DESCRIPTION

Is inherited from RDF::Core::Node, you can specify it's language and datatype URI.

Interface

  • new($value)

  • new($value, $language)

  • new($value, $language, $datatype)

  • getValue()

  • getLang()

  • getDatatype()

LICENSE

This package is subject to the MPL (or the GPL alternatively).

AUTHOR

Ginger Alliance, rdf@gingerall.cz

SEE ALSO

perl(1).