NAME
RDF::Trine::Node::Resource - RDF Node class for resources
VERSION
This document describes RDF::Trine::Node::Resource version 0.125_01
METHODS
new ( $iri, [ $base ] )
-
Returns a new Resource structure.
uri_value
-
Returns the URI/IRI value of this resource.
uri ( $uri )
-
Returns the URI value of this resource, optionally updating the URI.
sse
-
Returns the SSE string for this resource.
as_string
-
Returns a string representation of the node.
as_ntriples
-
Returns the node in a string form suitable for NTriples serialization.
type
-
Returns the type string of this node.
equal ( $node )
-
Returns true if the two nodes are equal, false otherwise.
qname
-
If the IRI can be split into a namespace and local part for construction of a QName, returns a list containing these two parts. Otherwise throws an exception.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
COPYRIGHT
Copyright (c) 2006-2010 Gregory Todd Williams. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.