Base

com.tersesystems.blindsight.jsonld.Keyword$.Base
trait Base extends Keyword[Base] with IRIBindingKey

Used to set the base IRI against which to resolve those relative IRI references which are otherwise interpreted relative to the document. This keyword is described in ยง 4.1.3 Base IRI.

Attributes

Source:
Keyword.scala
Graph
Supertypes
trait Keyword[Base]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def alias(name: String): KeywordType

A keyword can be aliased to another name.

A keyword can be aliased to another name.

val exampleId = Keyword.`@id`.alias("exampleId").bindIRI
// prints out "exampleId": "http://example.com/exampleId"
val entry: NodeEntry = exampleId -> "http://example.com/exampleId"

Attributes

name

the alias name of the keyword.

Returns:

the same type using a different alias.

See also:
Inherited from:
Keyword
Source:
Keyword.scala

Attributes

Inherited from:
IRIBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
IRIBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
BindingKey
Source:
BindingKey.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Keyword -> Any
Inherited from:
Keyword
Source:
Keyword.scala