RDF::RDFa::Parser::Profile - base class for RDFa profiles
This is a base class for RDFa profiles. You don't need to know anything about this module unless you're doing some seriously weird stuff.
This module uses Module::Pluggable to load all modules in the RDF::RDFa::Parser::Profile::* namespace and delegate to them as appropriate.
RDF::RDFa::Parser::Profile::*
The constructor (new) takes a URI for an RDF profile and returns either undef (meaning "I don't want anything to do with that profile") or an object with get_terms, get_prefixes and get_vocabulary methods.
new
get_terms
get_prefixes
get_vocabulary
get_terms returns a list of arrayrefs such that each arrayref has the following entries:
get_prefixes returns a list of arrayrefs such that each arrayref has the following entries:
get_vocabulary returns the URI stem for the default vocabulary set by the profile, or undef if no such vocabulary is set by the profile.
RDF::RDFa::Parser, RDF::RDFa::Parser::Profile::Null, RDF::RDFa::Parser::Profile::XHTML, RDF::RDFa::Parser::Profile::IETFLinkTypes, RDF::RDFa::Parser::Profile::RDF, etc.
Toby Inkster <tobyink@cpan.org>.
Copyright 2008-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install RDF::RDFa::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::RDFa::Parser
CPAN shell
perl -MCPAN -e shell install RDF::RDFa::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.