Docs For Class EasyRdf_Serialiser_Rapper

## Class EasyRdf_Serialiser_Rapper

Description

Class to serialise an EasyRdf_Graph to RDF using the 'rapper' command line tool.

Note: the built-in N-Triples serialiser is used to pass data to Rapper.

- copyright: Copyright (c) 2009-2010 Nicholas J Humfrey
- license: http://www.opensource.org/licenses/bsd-license.php

Located in /EasyRdf/Serialiser/Rapper.php (line 49)

    EasyRdf_Serialiser
       |
       --EasyRdf_Serialiser_Ntriples
          |
          --EasyRdf_Serialiser_Rapper

Method Summary
object EasyRdf_Serialiser_Rapper __construct ([string $rapperCmd = 'rapper'])
string serialise (object EasyRdf_Graph $graph, string $format)
Methods
Constructor __construct (line 59)

Constructor

- access: public

object EasyRdf_Serialiser_Rapper __construct ([string $rapperCmd = 'rapper'])

- string $rapperCmd: Optional path to the rapper command to use.

serialise (line 78)

Serialise an EasyRdf_Graph to the RDF format of choice.

- return: The RDF in the new desired format.
- access: public

string serialise (object EasyRdf_Graph $graph, string $format)

- object EasyRdf_Graph $graph: An EasyRdf_Graph object.
- string $format: The name of the format to convert to.

Redefinition of:

EasyRdf_Serialiser_Ntriples::serialise()
  Serialise an EasyRdf_Graph into N-Triples

#### Inherited Methods

Inherited From EasyRdf_Serialiser_Ntriples

> EasyRdf_Serialiser_Ntriples::serialise()

Documentation generated on Wed, 20 Jul 2011 19:54:04 +0100 by phpDocumentor 1.4.3