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


RDF-Core documentation  | view source Contained in the RDF-Core distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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




DESCRIPTION

Top

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()
* equals($other)

See http://www.w3.org/TR/rdf-concepts/#section-Literal-Equality for details on literal equality.

LICENSE

Top

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

AUTHOR

Top

Ginger Alliance, rdf@gingerall.cz

SEE ALSO

Top

perl(1).


RDF-Core documentation  | view source Contained in the RDF-Core distribution.