Packages

case class NamespaceMap(base: Path, prefixes: List[(String, URI)] = Nil) extends Product with Serializable

Source
Namespace.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamespaceMap
  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 NamespaceMap(base: Path, prefixes: List[(String, URI)] = Nil)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++(that: NamespaceMap): NamespaceMap

    union of two namespace map, entries in that override the ones in this

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def add(p: String, u: String): NamespaceMap

    define a new prefix as a string (which is relative to this NamespaceMap)

  6. def add(p: String, u: URI): NamespaceMap

    define a new prefix (URI is relative to default)

  7. def apply(newBase: Path): NamespaceMap

    change the base

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def base(s: String): NamespaceMap

    change the base (relative to this NamespaceMap)

  10. val base: Path
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def compact(s: String): String

    compactifies a URI into a CURIE

  13. def default: URI

    default namespace (URI of base)

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def expand(u: URI): URI

    expands a CURIE into a URI

  16. def expand(s: String): String

    expands a CURIE in a string into a URI

  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def get(p: String): Option[URI]

    resolve a prefix

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val prefixes: List[(String, URI)]
  25. def resolve(u: String): URI

    parses, expands CURIE and resolves against base

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped