Packages

abstract class Decoder[Json] extends codec.Decoder

Linear Supertypes
codec.Decoder, Codec, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Decoder
  2. Decoder
  3. Codec
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Decoder()(implicit baseDecoder: JsonDecoder[Json])

Type Members

  1. implicit class WithObj extends AnyRef
  2. implicit class WithSemiExpandedMap extends AnyRef

Abstract Value Members

  1. abstract def graph: structure.Graph
  2. abstract def nsDecoder: Decoder[Json]

Concrete 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 apply(graph0: Lspace): Decoder[Json]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. implicit val baseDecoder: JsonDecoder[Json]
  7. lazy val blankEdges: Map[String, Task[structure.Edge[_, _]]]
    Attributes
    protected
  8. lazy val blankNodes: Map[String, Task[structure.Node]]
    Attributes
    protected
  9. lazy val blankValues: Map[String, Task[structure.Value[_]]]
    Attributes
    protected
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. lazy val ctwip: Map[String, Task[structure.ClassType[_]]]
    Attributes
    protected
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def extractIris(json: Json)(implicit activeContext: ActiveContext): List[String]

    gets list or iris

  15. def fetch(iri: String): Task[Json]
  16. def fetchClassType(iri: String)(implicit activeContext: ActiveContext): Task[structure.ClassType[_]]
  17. def fetchGraph(iri: String)(implicit activeContext: ActiveContext): Task[Unit]
  18. def fetchOntology(iri: String)(implicit activeContext: ActiveContext): Task[structure.Ontology]
  19. def fetchProperty(iri: String)(implicit activeContext: ActiveContext): Task[structure.Property]
  20. def fetchVocabularyGraph(iri: String)(implicit activeContext: ActiveContext): Task[Unit]
  21. lazy val fetchingInProgress: Map[String, Task[Json]]
    Attributes
    protected
  22. implicit def geoJsonDecoder: GeoJsonDecoder[Json]
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val httpClient: HttpClient
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. lazy val owip: Map[String, Task[structure.Ontology]]
    Attributes
    protected
  31. def parse(string: String): Task[Json]
  32. def prepareClassType(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[structure.ClassType[_]]
  33. def prepareDataType(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[datatype.DataType[_]]
  34. def prepareOntology(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[structure.Ontology]
  35. def prepareProperty(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[structure.Property]
  36. lazy val pwip: Map[String, Task[structure.Property]]
    Attributes
    protected
  37. def stringToEdge(json: String)(implicit activeContext: ActiveContext): Task[structure.Edge[Any, Any]]
  38. def stringToLabeledNode(json: String, ontology: structure.Ontology)(implicit activeContext: ActiveContext): Task[structure.Node]
  39. def stringToNode(json: String)(implicit activeContext: ActiveContext): Task[structure.Node]
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toClasstype(iri: String)(implicit activeContext: ActiveContext): Task[structure.ClassType[Any]]
  42. def toClasstypes(json: Json)(implicit activeContext: ActiveContext): Task[List[structure.ClassType[Any]]]
  43. def toCollection[T](json: List[Json], label: CollectionType[T])(implicit activeContext: ActiveContext): Task[(CollectionType[T], T)]
  44. def toData(json: Json, label: datatype.DataType[_])(implicit activeContext: ActiveContext): Task[(datatype.DataType[Any], Any)]
  45. def toDatatype(iri: String)(implicit activeContext: ActiveContext): Task[datatype.DataType[Any]]
  46. def toDatatypes(json: Json)(implicit activeContext: ActiveContext): Task[List[datatype.DataType[Any]]]
  47. def toEdge(expandedJson: ExpandedMap[Json], expectedTypes: List[structure.Property])(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
  48. def toEdge(expandedJson: ExpandedMap[Json], expectedType: Option[structure.Property])(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
  49. def toEdge(json: Json)(implicit activeContext: ActiveContext): Task[structure.Edge[Any, Any]]
  50. def toGeometric[T](json: Json, label: GeometricType[T])(implicit activeContext: ActiveContext): Task[(GeometricType[T], T)]
  51. def toLabeledNode(json: Json, ontology: structure.Ontology)(implicit activeContext: ActiveContext): Task[structure.Node]
  52. def toList(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[List[Any]]
  53. def toListSet(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[ListSet[Any]]
  54. def toLiteral[T](json: Json, label: LiteralType[T])(implicit activeContext: ActiveContext): Task[(LiteralType[T], T)]
  55. def toMap(list: List[Json], keyLabel: Option[structure.ClassType[_]], valueLabel: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[Map[Any, Any]]
  56. def toNode(expandedJson: ExpandedMap[Json], label: Option[structure.Ontology])(implicit activeContext: ActiveContext): Task[structure.Node]
  57. def toNode(json: Json)(implicit activeContext: ActiveContext): Task[structure.Node]
  58. def toObject(expandedJson: ExpandedMap[Json], expectedType: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[(structure.ClassType[Any], Any)]
  59. def toObject(json: Json, label: Option[structure.ClassType[_]] = None)(implicit activeContext: ActiveContext): Task[(structure.ClassType[Any], Any)]
  60. def toOntologies(json: Json)(implicit activeContext: ActiveContext): Task[List[structure.Ontology]]
  61. def toOntology(iri: String)(implicit activeContext: ActiveContext): Task[structure.Ontology]
  62. def toPrimitive(json: Json): Option[Any]
  63. def toProperties(json: Json)(implicit activeContext: ActiveContext): Task[List[structure.Property]]
  64. def toProperty(iri: String)(implicit activeContext: ActiveContext): Task[structure.Property]
  65. def toResource(json: Json, expectedType: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[structure.Resource[Any]]
  66. def toResource(expandedJson: ExpandedMap[Json], expectedType: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[structure.Resource[Any]]

  67. def toScopedEdge(expandedJson: ExpandedMap[Json], expectedTypes: List[structure.Property])(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
  68. def toScopedEdge(expandedJson: ExpandedMap[Json], expectedType: Option[structure.Property])(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
  69. def toScopedEdge(expandedJson: ExpandedMap[Json], expectedType: structure.Property)(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
  70. def toScopedNode(expandedJson: ExpandedMap[Json], label: Option[structure.Ontology])(implicit activeContext: ActiveContext): Task[structure.Node]
  71. def toScopedObject(json: Json, upperbound: Option[structure.ClassType[_]] = None)(implicit activeContext: ActiveContext): Task[(structure.ClassType[Any], Any)]
  72. def toSet(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[Set[Any]]
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. def toStructured[T](json: Json, label: StructuredType[T])(implicit activeContext: ActiveContext): Task[(StructuredType[T], T)]
  75. def toTuple[T](json: List[Json], label: TupleType[T])(implicit activeContext: ActiveContext): Task[(TupleType[T], T)]
  76. def toValue(json: Json, label: datatype.DataType[_])(implicit activeContext: ActiveContext): Task[structure.Value[Any]]
  77. def toVector(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[Vector[Any]]
  78. def tryData(expandedJson: ExpandedMap[Json], expectedType: Option[datatype.DataType[_]])(implicit activeContext: ActiveContext): Option[Task[(structure.ClassType[Any], Any)]]
  79. def tryEdgeRef(json: Json, label: structure.Property)(implicit activeContext: ActiveContext): Option[Task[structure.Edge[_, _]]]
  80. def tryNodeRef(json: Json)(implicit activeContext: ActiveContext): Option[Task[structure.Node]]
  81. def tryRaw(json: Json, expectedType: Option[structure.ClassType[Any]] = None)(implicit activeContext: ActiveContext): Option[Task[(structure.ClassType[Any], Any)]]
  82. def tryValue(expandedJson: ExpandedMap[Json], expectedType: Option[datatype.DataType[_]])(implicit activeContext: ActiveContext): Option[Task[structure.Value[Any]]]
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  85. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  86. def withEdges[T <: structure.Resource[_]](resource: T, otherJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[T]

    1.

    1. map key to active property 2. process value 2.1 if object 2.1.1 if no-container 2.1.1.1 teResource 2.1.2 container 2.1.2.1 container-type

    otherJson

    already expanded object

  87. object contextProcessing

    https://www.w3.org/2018/jsonld-cg-reports/json-ld-api/#context-processing-algorithms

  88. object createTermDefinition

    https://www.w3.org/2018/jsonld-cg-reports/json-ld-api/#create-term-definition

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from codec.Decoder

Inherited from Codec

Inherited from AnyRef

Inherited from Any

Ungrouped