Class TriXParser

Description

Temporary implementation of a TriX-Parser (Usable only with PHP > V5) Currently, it doesn't support any namespaces and has problems with typed literals.

So this parser only works with TRIX documents where the default namespace is the TRIX namespace.

  • author: Daniel Westphal (http://www.d-westphal.de)
  • version: $Id: TriXParser.html 443 2007-06-01 16:25:38Z cax $
  • access: public

Located in /syntax/TriXParser.php (line 17)


	
			
Method Summary
TriXParser TriXParser (GraphSet &$graphSet)
void parseFile (string $pathToFile)
void parseString (string $string)
Methods
Constructor TriXParser (line 34)

Constructor Needs a reference to a graphSet

  • access: public
TriXParser TriXParser (GraphSet &$graphSet)
  • GraphSet &$graphSet
parseFile (line 56)

Parse from a file

  • access: public
void parseFile (string $pathToFile)
  • string $pathToFile
parseString (line 45)

Parse an XML string

  • access: public
void parseString (string $string)
  • string $string

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