Implementation of a datatype with facets, ie, datatype with
restrictions.
|
|
boolean
|
checkValue(self,
value)
Check whether the (python) value abides to the constraints defined by
the current facets. |
source code
|
|
boolean
|
|
boolean
|
|
boolean
|
|
boolean
|
|
boolean
|
|
boolean
|
|
boolean
|
|
boolean
|
|
boolean
|
|
|
base_type
URI of the datatype that is restricted
|
|
check_methods
list of class methods that are relevant for the given
base_type
|
|
converter
method to convert a literal of the base type to a Python value (drawn
from DatatypeHandling.AltXSDToPYTHON)
|
|
datatype
the URI for this datatype
|
|
langRange
array of language ranges for the rdf:langRange facet,
initialized to [] and set to the right value if a facet
is around
|
|
length
value for the xsd:length facet, initialized to
None and set to the right value if a facet is around
|
|
maxExclusive
value for the xsd:maxExclusive facet, initialized to
None and set to the right value if a facet is around
|
|
maxInclusive
value for the xsd:maxInclusive facet, initialized to
None and set to the right value if a facet is around
|
|
maxLength
value for the xsd:maxLength facet, initialized to
None and set to the right value if a facet is around
|
|
minExclusive
value for the xsd:minExclusive facet, initialized to
None and set to the right value if a facet is around
|
|
minInclusive
value for the xsd:minInclusive facet, initialized to
None and set to the right value if a facet is around
|
|
minLength
value for the xsd:minLength facet, initialized to
None and set to the right value if a facet is around
|
|
pattern
array of patterns for the xsd:pattern facet, initialized
to [] and set to the right value if a facet is around
|
|
toPython
function to convert a Literal of the specified type to a Python
value.
|
Inherited from RestrictedDatatypeCore :
type_uri
|