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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- XmlSource
- Serializable
- LowPriorityXmlSourceInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- macro def apply[A](implicit ev: XmlSource[A]): XmlSource[A]
Summons an XmlSource instance if one can be found.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def from[A](f: (A) => ParseResult[Node]): XmlSource[A]
Turns the specified function into a new XmlSource instance.
- implicit def fromInputResource[A](implicit arg0: InputResource[A], parser: XmlParser): XmlSource[A]
- implicit def fromReaderResource[A](implicit arg0: ReaderResource[A], parser: XmlParser): XmlSource[A]
- Definition Classes
- LowPriorityXmlSourceInstances
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit def inputSource(implicit parser: XmlParser): XmlSource[InputSource]
Turns an InputSource into a source of XML data.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val node: XmlSource[Node]
Turns a Node into a source of XML data.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()