Ft.Rdf.Util

Modules

Domlette  Memory  Model  cStringIO 

Classes

class Serializer
_Serializer__sortStatementsForDump = __sortStatementsForDump(self, statements)
__init__(self, reify=1)
deserialize(self, model, node, scope=None)
exportContainer(self, doc, parent, nsMap, type, stmts, id)
exportDescription(self, doc, nsMap, stmts, subject='', id='')
exportInlineResource(self, doc, nsMap, subject, origStmts)
exportSimpleStatements(self, doc, parent, nsMap, stmts)
isResource(self, res)
readBagIdAttr(self, node)
readCollection(self, model, nodeList, scope, xmlBase, forceType=None)
readContainer(self, model, node, scope)
readDamlCollection(self, model, nodeList, scope, xmlBase, forceType=None)
readDescription(self, model, node, scope)
readIdAboutAttr(self, scope, node)
readIdAttr(self, node)
readMemberAttrs(self, node)
readObject(self, model, node, scope)
readParseType(self, node)
readPropName(self, node)
readPropertyAttrs(self, node)
readPropertyElt(self, model, node, subjects, scope)
readRdfKeyAttribute(self, node, local, defaultNsAllowed=1)
readResource(self, model, nodeList, scope, subjects=None)
readResourceAttr(self, scope, node)
readString(self, st)
readTypeAttr(self, scope, node)
readValue(self, model, node, scope, parseType, predicate, forceType=None)
serialize(self, model, nsMap=None, selectUri=None, localResources=[], implementation=None, stmts=None)
splitUri(self, uri)
uriFromParts(self, baseUri, part1, part2)
validateIdSymbol(self, idSym)
validateString(self, st)
validateUriReference(self, ref)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Rdf.Serializers.Dom'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

DeserializeFromNode(node, driver=<module 'Ft.Rdf.Drivers.Memory' from 'build/lib.linux-ppc-2.2/Ft/Rdf/Drivers/Memory.py'>, dbName='', create=0, scope='', modelName='default')
DeserializeFromString(st, driver=<module 'Ft.Rdf.Drivers.Memory' from 'build/lib.linux-ppc-2.2/Ft/Rdf/Drivers/Memory.py'>, dbName='', create=0, scope='')
DeserializeFromUri(uri, driver=<module 'Ft.Rdf.Drivers.Memory' from 'build/lib.linux-ppc-2.2/Ft/Rdf/Drivers/Memory.py'>, dbName='', create=0, scope='')
GetObject(model, subject, predicate, statementUri=None, scope=None, **flags)
GetObjects(model, subject, predicate, statementUri=None, scope=None, **flags)
GetPredicate(model, subject, object, statementUri=None, scope=None, **flags)
GetPredicates(model, subject, object, statementUri=None, scope=None, **flags)
GetSubject(model, predicate, object, statementUri=None, scope=None, **flags)
GetSubjects(model, predicate, object, statementUri=None, scope=None, **flags)
PrettyPrint(root, stream=<open file '<stdout>', mode 'w' at 0x100fe970>, encoding='UTF-8', asHtml=None)
SerializeModel(m)
SerializeStatementList(slist)
VersaDataToXml(data)
VersaQuery(query, model, nsMap=None, scope=None)

Data

__file__ = 'build/lib.linux-ppc-2.2/Ft/Rdf/Util.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Rdf.Util'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.