RDF::Core::Model::Parser(3pm) - phpMan

Command: man perldoc info search(apropos)  


RDF::Core::Model::Parser(3pm)  User Contributed Perl Documentation  RDF::Core::Model::Parser(3pm)



NAME
       RDF::Core::Model::Parser - interface between model and RDF::Core::Parser

SYNOPSIS
         require RDF::Core::Model::Parser;
         %options = (Model => $model,
                     Source => $fileName,
                     SourceType => 'file',
                     #parserOptions
                     BaseURI => "http://www.foo.com/",
                     BNodePrefix => "genid"
                    )
         my $parser = new RDF::Core::Model::Parser(%options);
         $parser->parse;

DESCRIPTION
       While RDF::Core::Parser transforms RDF/XML syntax into general assertions,
       RDF::Core::Model::Parser defines default handler for assertion and provides methods that
       should conform any parsing request. That is setting options and doing the parse job. If
       there is need for use of another existing rdf parser or more parsers, a new parser
       interface should be created.

   Interface
       o   new(%options)

           Available options are:

           o   Model

               Where should the statements be stored in.

           o   Source

               A name of a XML file or a string containing XML.

           o   SourceType

               Contains 'string' if source is a XML string or 'file' if source is a file name.

           o   [ParserOptions]

               All other options are passed to the parser (RDF::Core::Parser).

       o   getOptions

       o   setOptions(\%options)

       o   parse

LICENSE
       This package is subject to the MPL (or the GPL alternatively).

AUTHOR
       Ginger Alliance, rdf AT gingerall.cz

SEE ALSO
       RDF::Core::Parser, RDF::Core::Model



perl v5.10.0                                2004-08-12              RDF::Core::Model::Parser(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-25 01:38 @38.107.179.238 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!