IRIs
-
struct CowlIRI : public CowlAnnotValue
Represents International Resource Identifiers.
Public Functions
-
CowlIRI *cowl_iri(CowlString *prefix, CowlString *suffix)
Returns a retained IRI whose string representation is the concatenation of the specified strings.
- Parameters
prefix – The prefix.
suffix – The suffix.
- Returns
Retained IRI, or NULL on error
-
CowlIRI *cowl_iri_from_string(UString string)
Returns a retained IRI given its string representation.
- Parameters
string – String representation of the IRI.
- Returns
Retained IRI, or NULL on error
-
CowlString *cowl_iri_get_ns(CowlIRI *iri)
Gets the namespace of the specified IRI.
- Parameters
iri – The IRI.
- Returns
The namespace.
-
CowlString *cowl_iri_get_rem(CowlIRI *iri)
Gets the remainder of the specified IRI.
- Parameters
iri – The IRI.
- Returns
The remainder.
Public Static Functions
-
CowlIRI *cowl_iri(CowlString *prefix, CowlString *suffix)