Keyword

com.tersesystems.blindsight.jsonld.Keyword
See theKeyword companion object
sealed trait Keyword[KeywordType <: Keyword[_]]

A keyword is a string that is specific to JSON-LD.

Different keywords have different key bindings available.

Attributes

name

the name of the keyword.

See also:

Companion:
object
Source:
Keyword.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Base
trait Container
trait Context
trait Direction
trait Graph
trait Id
trait Import
trait Included
trait Index
trait Json
trait Language
trait List
trait Nest
trait None
trait Prefix
trait Propagate
trait Reverse
trait Set
trait Type
trait Value
trait Version
trait Vocab

Members list

Concise view

Value members

Abstract 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:
Source:
Keyword.scala

Attributes

Source:
Keyword.scala

Concrete methods

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
Any
Source:
Keyword.scala