Class SparqlEngine_ResultRenderer_XML

Description

Implements interfaces:

XML result renderer for SparqlEngine

Located in /sparql/SparqlEngine/ResultRenderer/XML.php (line 12)


	
			
Method Summary
string convertFromResult (array $arVartable, Query $query, SparqlEngine $engine)
String _getBindingString (String $varname, Node $varvalue)
Methods
convertFromResult (line 23)

Converts the database results into the output format and returns the result.

  • return: XML result
  • access: public
string convertFromResult (array $arVartable, Query $query, SparqlEngine $engine)
  • array $arVartable: Variable table
  • Query $query: SPARQL query object
  • SparqlEngine $engine: Sparql Engine to query the database

Implementation of:
SparqlEngine_ResultRenderer::convertFromResult()
Converts the database results into the desired output format and returns the result.
_getBindingString (line 92)

Helper Function for function buildXmlResult($vartable). Generates an xml string for a single variable an their corresponding value.

  • return: The xml string
  • access: protected
String _getBindingString (String $varname, Node $varvalue)
  • String $varname: The variables name
  • Node $varvalue: The value of the variable

Documentation generated on Fri, 1 Jun 2007 16:52:46 +0200 by phpDocumentor 1.3.2