Ft.Rdf.MessageSource

Classes

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

Data and other non-method functions defined here:

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.
INVALID_CONTAINER_PROPERTY = 20
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 = 30
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_PREDICATE = 10
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.
MULTIPLE_VALUE_OBJECTS = 40
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.
NONEMPTY_PROPELT_WITH_PROPATTRS = 50
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.
NONEMPTY_PROPELT_WITH_RESATTR = 51
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 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.

Functions

_ = lambda(s)

Data

PARSE_ERROR_MESSAGES = {1: 'RDF 1.0 XML serialization feature not yet supported: %s', 10: 'Invalid predicate in RDF base URI: %s', 20: 'Only member Attrs or members allowed on a container object', 30: 'Invalid container type: %s', 40: 'The value of property %s must be a single object or a string literal.', 50: '%s, a non-empty property element must not have property attributes.', 51: '%s, a non-empty property element must not have a resource attribute.'}
RDFS_ERROR_MESSAGES = {1: 'Property "%s" has multiple ranges.', 2: '"%s" is an invalid subject for "%s" according to domain constraints.', 3: '"%s" is an invalid object for "%s" according to range constraints.'}
RDF_ERROR_MESSAGES = {1: 'RDF 1.0 core feature not yet supported: %s', 2: 'Invalid flag: "%s"', 3: 'Invalid Container Type: %s', 4: 'Invalid Regular Expression %s: %s', 5: 'Invalid argument: "%s"', 100: 'The object of a statement using aboutEach must be a container', 200: 'Missing driver'}
__file__ = 'build/lib.linux-ppc-2.2/Ft/Rdf/MessageSource.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.MessageSource'
str(object) -> string

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