4Suite API Documentation

Module Ft.Rdf.Serializers

Serializers create a serialized representation from an RDF model, or populate a model with statements from a serialized form. Currently the only built-in serializer for 4RDF handles a DOM form representing the XML serialization from the RDF Model and syntax recommendation at http://www.w3.org/TR/REC-rdf-syntax/.


RDF model-to-DOM serialization, DOM-to-RDF model deserialization where the serialized DOM conforms to RDF/XML syntax (1999 Recommendation)
N3 Deserializer which makes use of Sean B. Palmer's n3p <http://inamidst.com/n3p>
N-Triples module. http://www.w3.org/TR/rdf-testcases/#ntriples
RDF model-to-TriX DOM serialization, TriX XML-to-RDF model deserialization, using SAX, where the serialized XML conforms to TriX syntax.


class Error
class RdfException(Exception)


__init__(self, errorCode, args=None)
Overrides: __init__ from class Exception

Methods inherited from class Exception

__getitem__, __str__