PrefixMap representation
- Companion:
- object
Value members
Concrete methods
Given an alias, return the IRI associated with the alias
Given an alias, return the IRI associated with the alias
Get prefix declaration and local name of an IRI
Get prefix declaration and local name of an IRI
- Returns:
If there is a prefix declaration a: -> http://example.org/ Then, getPrefixLocalName(IRI(http://example.org/foo") returns Right("a", "foo")
If prefixMap contains a: -> http://example.org/ then qualifyString("http://example.org/x") = "a:x" else http://example.org/x
If prefixMap contains a: -> http://example.org/ then qualifyString("http://example.org/x") = "a:x" else http://example.org/x
Qualify a string If prefix map contains "ex" -> "http://example.org" qname("ex:age") -> "http://example.org/age"
Qualify a string If prefix map contains "ex" -> "http://example.org" qname("ex:age") -> "http://example.org/age"