Packages

case class PrefixMap(pm: Map[Prefix, IRI]) extends Product with Serializable

PrefixMap representation

Source
PrefixMap.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrefixMap
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrefixMap(pm: Map[Prefix, IRI])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addPrefix(prefix: Prefix, iri: IRI): PrefixMap
  5. def addPrefix(prefix: String, iri: IRI): PrefixMap
  6. def addPrefixMap(other: PrefixMap): PrefixMap
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def contains(prefix: String): Boolean
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getIRI(prefix: String): Option[IRI]

    Given an alias, return the IRI associated with the alias

  13. 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")

  14. def isEmpty: Boolean
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def merge(other: PrefixMap): PrefixMap
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val pm: Map[Prefix, IRI]
  21. def prefixes: List[String]

    If prefixMap contains a: -> http://example.org/ then qualifyString("http://example.org/x") = "a:x" else <http://example.org/x>

  22. def qname(str: String): Option[IRI]

    Qualify a string If prefix map contains "ex" -> "http://example.org" qname("ex:age") -> "http://example.org/age"

  23. def qualify(node: RDFNode): String
  24. def qualifyIRI(iri: IRI): String
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    PrefixMap → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped