Class

com.avsystem.commons.serialization

SingletonCodec

Related Doc: package serialization

Permalink

class SingletonCodec[T <: Singleton] extends ErrorReportingCodec[T] with OOOFieldsObjectCodec[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingletonCodec
  2. OOOFieldsObjectCodec
  3. ObjectCodec
  4. NullSafeCodec
  5. GenObjectCodec
  6. ErrorReportingCodec
  7. GenCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingletonCodec(typeRepr: String, singletonValue: ⇒ T)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. def caseFieldName: String

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def fieldMissing(field: String): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. final def missingCase: Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  15. final def missingCase(fieldToRead: String): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notSingleField(empty: Boolean): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. final def nullable: Boolean

    Permalink
    Definition Classes
    SingletonCodecNullSafeCodec
  21. final def read(input: Input): T

    Permalink

    Deserializes a value of type T from an Input.

    Deserializes a value of type T from an Input.

    Definition Classes
    NullSafeCodecGenCodec
  22. final def readCase[A](caseName: String, input: Input, codec: GenCodec[A]): A

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  23. final def readCaseName(fi: FieldInput): String

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  24. final def readField[A](fieldInput: FieldInput, codec: GenCodec[A]): A

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  25. final def readFlatCase[A](caseName: String, input: ObjectInput, codec: ObjectCodec[A]): A

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  26. final def readFlatCase[A](caseName: String, outOfOrderFields: FieldValues, input: ObjectInput, codec: OOOFieldsObjectCodec[A]): A

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  27. final def readNonNull(input: Input): T

    Permalink
    Definition Classes
    ObjectCodecNullSafeCodec
  28. final def readObject(input: ObjectInput, outOfOrderFields: FieldValues): T

    Permalink
    Definition Classes
    SingletonCodecOOOFieldsObjectCodec
  29. final def readObject(input: ObjectInput): T

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. val typeRepr: String

    Permalink
    Attributes
    protected
    Definition Classes
    SingletonCodecErrorReportingCodec
  33. final def unapplyFailed: Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  34. final def unknownCase(caseName: String): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  35. final def unknownCase(value: T): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def write(output: Output, value: T): Unit

    Permalink

    Serializes a value of type T into an Output.

    Serializes a value of type T into an Output.

    Definition Classes
    NullSafeCodecGenCodec
  40. final def writeCase[A](fieldName: String, output: ObjectOutput, value: A, codec: GenCodec[A]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  41. final def writeField(fieldName: String, output: ObjectOutput, value: Double): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  42. final def writeField(fieldName: String, output: ObjectOutput, value: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  43. final def writeField(fieldName: String, output: ObjectOutput, value: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  44. final def writeField(fieldName: String, output: ObjectOutput, value: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  45. final def writeField[A](fieldName: String, output: ObjectOutput, value: A, codec: GenCodec[A]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  46. final def writeFlatCase[A](caseName: String, transient: Boolean, output: ObjectOutput, value: A, codec: ObjectCodec[A]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ErrorReportingCodec
  47. final def writeNonNull(output: Output, value: T): Unit

    Permalink
    Definition Classes
    ObjectCodecNullSafeCodec
  48. def writeObject(output: ObjectOutput, value: T): Unit

    Permalink
    Definition Classes
    SingletonCodecObjectCodecGenObjectCodec

Inherited from OOOFieldsObjectCodec[T]

Inherited from ObjectCodec[T]

Inherited from NullSafeCodec[T]

Inherited from GenObjectCodec[T]

Inherited from ErrorReportingCodec[T]

Inherited from GenCodec[T]

Inherited from AnyRef

Inherited from Any

Ungrouped