OptionalNodeDecoder

harness.xml.XmlDecoder$.OptionalNodeDecoder
final class OptionalNodeDecoder[T](nodeName: String, innerDecoder: XmlDecoder[T]) extends XmlDecoder[Option[T]]

Attributes

Graph
Supertypes
trait XmlDecoder[Option[T]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def decodeAccumulating(nodeSeq: Seq[Node]): EitherNel[String, Option[T]]

Attributes

Definition Classes

Inherited methods

final def /:(nodeName: String): SingleNodeDecoder[T]

Attributes

Inherited from:
XmlDecoder
final def <*>[T2](other: XmlDecoder[T2])(implicit zip: Zip[Option[T], T2]): XmlDecoder[Out]

Attributes

Inherited from:
XmlDecoder
final def decode(nodeSeq: Seq[Node]): Either[String, T]

Attributes

Inherited from:
XmlDecoder
def emap[T2](f: Option[T] => EitherNel[String, T2]): XmlDecoder[T2]

Attributes

Inherited from:
XmlDecoder
final def inNode(nodeName: String): SingleNodeDecoder[T]

Attributes

Inherited from:
XmlDecoder
def map[T2](f: Option[T] => T2): XmlDecoder[T2]

Attributes

Inherited from:
XmlDecoder
final def someOrElse[T2](default: => T2)(implicit ev: Option[T] <:< Option[T2]): XmlDecoder[T2]

Attributes

Inherited from:
XmlDecoder