case class NamespaceMap(base: Path, prefixes: List[(String, URI)] = Nil) extends Product with Serializable
- Source
- Namespace.scala
- Alphabetic
- By Inheritance
- NamespaceMap
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(that: NamespaceMap): NamespaceMap
union of two namespace map, entries in that override the ones in this
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(p: String, u: String): NamespaceMap
define a new prefix as a string (which is relative to this NamespaceMap)
-
def
add(p: String, u: URI): NamespaceMap
define a new prefix (URI is relative to default)
-
def
apply(newBase: Path): NamespaceMap
change the base
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
base(s: String): NamespaceMap
change the base (relative to this NamespaceMap)
- val base: Path
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compact(s: String): String
compactifies a URI into a CURIE
-
def
default: URI
default namespace (URI of base)
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
expand(u: URI): URI
expands a CURIE into a URI
-
def
expand(s: String): String
expands a CURIE in a string into a URI
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(p: String): Option[URI]
resolve a prefix
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val prefixes: List[(String, URI)]
-
def
resolve(u: String): URI
parses, expands CURIE and resolves against base
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()