scalax.collection.io.json.descriptor

Descriptor

class Descriptor[N] extends AnyRef

Top level descriptor to be passed to Graph/JSON conversion methods, in particular to fromJson and toJson.

Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Descriptor
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Descriptor(defaultNodeDescriptor: NodeDescriptor[N], defaultEdgeDescriptor: GenEdgeDescriptor[N], namedNodeDescriptors: Iterable[NodeDescriptor[N]] = Seq.empty[NodeDescriptor[N]], namedEdgeDescriptors: Iterable[GenEdgeDescriptor[N]] = Seq.empty[GenEdgeDescriptor[N]], sectionIds: SectionId = DefaultSectionId)

    defaultNodeDescriptor

    the only or default node descriptor accepting/producing a flat node list, that is a node list without a node typeId.

    defaultEdgeDescriptor

    the only or default edge descriptor accepting/producing a flat edge list, that is an edge list without an edge typeId.

    namedNodeDescriptors

    further optional node descriptors accepting/producing named node lists, that is node lists with an explicit node typeId.

    namedEdgeDescriptors

    further optional edge descriptors accepting/producing named edge lists, that is edge lists with an explicit edge typeId.

    sectionIds

    denotes node/edge sections in a JSON text defaulting to "nodes" and "edges".

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to any2stringadd[Descriptor[N]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Descriptor[N], B)

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to ArrowAssoc[Descriptor[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. final def classManifest(any: Any): ClassTag[_]

    Attributes
    protected
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val defaultEdgeDescriptor: GenEdgeDescriptor[N]

    the only or default edge descriptor accepting/producing a flat edge list, that is an edge list without an edge typeId.

  10. val defaultNodeDescriptor: NodeDescriptor[N]

    the only or default node descriptor accepting/producing a flat node list, that is a node list without a node typeId.

  11. def edgeDescriptor(clazz: Class[_]): GenEdgeDescriptor[N]

  12. def edgeDescriptor(typeId: String): Option[GenEdgeDescriptor[N]]

  13. val edgeDescriptors: Seq[GenEdgeDescriptor[N]]

    Attributes
    protected
  14. def ensuring(cond: (Descriptor[N]) ⇒ Boolean, msg: ⇒ Any): Descriptor[N]

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Descriptor[N]) ⇒ Boolean): Descriptor[N]

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Descriptor[N]

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Descriptor[N]

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to StringFormat[Descriptor[N]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. var lastNodeDescriptor: (Class[_], NodeDescriptor[N])

    Attributes
    protected
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def nodeDescriptor(node: N): NodeDescriptor[N]

  28. def nodeDescriptor(typeId: String): Option[NodeDescriptor[N]]

  29. val nodeDescriptors: Seq[NodeDescriptor[N]]

    Attributes
    protected
  30. lazy val nodeDescriptorsByManifest: Map[ClassTag[_], NodeDescriptor[N]]

    Attributes
    protected
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def requireUniqueTypeIds(descriptors: Iterable[TypeId]): Unit

  34. val sectionIds: SectionId

    denotes node/edge sections in a JSON text defaulting to "nodes" and "edges".

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (Descriptor[N], B)

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to ArrowAssoc[Descriptor[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Descriptor[N] to any2stringadd[Descriptor[N]]

Inherited by implicit conversion StringFormat from Descriptor[N] to StringFormat[Descriptor[N]]

Inherited by implicit conversion Ensuring from Descriptor[N] to Ensuring[Descriptor[N]]

Inherited by implicit conversion ArrowAssoc from Descriptor[N] to ArrowAssoc[Descriptor[N]]

Ungrouped