scales.xml

XmlPull

trait XmlPull extends Iterator[PullType] with DocLike

Basis for xmlpulls, next is (event, start/finish)

Linear Supertypes
DocLike, Iterator[xml.PullType], TraversableOnce[xml.PullType], GenTraversableOnce[xml.PullType], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. XmlPull
  2. DocLike
  3. Iterator
  4. TraversableOnce
  5. GenTraversableOnce
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    Definition Classes
    Iterator
  2. abstract type Token <: OptimisationToken

Abstract Value Members

  1. abstract val parser: XMLStreamReader

    Attributes
    protected[scales.xml]
  2. abstract val resourceCloser: () ⇒ Unit

    Attributes
    protected[scales.xml]
  3. abstract val strategy: MemoryOptimisationStrategy[Token]

    Why is this on a pull parser? Simple answer is by default it costs little, and by selection the user can optimise whole streams at an early and central place.

    Why is this on a pull parser? Simple answer is by default it costs little, and by selection the user can optimise whole streams at an early and central place. Optimising the stream in onQNames or another iteratee or in user code seems to go against the definition of a good design.

    Attributes
    protected[scales.xml]
  4. abstract val token: Token

    Attributes
    protected[scales.xml]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++[B >: xml.PullType](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  5. def /:[B](z: B)(op: (B, xml.PullType) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def :\[B](z: B)(op: (xml.PullType, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. def addString(b: StringBuilder): StringBuilder

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

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

    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: B)(seqop: (B, xml.PullType) ⇒ B, combop: (B, B) ⇒ B): B

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

    Definition Classes
    Any
  14. def buffered: BufferedIterator[xml.PullType]

    Definition Classes
    Iterator
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def collect[B](pf: PartialFunction[xml.PullType, B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

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

  17. def collectFirst[B](pf: PartialFunction[xml.PullType, B]): Option[B]

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

    Definition Classes
    Iterator
  19. def copyToArray[B >: xml.PullType](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: xml.PullType](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: xml.PullType](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToBuffer[B >: xml.PullType](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  23. def corresponds[B](that: GenTraversableOnce[B])(p: (xml.PullType, B) ⇒ Boolean): Boolean

    Definition Classes
    Iterator
  24. def count(p: (xml.PullType) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. var depth: Int

    If the depth is -1 then we haven't hit an element yet, and start should keep pumping until that happens.

    If the depth is -1 then we haven't hit an element yet, and start should keep pumping until that happens.

    If the depth is -1 after processing the end root (haveRoot), then we keep pumping into the endMisc

    Attributes
    protected[scales.xml]
  26. def drop(n: Int): Iterator[xml.PullType]

    Definition Classes
    Iterator
  27. def dropWhile(p: (xml.PullType) ⇒ Boolean): Iterator[xml.PullType]

    Definition Classes
    Iterator
  28. def duplicate: (Iterator[xml.PullType], Iterator[xml.PullType])

    Definition Classes
    Iterator
  29. def end: EndMisc

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

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

    Definition Classes
    AnyRef → Any
  32. def exists(p: (xml.PullType) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  33. def filter(p: (xml.PullType) ⇒ Boolean): Iterator[xml.PullType]

    Definition Classes
    Iterator
  34. def filterNot(p: (xml.PullType) ⇒ Boolean): Iterator[xml.PullType]

    Definition Classes
    Iterator
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def find(p: (xml.PullType) ⇒ Boolean): Option[xml.PullType]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  37. def flatMap[B](f: (xml.PullType) ⇒ GenTraversableOnce[B]): Iterator[B]

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  41. def forall(p: (xml.PullType) ⇒ Boolean): Boolean

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

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

    Definition Classes
    AnyRef → Any
  44. def getMisc(c: xml.PullType, in: String): xml.Misc

    Attributes
    protected[scales.xml]
  45. def grouped[B >: xml.PullType](size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  46. def hasDefiniteSize: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  47. def hasNext: Boolean

    Definition Classes
    XmlPull → Iterator
  48. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  49. var haveRoot: Boolean

    Attributes
    protected[scales.xml]
  50. def indexOf[B >: xml.PullType](elem: B): Int

    Definition Classes
    Iterator
  51. def indexWhere(p: (xml.PullType) ⇒ Boolean): Int

    Definition Classes
    Iterator
  52. def internalClose: Unit

    Attributes
    protected[scales.xml]
  53. def isEmpty: Boolean

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

    Definition Classes
    Any
  55. def isTraversableAgain: Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  56. final val it: Iterator[xml.PullType]

  57. def length: Int

    Definition Classes
    Iterator
  58. def map[B](f: (xml.PullType) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  59. def max[B >: xml.PullType](implicit cmp: Ordering[B]): xml.PullType

    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def maxBy[B](f: (xml.PullType) ⇒ B)(implicit cmp: Ordering[B]): xml.PullType

    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def min[B >: xml.PullType](implicit cmp: Ordering[B]): xml.PullType

    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def minBy[B](f: (xml.PullType) ⇒ B)(implicit cmp: Ordering[B]): xml.PullType

    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. def mkString: String

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

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

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

    Definition Classes
    AnyRef
  67. def next(): xml.PullType

    Definition Classes
    XmlPull → Iterator
  68. def nonEmpty: Boolean

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

    Definition Classes
    AnyRef
  70. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  71. def padTo[A1 >: xml.PullType](len: Int, elem: A1): Iterator[A1]

    Definition Classes
    Iterator
  72. def partition(p: (xml.PullType) ⇒ Boolean): (Iterator[xml.PullType], Iterator[xml.PullType])

    Definition Classes
    Iterator
  73. def patch[B >: xml.PullType](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Definition Classes
    Iterator
  74. def product[B >: xml.PullType](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def prolog: Prolog

    Definition Classes
    XmlPullDocLike
  76. def pumpEvent: xml.PullType

    Attributes
    protected[scales.xml]
  77. def reduce[A1 >: xml.PullType](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduceLeft[B >: xml.PullType](op: (B, xml.PullType) ⇒ B): B

    Definition Classes
    TraversableOnce
  79. def reduceLeftOption[B >: xml.PullType](op: (B, xml.PullType) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def reduceOption[A1 >: xml.PullType](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def reduceRight[B >: xml.PullType](op: (xml.PullType, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def reduceRightOption[B >: xml.PullType](op: (xml.PullType, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def reversed: List[xml.PullType]

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

    Definition Classes
    Iterator
  85. def scanLeft[B](z: B)(op: (B, xml.PullType) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  86. def scanRight[B](z: B)(op: (xml.PullType, B) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  87. def seq: Iterator[xml.PullType]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  88. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def slice(from: Int, until: Int): Iterator[xml.PullType]

    Definition Classes
    Iterator
  90. def sliding[B >: xml.PullType](size: Int, step: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  91. def span(p: (xml.PullType) ⇒ Boolean): (Iterator[xml.PullType], Iterator[xml.PullType])

    Definition Classes
    Iterator
  92. def start: Unit

    Pumps until the first elem, always collecting the prolog

    Pumps until the first elem, always collecting the prolog

    Attributes
    protected[scales.xml]
  93. def sum[B >: xml.PullType](implicit num: Numeric[B]): B

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

    Definition Classes
    AnyRef
  95. def take(n: Int): Iterator[xml.PullType]

    Definition Classes
    Iterator
  96. def takeWhile(p: (xml.PullType) ⇒ Boolean): Iterator[xml.PullType]

    Definition Classes
    Iterator
  97. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, xml.PullType, Col[xml.PullType]]): Col[xml.PullType]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def toArray[B >: xml.PullType](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toBuffer[B >: xml.PullType]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def toIndexedSeq: IndexedSeq[xml.PullType]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def toIterable: Iterable[xml.PullType]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def toIterator: Iterator[xml.PullType]

    Definition Classes
    Iterator → GenTraversableOnce
  103. def toList: List[xml.PullType]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def toMap[T, U](implicit ev: <:<[xml.PullType, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def toSeq: Seq[xml.PullType]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def toSet[B >: xml.PullType]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def toStream: Stream[xml.PullType]

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

    Definition Classes
    Iterator → AnyRef → Any
  109. def toTraversable: Traversable[xml.PullType]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  110. def toVector: Vector[xml.PullType]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  114. implicit val weAreInAParser: FromParser

  115. def withFilter(p: (xml.PullType) ⇒ Boolean): Iterator[xml.PullType]

    Definition Classes
    Iterator
  116. def zip[B](that: Iterator[B]): Iterator[(xml.PullType, B)]

    Definition Classes
    Iterator
  117. def zipAll[B, A1 >: xml.PullType, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Definition Classes
    Iterator
  118. def zipWithIndex: Iterator[(xml.PullType, Int)]

    Definition Classes
    Iterator

Deprecated Value Members

  1. def /:\[A1 >: xml.PullType](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from DocLike

Inherited from Iterator[xml.PullType]

Inherited from TraversableOnce[xml.PullType]

Inherited from GenTraversableOnce[xml.PullType]

Inherited from AnyRef

Inherited from Any

Ungrouped