object XmlReader extends DefaultXmlReaders with XmlReaderExtensions

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XmlReader
  2. XmlReaderExtensions
  3. DoubleReaderExtensions
  4. IterableReaderExtensions
  5. DefaultXmlReaders
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class DoubleReaderExtension extends AnyRef
    Definition Classes
    DoubleReaderExtensions
  2. class IterableReaderExtension[T, I <: Iterable[T]] extends AnyRef
    Definition Classes
    IterableReaderExtensions
  3. implicit class SeqReaderExtension[T] extends IterableReaderExtension[T, Seq[T]]
    Definition Classes
    IterableReaderExtensions

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. def any[T](reader0: XmlReader[T], readers: XmlReader[T]*): XmlReader[T]

    An XmlReader that succeeds if any of the supplied readers succeeds with the input.

    An XmlReader that succeeds if any of the supplied readers succeeds with the input.

    Definition Classes
    DefaultXmlReaders
  5. def apply[A](f: (NodeSeq) ⇒ ParseResult[A]): XmlReader[A]

    Create a new XmlReader from a function that converts a NodeSeq to a ParseResult.

    Create a new XmlReader from a function that converts a NodeSeq to a ParseResult.

    f

    A transformation function for the transformation done by the XmlReader

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def at[A](path: XPath)(implicit reader: XmlReader[A]): XmlReader[A]

    An XmlReader that applies reader to the NodeSeq located at the XPath path.

    An XmlReader that applies reader to the NodeSeq located at the XPath path.

    Definition Classes
    DefaultXmlReaders
  8. def attribute[A](name: String)(implicit reader: XmlReader[A]): XmlReader[A]

    An XmlReader that extracts a value from the attribute of the input NodeSeq.

    An XmlReader that extracts a value from the attribute of the input NodeSeq.

    Definition Classes
    DefaultXmlReaders
  9. implicit val booleanReader: XmlReader[Boolean]

    XmlReader that gets the text of a single node as a boolean

    XmlReader that gets the text of a single node as a boolean

    Definition Classes
    DefaultXmlReaders
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. implicit val doubleReader: XmlReader[Double]

    XmlReader that gets the text of a single node as a double.

    XmlReader that gets the text of a single node as a double.

    Definition Classes
    DefaultXmlReaders
  12. implicit def enum[T <: Enumeration](e: T): XmlReader[DefaultXmlReaders.enum.T.Value]

    XmlReader that extracts an enumeration value from a NodeSeq.

    XmlReader that extracts an enumeration value from a NodeSeq. It attempts to match the text of the node to the string value of one of the enumeration values.

    Definition Classes
    DefaultXmlReaders
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def fail(error: ParseError): XmlReader[Nothing]

    returns

    An XmlReader that always fails with error

    Definition Classes
    DefaultXmlReaders
  16. def first[T](implicit reader: XmlReader[T]): XmlReader[T]

    An XmlReader that extracts the first node of the NodeSeq

    An XmlReader that extracts the first node of the NodeSeq

    Definition Classes
    DefaultXmlReaders
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. implicit val identityReader: XmlReader[NodeSeq]

    Identity XmlReader that just extracts the NodeSeq it is passed.

    Identity XmlReader that just extracts the NodeSeq it is passed.

    Definition Classes
    DefaultXmlReaders
  20. implicit val intReader: XmlReader[Int]

    XmlReader that gets the text of a single node as an int

    XmlReader that gets the text of a single node as an int

    Definition Classes
    DefaultXmlReaders
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def label[A](name: String)(implicit reader: XmlReader[A]): XmlReader[A]

    An XmlReader that extracts Nodes with a tag label of name and then applies reader.

    An XmlReader that extracts Nodes with a tag label of name and then applies reader.

    Definition Classes
    DefaultXmlReaders
  23. implicit val longReader: XmlReader[Long]

    XmlReader that gets the text of a single node as a long

    XmlReader that gets the text of a single node as a long

    Definition Classes
    DefaultXmlReaders
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. implicit val nodeReader: XmlReader[Node]

    XmlReader that matches exactly one XML node.

    XmlReader that matches exactly one XML node.

    If the input NodeSeq is empty, return ParseFailure(EmptyError()), If the input NodeSeq contains multiple nodes return ParseFailure(MultipleMatchesError()).

    Definition Classes
    DefaultXmlReaders
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def nth[T](n: Int)(implicit reader: XmlReader[T]): XmlReader[T]

    An XmlReader that extracts the nth node of the NodeSeq

    An XmlReader that extracts the nth node of the NodeSeq

    Definition Classes
    DefaultXmlReaders
  29. def of[A](implicit r: XmlReader[A]): XmlReader[A]

    Get an implicit XmlReader for a type

    Get an implicit XmlReader for a type

    A

    The result type of the desired XmlReader

    r

    The implicit XmlReader to use.

  30. implicit def optionReader[T](implicit reader: XmlReader[T]): XmlReader[Option[T]]

    Implicit XmlReader for an Option.

    Implicit XmlReader for an Option. This XmlReader will always succeed. If reader succeeds, the XmlReader will obtain a Some, otherwise it will be None

    Definition Classes
    DefaultXmlReaders
  31. def pure[A](a: ⇒ A): XmlReader[A]

    Wrap a value in an XmlReader.

    Wrap a value in an XmlReader.

    returns

    An XmlReader that always succeeds with a

    Definition Classes
    DefaultXmlReaders
  32. def seq[A](implicit reader: XmlReader[A]): XmlReader[Seq[A]]

    Read each node in the NodeSeq with reader, and succeeds with a PartialParseSuccess if any of the elements fails.

    Read each node in the NodeSeq with reader, and succeeds with a PartialParseSuccess if any of the elements fails.

    Use strictReadSeq if you want to fail on nodes that don't parse

    Definition Classes
    DefaultXmlReaders
  33. val spaceDelimitedArray: XmlReader[Array[String]]

    An XmlReader for extracting space delimited lists of values as an Array of strings.

    An XmlReader for extracting space delimited lists of values as an Array of strings.

    Definition Classes
    DefaultXmlReaders
  34. def strictReadSeq[A](implicit reader: XmlReader[A]): XmlReader[Seq[A]]

    Like seq but fail if any nodes fail the reader.

    Like seq but fail if any nodes fail the reader.

    Definition Classes
    DefaultXmlReaders
  35. implicit val stringReader: XmlReader[String]

    XmlReader matches the text of a single node.

    XmlReader matches the text of a single node.

    Definition Classes
    DefaultXmlReaders
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. implicit object algebra extends Applicative[XmlReader]

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from XmlReaderExtensions

Inherited from DoubleReaderExtensions

Inherited from IterableReaderExtensions

Inherited from DefaultXmlReaders

Inherited from AnyRef

Inherited from Any

Ungrouped