Class EasyRdf_Parser_Turtle

Description

Class to parse Turtle with no external dependancies.

http://www.w3.org/TR/turtle/

Located in /EasyRdf/Parser/Turtle.php (line 52)

EasyRdf_Parser
   |
   --EasyRdf_Parser_Ntriples
      |
      --EasyRdf_Parser_Turtle
Method Summary
integer parse (object EasyRdf_Graph $graph, string $data, string $format, string $baseUri)
void resolve ( $uri)
Variables
Methods
Constructor __construct (line 59)

Constructor

  • access: public
parse (line 72)

Parse Turtle into an EasyRdf_Graph

  • return: The number of triples added to the graph
  • access: public
integer parse (object EasyRdf_Graph $graph, string $data, string $format, string $baseUri)
  • object EasyRdf_Graph $graph: the graph to load the data into
  • string $data: the RDF document data
  • string $format: the format of the input data
  • string $baseUri: the base URI of the data being parsed

Redefinition of:
EasyRdf_Parser_Ntriples::parse()
Parse an N-Triples document into an EasyRdf_Graph
resolve (line 940)
  • access: protected
void resolve ( $uri)
  • $uri

Inherited Methods

Inherited From EasyRdf_Parser_Ntriples

EasyRdf_Parser_Ntriples::parse()
EasyRdf_Parser_Ntriples::unescapeString()

Documentation generated on Wed, 16 Jan 2013 19:16:39 +0000 by phpDocumentor 1.4.4