LEARN ABOUT DEBIAN
rdf::helper::properties
RDF::Helper::Properties(3pm) User Contributed Perl Documentation RDF::Helper::Properties(3pm)
NAME
RDF::Helper::Properties - Module that provides shortcuts to retrieve certain information
VERSION
Version 0.10
SYNOPSIS
my $pred = RDF::Helper::Properties->new($model);
print $pred->title
METHODS
"new ( model => $model )"
Constructor for getting predicates from a model, which is passed to the constructor.
"model"
Will return the current model.
"page ( $node )"
A suitable page to redirect to, based on foaf:page or foaf:homepage
"title ( $node )"
A suitable title for the document will be returned, based on document contents
"description ( $node )"
A suitable description for the document will be returned, based on document contents
"html_node_value"
Formats the nodes for HTML output.
with_role
Is there just because of quirk in Error, don't worry about it.
AUTHOR
Most of the code was written by Gregory Todd Williams "<gwilliams@cpan.org>" for RDF::LinkedData::Apache, but refactored into this class
for use by other modules by Kjetil Kjernsmo, "<kjetilk at cpan.org>"
COPYRIGHT & LICENSE
Copyright 2010 Gregory Todd Williams and ABC Startsiden AS.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-08-25 RDF::Helper::Properties(3pm)