| Home | Trees | Index | Help |
|---|
| Package rdflib :: Package syntax :: Package serializers :: Module TurtleSerializer :: Class TurtleSerializer |
|
object --+
|
AbstractSerializer --+
|
RecursiveSerializer --+
|
TurtleSerializer
N3Serializer| Method Summary | |
|---|---|
__init__(self,
store)
| |
doList(self,
l)
| |
endDocument(self)
| |
getQName(self,
uri)
| |
Checks if l is a valid RDF list, i.e. | |
label(self,
node)
| |
objectList(self,
objects)
| |
p_default(self,
node,
ignore)
| |
p_squared(self,
node,
position)
| |
path(self,
node,
position)
| |
predicateList(self,
subject)
| |
preprocessTriple(self,
triple)
| |
reset(self)
| |
s_default(self,
subject)
| |
s_squared(self,
subject)
| |
Abstract method | |
startDocument(self)
| |
statement(self,
subject)
| |
verb(self,
node)
| |
| Inherited from RecursiveSerializer | |
| |
Build a hash key by predicate to a list of objects for the given subject | |
Check to see if the subject should be serialized yet | |
Returns indent string multiplied by the depth | |
Return true if subject is serialized | |
| |
| |
Return the number of times this node has been referenced in the object position | |
Take a hash from predicate uris to lists of values. | |
Mark a subject as done. | |
Write text in given encoding. | |
| Inherited from AbstractSerializer | |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
str |
indentString = ' '
|
str |
short_name = 'turtle'
|
| Inherited from RecursiveSerializer | |
int |
maxDepth = 10 |
list |
predicateOrder = [rdflib.URIRef('http://www.w3.org/1999/...
|
list |
topClasses = [rdflib.URIRef('http://www.w3.org/2000/01/r...
|
| Method Details |
|---|
isValidList(self, l)Checks if l is a valid RDF list, i.e. no nodes have other properties. |
serialize(self, stream, base=None, encoding=None, **args)Abstract method
|
| Class Variable Details |
|---|
indentString
|
short_name
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Apr 4 16:05:47 2007 | http://epydoc.sf.net |