| RDF-Trine documentation | view source | Contained in the RDF-Trine distribution. |
RDF::Trine::Node::Resource - RDF Node class for resources
This document describes RDF::Trine::Node::Resource version 0.135
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class.
new ( $iri, [ $base_uri ] )Returns a new Resource structure.
uri_valueReturns the URI/IRI value of this resource.
valueReturns the URI/IRI value.
uri ( $uri )Returns the URI value of this resource, optionally updating the URI.
sseReturns the SSE string for this resource.
as_stringReturns a string representation of the node.
as_ntriplesReturns the node in a string form suitable for NTriples serialization.
typeReturns the type string of this node.
equal ( $node )Returns true if the two nodes are equal, false otherwise.
qnameIf 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.
Gregory Todd Williams <gwilliams@cpan.org>
Copyright (c) 2006-2010 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| RDF-Trine documentation | view source | Contained in the RDF-Trine distribution. |