EasyRdf API Documentation
Class

EasyRdf_Parser_Rdfa

class EasyRdf_Parser_Rdfa extends EasyRdf_Parser

Class to parse RDFa 1.1 with no external dependancies.

http://www.w3.org/TR/rdfa-core/

Constants

XML_NS

RDF_XML_LITERAL

TERM_REGEXP

Properties

$debug

Methods

integer parse(object $graph, string $data, string $format, string $baseUri)

Parse RDFa 1.1 into an EasyRdf_Graph

object __construct()

Constructor

Details

at line 673
public integer parse(object $graph, string $data, string $format, string $baseUri)

Parse RDFa 1.1 into an EasyRdf_Graph

Parameters

object $graph 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

Return Value

integer The number of triples added to the graph

at line 62
public object __construct()

Constructor

Return Value

object EasyRdfParserRdfa