case class PrefixMap(pm: Map[Prefix, IRI]) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- PrefixMap
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addPrefix(prefix: Prefix, iri: IRI): PrefixMap
- def addPrefix(prefix: String, iri: IRI): PrefixMap
- def addPrefixMap(other: PrefixMap): PrefixMap
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def contains(prefix: String): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getIRI(prefix: String): Option[IRI]
Given an alias, return the IRI associated with the alias
-
def
getPrefixLocalName(iri: IRI): Either[String, (Prefix, IRI, String)]
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")
- def isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(other: PrefixMap): PrefixMap
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pm: Map[Prefix, IRI]
-
def
prefixes: List[String]
If prefixMap contains a: -> http://example.org/ then qualifyString("http://example.org/x") = "a:x" else <http://example.org/x>
-
def
qname(str: String): Option[IRI]
Qualify a string If prefix map contains "ex" -> "http://example.org" qname("ex:age") -> "http://example.org/age"
- def qualify(node: RDFNode): String
- def qualifyIRI(iri: IRI): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- PrefixMap → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )