Gregory Todd Williams > RDF-Trine > RDF::Trine::Parser::RDFa

Download:
RDF-Trine-0.140.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.140   Source  

NAME ^

RDF::Trine::Parser::RDFa - RDFa Parser

VERSION ^

This document describes RDF::Trine::Parser::RDFa version 0.140

SYNOPSIS ^

 use RDF::Trine::Parser;
 my $parser     = RDF::Trine::Parser->new( 'rdfxml' );
 $parser->parse_into_model( $base_uri, $data, $model );

DESCRIPTION ^

...

METHODS ^

Beyond the methods documented below, this class inherits methods from the RDF::Trine::Parser class.

new ( options => \%options )

Returns a new RDFa parser object with the supplied options.

parse_into_model ( $base_uri, $data, $model [, context => $context] )

Parses the $data, using the given $base_uri. For each RDF statement parsed, will call $model->add_statement( $statement ).

parse ( $base_uri, $rdf, \&handler )

AUTHOR ^

Gregory Todd Williams <gwilliams@cpan.org>

COPYRIGHT ^

Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: