RDF::Redland::LiteralNode3pm
Redland rdf literal node class
Usage
use RDF::Redland;my $node1=new RDF::Redland::LiteralNode("Hello, World!");my $node2=new RDF::Redland::LiteralNode("Bonjour monde!", undef, "fr");
Overview
This class represents RDF literal and Typed Literals in the RDF graph. See RDF::Redland::Node for the methods on this object.
Constructor
- new STRING [DATATYPE [XML_LANGUAGE]]
-
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.
Releases
10 releases since Debian 4.0 (Etch); the text changed 9 times.