Class

scala.xml.pull

XMLEventReader

Related Doc: package pull

Permalink

class XMLEventReader extends AbstractIterator[XMLEvent] with ProducerConsumerIterator[XMLEvent]

Main entry point into creating an event-based XML parser. Treating this as a scala.collection.Iterator will provide access to the generated events.

Linear Supertypes
ProducerConsumerIterator[XMLEvent], AbstractIterator[XMLEvent], collection.Iterator[XMLEvent], collection.TraversableOnce[XMLEvent], GenTraversableOnce[XMLEvent], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XMLEventReader
  2. ProducerConsumerIterator
  3. AbstractIterator
  4. Iterator
  5. TraversableOnce
  6. GenTraversableOnce
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new XMLEventReader(src: Source)

    Permalink

    src

    A scala.io.Source for XML data to parse

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[collection.Seq[B]] with collection.Iterator[collection.Seq[B]]

    Permalink
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: XMLEvent](that: ⇒ GenTraversableOnce[B]): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
  4. def /:[B](z: B)(op: (B, XMLEvent) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  5. def :\[B](z: B)(op: (XMLEvent, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. val EndOfStream: POISON.type

    Permalink
  8. val MaxQueueSize: Int

    Permalink
  9. object POISON extends XMLEvent with Product with Serializable

    Permalink
    Attributes
    protected
  10. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  12. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  13. def aggregate[B](z: ⇒ B)(seqop: (B, XMLEvent) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def available(): Boolean

    Permalink
    Definition Classes
    ProducerConsumerIterator
  16. def buffered: collection.BufferedIterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def collect[B](pf: PartialFunction[XMLEvent, B]): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  19. def collectFirst[B](pf: PartialFunction[XMLEvent, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  20. def contains(elem: Any): Boolean

    Permalink
    Definition Classes
    Iterator
  21. def copyToArray[B >: XMLEvent](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  22. def copyToArray[B >: XMLEvent](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def copyToArray[B >: XMLEvent](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def copyToBuffer[B >: XMLEvent](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  25. def corresponds[B](that: GenTraversableOnce[B])(p: (XMLEvent, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator
  26. def count(p: (XMLEvent) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def drop(n: Int): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  28. def dropWhile(p: (XMLEvent) ⇒ Boolean): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  29. def duplicate: (collection.Iterator[XMLEvent], collection.Iterator[XMLEvent])

    Permalink
    Definition Classes
    Iterator
  30. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  32. def exists(p: (XMLEvent) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  33. def filter(p: (XMLEvent) ⇒ Boolean): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  34. def filterNot(p: (XMLEvent) ⇒ Boolean): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  35. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def find(p: (XMLEvent) ⇒ Boolean): Option[XMLEvent]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  37. def flatMap[B](f: (XMLEvent) ⇒ GenTraversableOnce[B]): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
  38. def fold[A1 >: XMLEvent](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def foldLeft[B](z: B)(op: (B, XMLEvent) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  40. def foldRight[B](z: B)(op: (XMLEvent, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  41. def forall(p: (XMLEvent) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  42. def foreach[U](f: (XMLEvent) ⇒ U): Unit

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  44. def grouped[B >: XMLEvent](size: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  45. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  46. def hasNext: Boolean

    Permalink
    Definition Classes
    ProducerConsumerIterator → Iterator
  47. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  48. def indexOf[B >: XMLEvent](elem: B): Int

    Permalink
    Definition Classes
    Iterator
  49. def indexWhere(p: (XMLEvent) ⇒ Boolean): Int

    Permalink
    Definition Classes
    Iterator
  50. def interruptibly[A](body: ⇒ A): Option[A]

    Permalink
    Definition Classes
    ProducerConsumerIterator
  51. def isEmpty: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  52. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  53. def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  54. def length: Int

    Permalink
    Definition Classes
    Iterator
  55. def map[B](f: (XMLEvent) ⇒ B): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
  56. def max[B >: XMLEvent](implicit cmp: Ordering[B]): XMLEvent

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def maxBy[B](f: (XMLEvent) ⇒ B)(implicit cmp: Ordering[B]): XMLEvent

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def min[B >: XMLEvent](implicit cmp: Ordering[B]): XMLEvent

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def minBy[B](f: (XMLEvent) ⇒ B)(implicit cmp: Ordering[B]): XMLEvent

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  64. def next(): XMLEvent

    Permalink
    Definition Classes
    ProducerConsumerIterator → Iterator
  65. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  68. def padTo[A1 >: XMLEvent](len: Int, elem: A1): collection.Iterator[A1]

    Permalink
    Definition Classes
    Iterator
  69. def partition(p: (XMLEvent) ⇒ Boolean): (collection.Iterator[XMLEvent], collection.Iterator[XMLEvent])

    Permalink
    Definition Classes
    Iterator
  70. def patch[B >: XMLEvent](from: Int, patchElems: collection.Iterator[B], replaced: Int): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
  71. val preserveWS: Boolean

    Permalink
  72. def produce(x: XMLEvent): Unit

    Permalink
    Definition Classes
    ProducerConsumerIterator
  73. def product[B >: XMLEvent](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def reduce[A1 >: XMLEvent](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reduceLeft[B >: XMLEvent](op: (B, XMLEvent) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  76. def reduceLeftOption[B >: XMLEvent](op: (B, XMLEvent) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def reduceOption[A1 >: XMLEvent](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduceRight[B >: XMLEvent](op: (XMLEvent, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def reduceRightOption[B >: XMLEvent](op: (XMLEvent, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def reversed: List[XMLEvent]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  81. def sameElements(that: collection.Iterator[_]): Boolean

    Permalink
    Definition Classes
    Iterator
  82. def scanLeft[B](z: B)(op: (B, XMLEvent) ⇒ B): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
  83. def scanRight[B](z: B)(op: (XMLEvent, B) ⇒ B): collection.Iterator[B]

    Permalink
    Definition Classes
    Iterator
  84. def seq: collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  85. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def slice(from: Int, until: Int): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  87. def sliding[B >: XMLEvent](size: Int, step: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  88. def span(p: (XMLEvent) ⇒ Boolean): (collection.Iterator[XMLEvent], collection.Iterator[XMLEvent])

    Permalink
    Definition Classes
    Iterator
  89. def stop(): Unit

    Permalink
  90. def sum[B >: XMLEvent](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  92. def take(n: Int): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  93. def takeWhile(p: (XMLEvent) ⇒ Boolean): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  94. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, XMLEvent, Col[XMLEvent]]): Col[XMLEvent]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def toArray[B >: XMLEvent](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toBuffer[B >: XMLEvent]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def toIndexedSeq: collection.immutable.IndexedSeq[XMLEvent]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def toIterable: collection.Iterable[XMLEvent]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toIterator: collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  100. def toList: List[XMLEvent]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def toMap[T, U](implicit ev: <:<[XMLEvent, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def toSeq: collection.Seq[XMLEvent]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. def toSet[B >: XMLEvent]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def toStream: collection.immutable.Stream[XMLEvent]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  105. def toString(): String

    Permalink
    Definition Classes
    Iterator → AnyRef → Any
  106. def toTraversable: collection.Traversable[XMLEvent]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  107. def toVector: Vector[XMLEvent]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. def withFilter(p: (XMLEvent) ⇒ Boolean): collection.Iterator[XMLEvent]

    Permalink
    Definition Classes
    Iterator
  112. def zip[B](that: collection.Iterator[B]): collection.Iterator[(XMLEvent, B)]

    Permalink
    Definition Classes
    Iterator
  113. def zipAll[B, A1 >: XMLEvent, B1 >: B](that: collection.Iterator[B], thisElem: A1, thatElem: B1): collection.Iterator[(A1, B1)]

    Permalink
    Definition Classes
    Iterator
  114. def zipWithIndex: collection.Iterator[(XMLEvent, Int)]

    Permalink
    Definition Classes
    Iterator

Inherited from AbstractIterator[XMLEvent]

Inherited from collection.Iterator[XMLEvent]

Inherited from collection.TraversableOnce[XMLEvent]

Inherited from GenTraversableOnce[XMLEvent]

Inherited from AnyRef

Inherited from Any

Ungrouped