object Dom

Simple Document Object Model (DOM) for CBOR.

Practically all valid CBOR encodings can be decoded into this structure and vice versa. Provided as an alternative to plain Writer-based encoding and Reader-based decoding.

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

Type Members

  1. sealed abstract class AbstractBytesElem extends Element
  2. sealed abstract class AbstractTextElem extends Element
  3. sealed abstract class ArrayElem extends Element
  4. final case class BooleanElem(value: Boolean) extends Element with Product with Serializable
  5. final case class ByteArrayElem(value: Array[Byte]) extends AbstractBytesElem with Product with Serializable
  6. final case class BytesStreamElem(value: Vector[AbstractBytesElem]) extends AbstractBytesElem with Product with Serializable
  7. final case class DoubleElem(value: Double) extends Element with Product with Serializable
  8. sealed abstract class Element extends AnyRef
  9. final case class Float16Elem(value: Float) extends Element with Product with Serializable
  10. final case class FloatElem(value: Float) extends Element with Product with Serializable
  11. final case class IntElem(value: Int) extends Element with Product with Serializable
  12. final case class LongElem(value: Long) extends Element with Product with Serializable
  13. sealed abstract class MapElem extends Element
  14. final case class NumberStringElem(value: String) extends Element with Product with Serializable
  15. final case class OverLongElem(negative: Boolean, value: Long) extends Element with Product with Serializable
  16. final case class SimpleValueElem(value: SimpleValue) extends Element with Product with Serializable
  17. final case class StringElem(value: String) extends AbstractTextElem with Product with Serializable
  18. final case class TaggedElem(tag: Tag, value: Element) extends Element with Product with Serializable
  19. final case class TextStreamElem(value: Vector[AbstractTextElem]) extends AbstractTextElem with Product with Serializable
  20. trait Transformer extends (Element) => Element

    A Dom.Transformer encapsulates the ability for arbitrary DOM transformations.

    A Dom.Transformer encapsulates the ability for arbitrary DOM transformations. The default implementation applies a NOP transformation, i.e. returns an identical DOM structure.

    Override some or all methods to customize the transformation logic.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. implicit def decoder[T <: Element]: Decoder[T]
  7. val elementDecoder: Decoder[Element]
  8. val elementEncoder: Encoder[Element]
  9. implicit def encoder[T <: Element]: Encoder[T]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. object ArrayElem
  24. object BooleanElem extends Serializable
  25. object MapElem
  26. case object NullElem extends Element with Product with Serializable
  27. object Transformer
  28. case object UndefinedElem extends Element with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped