object XmlSource extends LowPriorityXmlSourceInstances with Serializable

Defines convenience methods for creating and summoning XmlSource instances.

Default implementation of standard types are declared here, always bringing them in scope without requirnig an explicit import.

The default implementations can also be useful when writing new instances: if you need to write an XmlSource[T] and already have an XmlSource[S] and a T ⇒ S, you just need to call XmlSource.contramap to get your implementation.

Source
XmlSource.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XmlSource
  2. Serializable
  3. LowPriorityXmlSourceInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. macro def apply[A](implicit ev: XmlSource[A]): XmlSource[A]

    Summons an XmlSource instance if one can be found.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def from[A](f: (A) => ParseResult[Node]): XmlSource[A]

    Turns the specified function into a new XmlSource instance.

  11. implicit def fromInputResource[A](implicit arg0: InputResource[A], parser: XmlParser): XmlSource[A]
  12. implicit def fromReaderResource[A](implicit arg0: ReaderResource[A], parser: XmlParser): XmlSource[A]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. implicit def inputSource(implicit parser: XmlParser): XmlSource[InputSource]

    Turns an InputSource into a source of XML data.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. implicit val node: XmlSource[Node]

    Turns a Node into a source of XML data.

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped