oldman.core.validation package¶
Submodules¶
oldman.core.validation.value_format module¶
-
class
oldman.core.validation.value_format.
AnyValueFormat
[source]¶ Bases:
oldman.core.validation.value_format.ValueFormat
Accepts any value.
-
class
oldman.core.validation.value_format.
EmailValueFormat
[source]¶ Bases:
oldman.core.validation.value_format.TypedValueFormat
Checks that the value is an email address.
-
class
oldman.core.validation.value_format.
HexBinaryFormat
[source]¶ Bases:
oldman.core.validation.value_format.TypedValueFormat
Checks that the value is a hexadecimal string.
-
class
oldman.core.validation.value_format.
IRIValueFormat
[source]¶ Bases:
oldman.core.validation.value_format.ValueFormat
Checks that the value is an IRI.
-
class
oldman.core.validation.value_format.
NegativeTypedValueFormat
(types)[source]¶ Bases:
oldman.core.validation.value_format.TypedValueFormat
Checks that the value is a negative number.
-
class
oldman.core.validation.value_format.
NonNegativeTypedValueFormat
(types)[source]¶ Bases:
oldman.core.validation.value_format.TypedValueFormat
Checks that the value is a non-negative number.
-
class
oldman.core.validation.value_format.
NonPositiveTypedValueFormat
(types)[source]¶ Bases:
oldman.core.validation.value_format.TypedValueFormat
Checks that the value is a non-positive number.
-
class
oldman.core.validation.value_format.
PositiveTypedValueFormat
(types)[source]¶ Bases:
oldman.core.validation.value_format.TypedValueFormat
Checks that the value is a positive number.
-
class
oldman.core.validation.value_format.
TypedValueFormat
(types)[source]¶ Bases:
oldman.core.validation.value_format.ValueFormat
Checks that the value is of a given type.
Parameters: types – Supported Python types.
-
class
oldman.core.validation.value_format.
ValueFormat
[source]¶ Bases:
object
A
ValueFormat
object checks the values and converts rdflib.term.Identifier objects into Python objects.
-
exception
oldman.core.validation.value_format.
ValueFormatError
[source]¶ Bases:
exceptions.Exception
Invalid format detected.