DOKK / manpages / debian 10 / librdf-perl / RDF::Redland::LiteralNode.3pm.en
RDF::Redland::LiteralNode(3pm) User Contributed Perl Documentation RDF::Redland::LiteralNode(3pm)

RDF::Redland::LiteralNode - Redland RDF Literal Node Class

  use RDF::Redland;
  my $node1=new RDF::Redland::LiteralNode("Hello, World!");
  my $node2=new RDF::Redland::LiteralNode("Bonjour monde!", undef, "fr");

This class represents RDF literal and Typed Literals in the RDF graph. See RDF::Redland::Node for the methods on this object.

Create a new literal node for a literal value STRING. Optional datatype URI DATATYPE (RDF::Redland::URI, perl URI or string) and language (xml:lang attribute) XML_LANGUAGE may also be given.

RDF::Redland::Node

Dave Beckett - http://www.dajobe.org/

2018-11-02 perl v5.28.0