
scales.xml.trax.StreamConversions.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scales-xml_2.11 Show documentation
Show all versions of scales-xml_2.11 Show documentation
An alternate Scala Xml processing library
The newest version!
package scales.xml.trax
import scales.utils._
import scales.xml.{PullType, XmlTree, dsl}
import dsl.DslBuilder
/**
* All safe conversions from T to Iterator[PullType].
*
*/
trait PullTypeConversionImplicits {
implicit def treeToStream( tree : XmlTree ) : Iterator[PullType] = new TreeIterable(tree)
implicit def dslToStream( ds : DslBuilder ) : Iterator[PullType] = new TreeIterable(ds.toTree)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy