RDF.XSD (RDF.ex v0.9.2) View Source
An implementation of the XML Schema (XSD) datatype system for use within RDF.Literal.Datatype system.
It consists of
RDF.XSD.Datatype: a more specializedRDF.Literal.Datatypebehaviour for XSD datatypesRDF.XSD.Datatype.Primitive: macros for the definition ofRDF.Literal.DatatypeandRDF.XSD.Datatypeimplementations for primitive XSD datatypesRDF.XSD.Datatype.Restriction: macros for the definition ofRDF.Literal.DatatypeandRDF.XSD.Datatypeimplementations for derived XSD datatypesRDF.XSD.Facet: a behaviour for XSD facets which can be used to constrain values on datatype derivations
Link to this section Summary
Functions
Returns if the given value is a RDF.XSD.Datatype struct or RDF.Literal with a RDF.XSD.Datatype.
Get a RDF.XSD.Facet by its name.
The list of all XSD facets.
See RDF.XSD.Boolean.Value.false/0.
See RDF.XSD.Boolean.Value.true/0.
Link to this section Functions
See RDF.XSD.AnyURI.new/1.
See RDF.XSD.AnyURI.new/2.
See RDF.XSD.AnyURI.new/1.
See RDF.XSD.AnyURI.new/2.
See RDF.XSD.Byte.new/1.
See RDF.XSD.Byte.new/2.
Returns if the given value is a RDF.XSD.Datatype struct or RDF.Literal with a RDF.XSD.Datatype.
See RDF.XSD.Date.new/1.
See RDF.XSD.Date.new/2.
See RDF.XSD.Double.new/1.
See RDF.XSD.Double.new/2.
Get a RDF.XSD.Facet by its name.
Specs
facets() :: Enum.t()
The list of all XSD facets.
See RDF.XSD.Boolean.Value.false/0.
See RDF.XSD.Float.new/1.
See RDF.XSD.Float.new/2.
See RDF.XSD.Int.new/1.
See RDF.XSD.Int.new/2.
See RDF.XSD.Long.new/1.
See RDF.XSD.Long.new/2.
See RDF.XSD.Short.new/1.
See RDF.XSD.Short.new/2.
See RDF.XSD.String.new/1.
See RDF.XSD.String.new/2.
See RDF.XSD.Time.new/1.
See RDF.XSD.Time.new/2.
See RDF.XSD.Boolean.Value.true/0.