Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
RDFStore::Parser::StylUserRContributedtPerl:Parser::Styles::RDFStore::Model(3)

NAME
       RDFStore::Parser::Styles::RDFStore::Model - This	module is a
       RDFStore::Parser::SiRPAC(3) filter to ingest records into an
       RDFStore::Model(3).

SYNOPSIS
       use RDFStore::Parser::SiRPAC; use
       RDFStore::Parser::Styles::RDFStore::Model; use RDFStore::NodeFactory;
       my $p=new RDFStore::Parser::SiRPAC(			ErrorContext
       => 2,
				       Style =>
       'RDFStore::Parser::Styles::RDFStore::Model',
				       NodeFactory     => new
       RDFStore::NodeFactory()
				       );

       if(defined $ENV{GATEWAY_INTERFACE}) {
	       print "Content-type: text/html

       ";
	       $p->parsefile($ENV{QUERY_STRING}); } else {
	       my $input = shift;
	       if($input =~ /^-/) {
		       $p->parse(*STDIN);
	       } else {
		       $p->parsefile($input);
	       }; };

DESCRIPTION
       In the samples directory	of the distribution you	can find a set of a
       sample scripts to play with :)

METHODS
       new This	is a class method, the constructor for
	   RDFStore::Parser::SiRPAC. Options are passed	as key/value pairs.
	   RDFStore::Parser::Styles::MagicTie supports all the
	   RDFStore::Parser::SiRPAC options plus the following:

	   o	store

		This option if present must point to an	HASH reference.
		Recognized options are:

	   o	seevalues

		This options is	a SCALAR with possible values of 0/1 and flags
		whether	the parsing is verbose or not (print triples)

	   o	options

		This option if present must point to an	HASH reference and
		allows to the user specifying the RDFStore::Model(3) options
		about storage of the statements	of the type generated by the
		corresponding RDFStore::NodeFactory(3)

NOTES
       This module will	probably be renamed to XML::SAX::RDF::RDFStore::Model
       when proper SAX2	support	is added to the	main RDFStore::Parser::SiRPAC
       parser

SEE ALSO
       RDFStore::Parser::SiRPAC(3) and RDFStore::Model(3)

AUTHOR
       Alberto Reggiori	<areggiori@webweaving.org>

POD ERRORS
       Hey! The	above document had some	coding errors, which are explained
       below:

       Around line 327:
	   You forgot a	'=back'	before '=head1'

	   You forgot a	'=back'	before '=head1'

perl v5.32.0			  RDFStore::Parser::Styles::RDFStore::Model(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | NOTES | SEE ALSO | AUTHOR | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=RDFStore::Parser::Styles::RDFStore::Model&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help