An RDF seralizer.
Seralizes models to RDF syntax. It supports the xml:base, xml:lang, rdf:datatype and rdf:nodeID directive. You can choose between different output syntaxes by using the configuration methods or changing the configuration default values in constants.php. This class is based on the java class edu.unika.aifb.rdf.api.syntax.RDFSerializer by Boris Motik.
History:
Located in /syntax/RdfSerializer.php (line 43)
Object | --RdfSerializer
Adds a new prefix/namespace combination.
Serializer congiguration: Sort Model Flag if the serializer should sort the model by subject before serializing.
TRUE makes the RDF code more compact. TRUE is default. Default can be changed in constants.php.
Serializer congiguration: Use Attributes Flag if the serializer should serialize triples as XML attributes where possible.
TRUE makes the RDF code more compact. FALSE is default. Default can be changed in constants.php.
Serializer congiguration: Use Entities Flag if the serializer should use entities for URIs.
TRUE makes the RDF code more compact. FALSE is default. Default can be changed in constants.php.
Serializer congiguration: Use Qnames Flag if the serializer should use qualified names for RDF reserved words.
TRUE makes the RDF code more compact. TRUE is default. Default can be changed in constants.php.
Serializer congiguration: Use XML Declaration Flag if the serializer should start documents with the xml declaration <?xml version="1.0" encoding="UTF-8" ?>.
TRUE is default. Default can be changed in constants.php.
Inherited From Object
Object::toString()
Documentation generated on Fri, 13 Jan 2006 07:49:05 +0100 by phpDocumentor 1.3.0RC4