Ft.Rdf.RdfsHandler

Modules

Model       

Classes

class RdfException(exceptions.Exception)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

ABOUT_EACH_OBJECT_NOT_CONTAINER = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
FEATURE_NOT_SUPPORTED = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL_ERROR = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_ARGUMENT = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_CONTAINER_TYPE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_FLAG = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_REGEX_STATEMENT = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
MISSING_DRIVER = 200
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class RdfsConstraintViolation(exceptions.Exception)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

INVALID_DOMAIN_FOR_PROPERTY = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_RANGE_FOR_PROPERTY = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PROPERTY_HAS_MULTIPLE_RANGES = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Rdf.RdfsHandler'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class RdfsHandler(Ft.Rdf.SchemaHandler)
__init__(self)
_complete(self, subject, predicate, object, statementUri, scope, flags)
checkConstraints(self, newStmts)
initModel(self, model)
isCoreRdfs(self, stmt)
isInstance(self, obj, class_)
isSubClass(self, class1, class2)
processNewStatements(self, newStmts)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class SchemaHandler
add(self, statements)
contains(self, statements)
initModel(self)
remove(self, statements)
resume(self)
setActivity(self, value)
suspend(self)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
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.

Data

RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RDF_SCHEMA_BASE = 'http://www.w3.org/2000/01/rdf-schema#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Rdf/RdfsHandler.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.RdfsHandler'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
rdfs_serial = '<?xml version="1.0" encoding="iso-8859-1"?>\n<rdf...aluer</rdfs:label>\n </rdf:Property>\n\n</rdf:RDF>\n'
str(object) -> string

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