class NameUnmarshallerReceptacle[T] extends AnyRef
- Source
- NameReceptacle.scala
- Alphabetic
- By Inheritance
- NameUnmarshallerReceptacle
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NameUnmarshallerReceptacle(name: String, um: FromStringUnmarshaller[T])
Value Members
- def !(requiredValue: T): RequiredValueUnmarshallerReceptacle[T]
Require the given value and extract nothing.
Require the given value and extract nothing. Reject if it is missing or has a different value. Symbolic alias for requiredValue.
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *: RepeatedValueUnmarshallerReceptacle[T]
Extract multiple occurrences as
Iterable[String].Extract multiple occurrences as
Iterable[String]. Symbolic alias for repeated. - final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ?(default: T): NameDefaultUnmarshallerReceptacle[T]
Extract the optional value as
T, if it is missing use the given default value.Extract the optional value as
T, if it is missing use the given default value. Symbolic alias for withDefault. - def ?: NameOptionUnmarshallerReceptacle[T]
Extract the optional value as
Option[T].Extract the optional value as
Option[T]. Symbolic alias for optional. - def as[B](implicit unmarshaller: Unmarshaller[T, B]): NameUnmarshallerReceptacle[B]
Extract the value as the specified type.
Extract the value as the specified type. You need a matching Unmarshaller in scope for that to work.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def optional: NameOptionUnmarshallerReceptacle[T]
Extract the optional value as
Option[T].Extract the optional value as
Option[T]. Symbolic alias for optional. - def repeated: RepeatedValueUnmarshallerReceptacle[T]
Extract multiple occurrences as
Iterable[String]. - def requiredValue(requiredValue: T): RequiredValueUnmarshallerReceptacle[T]
Require the given value and extract nothing.
Require the given value and extract nothing. Reject if it is missing or has a different value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val um: FromStringUnmarshaller[T]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withDefault(default: T): NameDefaultUnmarshallerReceptacle[T]
Extract the optional value as
T, if it is missing use the given default value.