NameUnmarshallerReceptacle

pl.iterators.stir.common.NameUnmarshallerReceptacle
class NameUnmarshallerReceptacle[T](val name: String, val um: FromStringUnmarshaller[T])

Attributes

Source
NameReceptacle.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def !(requiredValue: T): RequiredValueUnmarshallerReceptacle[T]

Require the given value and extract nothing. Reject if it is missing or has a different value. Symbolic alias for requiredValue.

Require the given value and extract nothing. Reject if it is missing or has a different value. Symbolic alias for requiredValue.

Attributes

Source
NameReceptacle.scala

Extract multiple occurrences as Iterable[String]. Symbolic alias for repeated.

Extract multiple occurrences as Iterable[String]. Symbolic alias for repeated.

Attributes

Source
NameReceptacle.scala

Extract the optional value as Option[T]. Symbolic alias for optional.

Extract the optional value as Option[T]. Symbolic alias for optional.

Attributes

Source
NameReceptacle.scala
def ?(default: T): NameDefaultUnmarshallerReceptacle[T]

Extract the optional value as T, if it is missing use the given default value. Symbolic alias for withDefault.

Extract the optional value as T, if it is missing use the given default value. Symbolic alias for withDefault.

Attributes

Source
NameReceptacle.scala
def as[B](implicit unmarshaller: Unmarshaller[T, B]): NameUnmarshallerReceptacle[B]

Extract the value as the specified type. You need a matching Unmarshaller in scope for that to work.

Extract the value as the specified type. You need a matching Unmarshaller in scope for that to work.

Attributes

Source
NameReceptacle.scala

Extract the optional value as Option[T]. Symbolic alias for optional.

Extract the optional value as Option[T]. Symbolic alias for optional.

Attributes

Source
NameReceptacle.scala

Extract multiple occurrences as Iterable[String].

Extract multiple occurrences as Iterable[String].

Attributes

Source
NameReceptacle.scala

Require the given value and extract nothing. Reject if it is missing or has a different value.

Require the given value and extract nothing. Reject if it is missing or has a different value.

Attributes

Source
NameReceptacle.scala

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.

Attributes

Source
NameReceptacle.scala

Concrete fields

val name: String

Attributes

Source
NameReceptacle.scala

Attributes

Source
NameReceptacle.scala