Packages

abstract class LEdgeDescriptor[N, E <: AnyEdge[N], L] extends EdgeDescriptorBase[N, E] with Label[E]

Determines how to extract data of labeled edges from a JValue and how to decompose such an edge to a JValue.

Instances of this class must be passed as a constructor argument to a scalax.collection.io.json.descriptor.Descriptor either directly or indirectly by utilizing a predefined edge descriptor.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LEdgeDescriptor
  2. Label
  3. EdgeDescriptorBase
  4. GenEdgeDescriptor
  5. TypeId
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LEdgeDescriptor(edgeFactory: (N, N, L) => E, aLabel: L, customSerializer: Option[Serializer[_ <: LEdgeParameters[L]]] = None, extraClasses: List[Class[_]] = Nil, typeId: String = Defaults.defaultId)(implicit classTag: ClassTag[E], labelManifest: Manifest[L])

    edgeFactory

    factory method to create WUnDiEdge, WDiEdge or any other user-defined typed edge.

    customSerializer

    Some list-json custom serializer or None.

    extraClasses

    list of classes referenced by this node provided they are to be (de)serialized; empty by default.

    typeId

    denotes the edge type in a JSON text.

Abstract Value Members

  1. abstract def label(edge: E): Any

    Extracts the label part of the typed edge into any convenient type.

    Extracts the label part of the typed edge into any convenient type.

    Attributes
    protected
    Definition Classes
    Label

Concrete 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
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toany2stringadd[LEdgeDescriptor[N, E, L]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LEdgeDescriptor[N, E, L], B)
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toArrowAssoc[LEdgeDescriptor[N, E, L]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val aLabel: L
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val classTag: ClassTag[_]
    Definition Classes
    GenEdgeDescriptor
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. val customSerializer: Option[Serializer[_ <: Parameters]]
    Definition Classes
    EdgeDescriptorBase
  11. final def decompose(edge: E)(implicit descriptor: Descriptor[N]): JValue
    Definition Classes
    EdgeDescriptorBase
  12. val edgeFactory: (N, N, L) => E
  13. def ensuring(cond: (LEdgeDescriptor[N, E, L]) => Boolean, msg: => Any): LEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toEnsuring[LEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (LEdgeDescriptor[N, E, L]) => Boolean): LEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toEnsuring[LEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): LEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toEnsuring[LEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): LEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toEnsuring[LEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. val extraClasses: List[Class[_]]
    Definition Classes
    EdgeDescriptorBase
  20. def extract(jsonEdge: JValue): LEdgeParameters[L]
    Definition Classes
    LEdgeDescriptorEdgeDescriptorBase
  21. implicit val formats: Formats
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. implicit val labelManifest: Manifest[L]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def nodeIds(ends: OneOrMore[N], descriptor: Descriptor[N]): OneOrMoreNodeIds
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  28. def nodeIds(edge: E, descriptor: Descriptor[N]): SeveralNodeIds
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toParameters(edge: E)(implicit descriptor: Descriptor[N]): LEdgeParameters[Any]
    Attributes
    protected
    Definition Classes
    LEdgeDescriptorEdgeDescriptorBase
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. val typeId: String
    Definition Classes
    GenEdgeDescriptorTypeId
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toStringFormat[LEdgeDescriptor[N, E, L]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (LEdgeDescriptor[N, E, L], B)
    Implicit
    This member is added by an implicit conversion from LEdgeDescriptor[N, E, L] toArrowAssoc[LEdgeDescriptor[N, E, L]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Label[E]

Inherited from EdgeDescriptorBase[N, E]

Inherited from GenEdgeDescriptor[N]

Inherited from TypeId

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromLEdgeDescriptor[N, E, L] to any2stringadd[LEdgeDescriptor[N, E, L]]

Inherited by implicit conversion StringFormat fromLEdgeDescriptor[N, E, L] to StringFormat[LEdgeDescriptor[N, E, L]]

Inherited by implicit conversion Ensuring fromLEdgeDescriptor[N, E, L] to Ensuring[LEdgeDescriptor[N, E, L]]

Inherited by implicit conversion ArrowAssoc fromLEdgeDescriptor[N, E, L] to ArrowAssoc[LEdgeDescriptor[N, E, L]]

Ungrouped