/syntax/N3Serializer.php

Description

PHP Notation3 Serializer

This class serialises models to N3 Syntax.

Supported N3 features:

  • Using [ ] for blank nodes, or _: if nescessary
  • Literal datytype- and xmlLanguageTag support

Un-supported N3 Features include:

  • Reification

History:

  • 12-06-2004 improved namespace handling added (tobias.gauss@web.de)
  • 25-03-2004 Bug in doResource() fixed
  • 11-27-2003 fixed problems with detection for using [ ] or _: for blank nodes. Added constant N3SER_BNODE_SHORT to disable the automatic detection if bnode is referenced elsewhere
  • 11-19-2003 Support for datatypes and language tags added.
  • 08-01-2003 Made compatible with new v6 MemModel
  • 31-07-2003 Function saveAs added. <radol@gmx.de>
  • 07-16-2003 Initial version

TODO: * added namespace prefixes are persisent...

Constants
MAGIC_STRING = '~~~' (line 43)

Documentation generated on Fri, 17 Dec 2004 16:16:10 +0100 by phpDocumentor 1.3.0RC3