Packages

class JsonLD extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonLD
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonLD(graph: Graph)

Type Members

  1. sealed trait ResourceOrClassType[T] extends AnyRef

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 addContext(builder: LDContextBuilder, json: JsonObject): JsonObject
  5. def addEdgesToJson[T](resource: Resource[T], builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)
  6. def anyToJson(value: Any, eCT: List[ClassType[_]] = List(), builder: LDContextBuilder = LDContextBuilder()): (Json, LDContextBuilder)
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def ctListToJson(l: List[ClassType[_]], builder: LDContextBuilder = LDContextBuilder()): (Json, LDContextBuilder)
  10. def dataTypeToJson(dataType: DataType[_], builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getClassType[T](obj: JsonObject, classType: ClassType[T], builder: LDGraphBuilder = LDGraphBuilder()): Try[(List[ClassType[_]], JsonObject)]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val httpClient: HttpClient
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def jsIndexToEdges[T <: Resource[_]](resource: T, key: Property, container: String, classType: ClassType[_], obj: JsonObject, builder: LDGraphBuilder = LDGraphBuilder()): Try[List[Edge[_, _]]]
  20. def jsToToEdge(obj: JsonObject, property: Property, builder: LDGraphBuilder = LDGraphBuilder()): Try[(ClassType[Any], Any)]
  21. def jsValueToValue(obj: JsonObject, classType: ClassType[_], builder: LDGraphBuilder = LDGraphBuilder()): Try[(ClassType[Any], Any)]
  22. def jsonToClassType(obj: JsonObject, builder: LDGraphBuilder = LDGraphBuilder()): Try[ClassType[_]]
  23. def jsonToDataType(_obj: JsonObject, _builder: LDGraphBuilder = LDGraphBuilder()): Try[DataType[_]]
  24. def jsonToEdge[T <: Resource[_]](resource: T, jKey: String, jValue: Json, builder: LDGraphBuilder = LDGraphBuilder()): List[Edge[_, _]]
  25. def jsonToOntology(_obj: JsonObject, _builder: LDGraphBuilder = LDGraphBuilder()): Try[Ontology]
  26. def jsonToProperty(_obj: JsonObject, _builder: LDGraphBuilder = LDGraphBuilder()): Try[Property]
  27. def jsonToValue[T](classType: ClassType[T], json: Json, builder: LDGraphBuilder = LDGraphBuilder()): Try[(ClassType[T], T)]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def nodeToJson(node: Node, builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    this method can be overridden when extending the parser and add additional Scala object representations (e.g.

    this method can be overridden when extending the parser and add additional Scala object representations (e.g. Ontology and Traversal classes) and corresponding parsers. Add a wildcard match-case which points to this method to re-use the base matchers. E.g. case _ => super.nodeResourceToJson(nodeResource, builder)

  30. def nodeToJsonWithContext(node: Node, builder: LDContextBuilder = LDContextBuilder()): (Json, LDContextBuilder)
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def ontologyToJson(ontology: Ontology, builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    ontology to json, TODO: add and return @context

  34. def parseContext(json: JsonObject, builder: LDGraphBuilder = LDGraphBuilder()): Try[(LDGraphBuilder, JsonObject)]
  35. def propertyToJson(key: Property, builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    property to json, TODO: add and return @context

  36. def resource(obj: JsonObject, builder: LDGraphBuilder = LDGraphBuilder(), expectedOntologies: ListSet[Ontology] = ListSet[Ontology](), sourceUrl: Option[String] = None): Try[Resource[_]]
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  42. object ResourceOrClassType

Inherited from AnyRef

Inherited from Any

Ungrouped