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::URI - Redland RDF URI Class

Author

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

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

Constructors

       new STRING
           Create a new RDF::Redland::URI object from a URI string.

       clone URI
           Copy a RDF::Redland::URI

Description

       Represents a URI as a mostly-opaque object for identifying things in the RDF world.  The URIs are also
       used for identifying features for the RDF::Redland::Parser and RDF::Redland::Serializer classes.

Methods

       as_string
           Return the statement formatted as a string (UTF-8 encoded).

       equals URI
           Return non zero if this uri is equal to URI

Name

       RDF::Redland::URI - Redland RDF URI Class

Old Methods

       new_from_uri URI
           Create a new RDF::Redland::URI object from RDF::Redland::URI URI (copy constructor).  Instead use:

             $u=$uri->clone

See Also

       RDF::Redland::Parser

Synopsis

         use RDF::Redland;

         my $uri=new RDF::Redland::URI("http://example.com/");

         my $uri2=RDF::Redland::URI->new_from_uri($uri);

         print $uri2->as_string,"\n";

See Also