logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

perl v5.40.0                                       2024-10-20                     RDF::Redland::LiteralNode(3pm)

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.

Description

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

Name

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

See Also

       RDF::Redland::Node

Synopsis

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

See Also