IriTerm constructor

IriTerm(
  1. String iri
)

Creates an IRI term with the specified IRI string

The IRI should be a valid absolute IRI according to RFC 3987. This constructor validates that the IRI is well-formed and absolute.

Throws RdfConstraintViolationException if the IRI is not well-formed or not absolute.

Implementation

IriTerm(this.iri) {
  _validateAbsoluteIri(iri);
}