Class

scalax.collection.io.json.descriptor

Descriptor

Related Doc: package descriptor

Permalink

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
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)

    Permalink

    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

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

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

    Permalink
    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)

    Permalink
    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

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

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

    Permalink
    Attributes
    protected
  8. def clone(): AnyRef

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

    Permalink

    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]

    Permalink

    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]

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

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

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

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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

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

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

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

    Permalink
    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[_]

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
  31. final def notify(): Unit

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

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

    Permalink
  34. val sectionIds: SectionId

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

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

    Permalink
    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