Redland

Dave Beckett

 
 
Hosted by
Dreamhost

since 2005.

Data

DOAP
(See DOAP Project)

Redland librdf Language Bindings - Perl RDF::Redland::LiteralNode Class

NAME

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

SYNOPSIS

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

DESCRIPTION

This class represents RDF literal and Typed Literals in the RDF graph. See the RDF::Redland::Node manpage 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.

SEE ALSO

the RDF::Redland::Node manpage

AUTHOR

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

(C) Copyright (C) 2000-2011 Dave Beckett, (C) Copyright (C) 2000-2005 University of Bristol