Packages

  • package root
    Definition Classes
    root
  • package scales

    Scales Xml provides both a more flexible approach to XML handling and a simplified way of interacting with XML.

    Scales Xml provides both a more flexible approach to XML handling and a simplified way of interacting with XML.

    It fits nicely with the Java APIs you know, TrAX and javax.xml.validation for example, allowing you to run XSLTs and convert to and from Scales XML and other DOMs.

    It also provides a far more XPath like experience than the normal Scala XML, Paths look like XPaths and work like them too (with many of the same functions and axes).

    Definition Classes
    root
  • package xml
    Definition Classes
    scales
  • package parser
    Definition Classes
    xml
  • package pull
    Definition Classes
    parser
  • ByteSourceUser
  • CharacterSourceUser
  • Iterate
  • PullIterateeFunctions
  • PullIteratees
  • PullUtils
  • SourceUser
  • XmlPull
  • XmlPulls

class Iterate extends FlatMapIterator[xml.XmlPath]

Iterates over a path of QNames producing XPaths for a given Iterator[PullType]

Linear Supertypes
FlatMapIterator[xml.XmlPath], Iterator[xml.XmlPath], IterableOnceOps[xml.XmlPath, Iterator, Iterator[xml.XmlPath]], IterableOnce[xml.XmlPath], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Iterate
  2. FlatMapIterator
  3. Iterator
  4. IterableOnceOps
  5. IterableOnce
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Iterate(path: List[QName], xml: Iterator[xml.PullType])(implicit qe: Equal[QName])

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]]
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: xml.XmlPath](xs: => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  6. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  7. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. var before: List[QName]
  10. def buffered: BufferedIterator[xml.XmlPath]
    Definition Classes
    Iterator
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def collect[B](pf: PartialFunction[xml.XmlPath, B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  13. def collectFirst[B](pf: PartialFunction[xml.XmlPath, B]): Option[B]
    Definition Classes
    IterableOnceOps
  14. var collecting: Boolean
  15. def concat[B >: xml.XmlPath](xs: => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  16. def contains(elem: Any): Boolean
    Definition Classes
    Iterator
  17. def copyToArray[B >: xml.XmlPath](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  18. def copyToArray[B >: xml.XmlPath](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  19. def copyToArray[B >: xml.XmlPath](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  20. def corresponds[B](that: IterableOnce[B])(p: (xml.XmlPath, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  21. def count(p: (xml.XmlPath) => Boolean): Int
    Definition Classes
    IterableOnceOps
  22. var cur: xml.XmlPath
  23. def distinct: Iterator[xml.XmlPath]
    Definition Classes
    Iterator
  24. def distinctBy[B](f: (xml.XmlPath) => B): Iterator[xml.XmlPath]
    Definition Classes
    Iterator
  25. def drop(n: Int): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  26. def dropWhile(p: (xml.XmlPath) => Boolean): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  27. def duplicate: (Iterator[xml.XmlPath], Iterator[xml.XmlPath])
    Definition Classes
    Iterator
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  30. def exists(p: (xml.XmlPath) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  31. def filter(p: (xml.XmlPath) => Boolean): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  32. def filterNot(p: (xml.XmlPath) => Boolean): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  34. def find(p: (xml.XmlPath) => Boolean): Option[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  35. def flatMap[B](f: (xml.XmlPath) => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  36. def flatten[B](implicit ev: (xml.XmlPath) => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  37. def fold[A1 >: xml.XmlPath](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  38. def foldLeft[B](z: B)(op: (B, xml.XmlPath) => B): B
    Definition Classes
    IterableOnceOps
  39. def foldRight[B](z: B)(op: (xml.XmlPath, B) => B): B
    Definition Classes
    IterableOnceOps
  40. def forall(p: (xml.XmlPath) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  41. def foreach[U](f: (xml.XmlPath) => U): Unit
    Definition Classes
    IterableOnceOps
  42. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. def getNext: xml.XmlPath
  44. def grouped[B >: xml.XmlPath](size: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  45. def hasNext: Boolean
    Definition Classes
    Iterate → Iterator
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  47. def indexOf[B >: xml.XmlPath](elem: B, from: Int): Int
    Definition Classes
    Iterator
  48. def indexOf[B >: xml.XmlPath](elem: B): Int
    Definition Classes
    Iterator
  49. def indexWhere(p: (xml.XmlPath) => Boolean, from: Int): Int
    Definition Classes
    Iterator
  50. def isEmpty: Boolean
    Definition Classes
    Iterator → IterableOnceOps
    Annotations
    @deprecatedOverriding()
  51. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  52. def isTraversableAgain: Boolean
    Definition Classes
    IterableOnceOps
  53. final def iterator: Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnce
    Annotations
    @inline()
  54. def knownSize: Int
    Definition Classes
    IterableOnce
  55. final def length: Int
    Definition Classes
    Iterator
    Annotations
    @inline()
  56. def map[B](f: (xml.XmlPath) => B): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  57. def max[B >: xml.XmlPath](implicit ord: Ordering[B]): xml.XmlPath
    Definition Classes
    IterableOnceOps
  58. def maxBy[B](f: (xml.XmlPath) => B)(implicit ord: Ordering[B]): xml.XmlPath
    Definition Classes
    IterableOnceOps
  59. def maxByOption[B](f: (xml.XmlPath) => B)(implicit ord: Ordering[B]): Option[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  60. def maxOption[B >: xml.XmlPath](implicit ord: Ordering[B]): Option[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  61. def min[B >: xml.XmlPath](implicit ord: Ordering[B]): xml.XmlPath
    Definition Classes
    IterableOnceOps
  62. def minBy[B](f: (xml.XmlPath) => B)(implicit ord: Ordering[B]): xml.XmlPath
    Definition Classes
    IterableOnceOps
  63. def minByOption[B](f: (xml.XmlPath) => B)(implicit ord: Ordering[B]): Option[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  64. def minOption[B >: xml.XmlPath](implicit ord: Ordering[B]): Option[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  65. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  66. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  67. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. def next(): xml.XmlPath
    Definition Classes
    Iterate → Iterator
  70. def nextOption(): Option[xml.XmlPath]
    Definition Classes
    Iterator
  71. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  72. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  73. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  74. def padTo[B >: xml.XmlPath](len: Int, elem: B): Iterator[B]
    Definition Classes
    Iterator
  75. def partition(p: (xml.XmlPath) => Boolean): (Iterator[xml.XmlPath], Iterator[xml.XmlPath])
    Definition Classes
    Iterator
  76. def patch[B >: xml.XmlPath](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
    Definition Classes
    Iterator
  77. def product[B >: xml.XmlPath](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  78. var proxies: TreeProxies
  79. val qnames: List[QName]
  80. def reduce[B >: xml.XmlPath](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  81. def reduceLeft[B >: xml.XmlPath](op: (B, xml.XmlPath) => B): B
    Definition Classes
    IterableOnceOps
  82. def reduceLeftOption[B >: xml.XmlPath](op: (B, xml.XmlPath) => B): Option[B]
    Definition Classes
    IterableOnceOps
  83. def reduceOption[B >: xml.XmlPath](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  84. def reduceRight[B >: xml.XmlPath](op: (xml.XmlPath, B) => B): B
    Definition Classes
    IterableOnceOps
  85. def reduceRightOption[B >: xml.XmlPath](op: (xml.XmlPath, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  86. def reset: Unit
  87. def reversed: Iterable[xml.XmlPath]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  88. def sameElements[B >: xml.XmlPath](that: IterableOnce[B]): Boolean
    Definition Classes
    Iterator
  89. def scanLeft[B](z: B)(op: (B, xml.XmlPath) => B): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  90. def set(before: List[QName], proxies: TreeProxies, collecting: Boolean): Unit
  91. def size: Int
    Definition Classes
    IterableOnceOps
  92. def slice(from: Int, until: Int): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  93. def sliceIterator(from: Int, until: Int): Iterator[xml.XmlPath]
    Attributes
    protected
    Definition Classes
    Iterator
  94. def sliding[B >: xml.XmlPath](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  95. def span(p: (xml.XmlPath) => Boolean): (Iterator[xml.XmlPath], Iterator[xml.XmlPath])
    Definition Classes
    Iterator → IterableOnceOps
  96. def splitAt(n: Int): (Iterator[xml.XmlPath], Iterator[xml.XmlPath])
    Definition Classes
    IterableOnceOps
  97. def step: xml.XmlPath
  98. def stepper[S <: Stepper[_]](implicit shape: StepperShape[xml.XmlPath, S]): S
    Definition Classes
    IterableOnce
  99. def sum[B >: xml.XmlPath](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  100. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  101. def take(n: Int): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  102. def takeWhile(p: (xml.XmlPath) => Boolean): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  103. def tapEach[U](f: (xml.XmlPath) => U): Iterator[xml.XmlPath]
    Definition Classes
    Iterator → IterableOnceOps
  104. def to[C1](factory: Factory[xml.XmlPath, C1]): C1
    Definition Classes
    IterableOnceOps
  105. def toArray[B >: xml.XmlPath](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  106. final def toBuffer[B >: xml.XmlPath]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  107. def toIndexedSeq: IndexedSeq[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  108. def toList: List[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  109. def toMap[K, V](implicit ev: <:<[xml.XmlPath, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  110. def toSeq: Seq[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  111. def toSet[B >: xml.XmlPath]: Set[B]
    Definition Classes
    IterableOnceOps
  112. def toString(): String
    Definition Classes
    Iterator → AnyRef → Any
  113. def toVector: Vector[xml.XmlPath]
    Definition Classes
    IterableOnceOps
  114. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  115. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  116. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  117. def withFilter(p: (xml.XmlPath) => Boolean): Iterator[xml.XmlPath]
    Definition Classes
    Iterator
  118. def zip[B](that: IterableOnce[B]): Iterator[(xml.XmlPath, B)]
    Definition Classes
    Iterator
  119. def zipAll[A1 >: xml.XmlPath, B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]
    Definition Classes
    Iterator
  120. def zipWithIndex: Iterator[(xml.XmlPath, Int)]
    Definition Classes
    Iterator → IterableOnceOps

Deprecated Value Members

  1. final def /:[B](z: B)(op: (B, xml.XmlPath) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  2. final def :\[B](z: B)(op: (xml.XmlPath, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  3. def aggregate[B](z: => B)(seqop: (B, xml.XmlPath) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  4. final def copyToBuffer[B >: xml.XmlPath](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  5. final def hasDefiniteSize: Boolean
    Definition Classes
    Iterator → IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) hasDefiniteSize on Iterator is the same as isEmpty

  6. def scanRight[B](z: B)(op: (xml.XmlPath, B) => B): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Call scanRight on an Iterable instead.

  7. def seq: Iterate.this.type
    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterator.seq always returns the iterator itself

  8. final def toIterator: Iterator[xml.XmlPath]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  9. final def toStream: Stream[xml.XmlPath]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

Inherited from Iterator[xml.XmlPath]

Inherited from IterableOnceOps[xml.XmlPath, Iterator, Iterator[xml.XmlPath]]

Inherited from IterableOnce[xml.XmlPath]

Inherited from AnyRef

Inherited from Any

Ungrouped