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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  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]] = ..., namedEdgeDescriptors: Iterable[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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. 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 any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

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

    Attributes
    protected
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. 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.

  12. 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.

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

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

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

    Attributes
    protected
  16. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected
  33. final def notify(): Unit

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

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

  36. val sectionIds: SectionId

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

  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
    @throws( ... )
  42. 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 any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (descriptor: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (descriptor: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Descriptor[N]

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to ArrowAssoc[Descriptor[N]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (descriptor: ArrowAssoc[Descriptor[N]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Descriptor[N]

    Implicit information
    This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (descriptor: Ensuring[Descriptor[N]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped