Packages

c

scala.xml

Document

class Document extends NodeSeq with XMLEvent with Serializable

A document information item (according to InfoSet spec). The comments are copied from the Infoset spec, only augmented with some information on the Scala types for definitions that might have no value. Also plays the role of an XMLEvent for pull parsing.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Document
  2. XMLEvent
  3. NodeSeq
  4. Equality
  5. ScalaVersionSpecificNodeSeq
  6. StrictOptimizedSeqOps
  7. StrictOptimizedSeqOps
  8. StrictOptimizedIterableOps
  9. Seq
  10. SeqOps
  11. Iterable
  12. AbstractSeq
  13. Seq
  14. Equals
  15. SeqOps
  16. PartialFunction
  17. Function1
  18. AbstractIterable
  19. Iterable
  20. Serializable
  21. Serializable
  22. IterableOps
  23. IterableOnceOps
  24. IterableOnce
  25. AnyRef
  26. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Document()

Type Members

  1. type IterableCC[X] = collection.immutable.Seq[X]
    Attributes
    protected
    Definition Classes
    IterableOps

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def ++:[B >: Node](prefix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  5. final def +:[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  6. final def :+[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  7. final def :++[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def \(that: String): NodeSeq

    Projection function, which returns elements of this sequence based on the string that.

    Projection function, which returns elements of this sequence based on the string that. Use:

    • this \ "foo" to get a list of all elements that are labelled with "foo";
    • \ "_" to get a list of all elements (wildcard);
    • ns \ "@foo" to get the unprefixed attribute "foo";
    • ns \ "@{uri}foo" to get the prefixed attribute "pre:foo" whose prefix "pre" is resolved to the namespace "uri".

    For attribute projections, the resulting scala.xml.NodeSeq attribute values are wrapped in a scala.xml.Group.

    There is no support for searching a prefixed attribute by its literal prefix.

    The document order is preserved.

    Definition Classes
    NodeSeq
  10. def \@(attributeName: String): String

    Convenience method which returns string text of the named attribute.

    Convenience method which returns string text of the named attribute. Use:

    • that \@ "foo" to get the string text of attribute "foo";
    Definition Classes
    NodeSeq
  11. def \\(that: String): NodeSeq

    Projection function, which returns elements of this sequence and of all its subsequences, based on the string that.

    Projection function, which returns elements of this sequence and of all its subsequences, based on the string that. Use:

    • this \\ 'foo to get a list of all elements that are labelled with "foo";
    • \\ "_" to get a list of all elements (wildcard);
    • ns \\ "@foo" to get the unprefixed attribute "foo";
    • ns \\ "@{uri}foo" to get each prefixed attribute "pre:foo" whose prefix "pre" is resolved to the namespace "uri".

    For attribute projections, the resulting scala.xml.NodeSeq attribute values are wrapped in a scala.xml.Group.

    There is no support for searching a prefixed attribute by its literal prefix.

    The document order is preserved.

    Definition Classes
    NodeSeq
  12. final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  13. final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  14. def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
  15. var allDeclarationsProcessed: Boolean

    9.

    9. This property is not strictly speaking part of the infoset of the document. Rather it is an indication of whether the processor has read the complete DTD. Its value is a boolean. If it is false, then certain properties (indicated in their descriptions below) may be unknown. If it is true, those properties are never unknown.

  16. def andThen[C](k: (Node) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  17. def appended[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  18. def appendedAll[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  19. def apply(f: (Node) ⇒ Boolean): NodeSeq
    Definition Classes
    NodeSeq
  20. def apply(i: Int): Node
    Definition Classes
    NodeSeq → SeqOps → Function1
  21. def applyOrElse[A1 <: Int, B1 >: Node](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. var baseURI: String

    The base URI of the document entity.

  24. def basisForHashCode: collection.Seq[Any]
    Attributes
    protected
    Definition Classes
    NodeSeqEquality
  25. def canEqual(other: Any): Boolean

    We insist we're only equal to other xml.Equality implementors, which heads off a lot of inconsistency up front.

    We insist we're only equal to other xml.Equality implementors, which heads off a lot of inconsistency up front.

    Definition Classes
    DocumentNodeSeqEquality → Seq → Equals
  26. var children: collection.Seq[Node]

    An ordered list of child information items, in document order.

    An ordered list of child information items, in document order. The list contains exactly one element information item. The list also contains one processing instruction information item for each processing instruction outside the document element, and one comment information item for each comment outside the document element. Processing instructions and comments within the DTD are excluded. If there is a document type declaration, the list also contains a document type declaration information item.

  27. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  28. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws(classOf[java.lang.CloneNotSupportedException])
  29. def coll: Document.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  30. def collect[B](pf: PartialFunction[Node, B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  31. def collectFirst[B](pf: PartialFunction[Node, B]): Option[B]
    Definition Classes
    IterableOnceOps
  32. def combinations(n: Int): collection.Iterator[NodeSeq]
    Definition Classes
    SeqOps
  33. def compose[A](g: (A) ⇒ Int): (A) ⇒ Node
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  34. def concat[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  35. def contains[A1 >: Node](elem: A1): Boolean
    Definition Classes
    SeqOps
  36. def containsSlice[B](that: collection.Seq[B]): Boolean
    Definition Classes
    SeqOps
  37. def copyToArray[B >: Node](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  38. def copyToArray[B >: Node](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
  39. def copyToArray[B >: Node](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
  40. def corresponds[B](that: collection.Seq[B])(p: (Node, B) ⇒ Boolean): Boolean
    Definition Classes
    SeqOps
  41. def corresponds[B](that: collection.IterableOnce[B])(p: (Node, B) ⇒ Boolean): Boolean
    Definition Classes
    IterableOnceOps
  42. def count(p: (Node) ⇒ Boolean): Int
    Definition Classes
    IterableOnceOps
  43. def diff(that: collection.Seq[_ >: Node]): NodeSeq
    Definition Classes
    SeqOps
  44. def distinct: NodeSeq
    Definition Classes
    SeqOps
  45. def distinctBy[B](f: (Node) ⇒ B): NodeSeq
    Definition Classes
    StrictOptimizedSeqOps → StrictOptimizedSeqOps → SeqOps
  46. var docElem: Node

    The element information item corresponding to the document element.

  47. def drop(n: Int): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  48. def dropRight(n: Int): NodeSeq
    Definition Classes
    IterableOps
  49. def dropWhile(p: (Node) ⇒ Boolean): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  50. var dtd: DTD

    The dtd that comes with the document, if any

  51. var encoding: Option[String]

    The name of the character encoding scheme in which the document entity is expressed.

  52. def endsWith[B >: Node](that: collection.Iterable[B]): Boolean
    Definition Classes
    SeqOps
  53. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. def equals(other: Any): Boolean
    Definition Classes
    Equality → Equals → AnyRef → Any
  55. def exists(p: (Node) ⇒ Boolean): Boolean
    Definition Classes
    IterableOnceOps
  56. def filter(pred: (Node) ⇒ Boolean): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  57. def filterImpl(pred: (Node) ⇒ Boolean, isFlipped: Boolean): NodeSeq
    Attributes
    protected[scala.collection]
    Definition Classes
    StrictOptimizedIterableOps
  58. def filterNot(pred: (Node) ⇒ Boolean): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  59. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  60. def find(p: (Node) ⇒ Boolean): Option[Node]
    Definition Classes
    IterableOnceOps
  61. def flatMap[B](f: (Node) ⇒ collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  62. def flatten[B](implicit toIterableOnce: (Node) ⇒ collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  63. def foldLeft[B](z: B)(op: (B, Node) ⇒ B): B
    Definition Classes
    IterableOnceOps
  64. def foldRight[B](z: B)(op: (Node, B) ⇒ B): B
    Definition Classes
    IterableOnceOps
  65. def forall(p: (Node) ⇒ Boolean): Boolean
    Definition Classes
    IterableOnceOps
  66. def foreach[U](f: (Node) ⇒ U): Unit
    Definition Classes
    IterableOnceOps
  67. def fromSpecific(coll: collection.IterableOnce[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq → IterableOps
  68. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  69. def groupBy[K](f: (Node) ⇒ K): Map[K, NodeSeq]
    Definition Classes
    IterableOps
  70. def groupMap[K, B](key: (Node) ⇒ K)(f: (Node) ⇒ B): Map[K, collection.immutable.Seq[B]]
    Definition Classes
    IterableOps
  71. def groupMapReduce[K, B](key: (Node) ⇒ K)(f: (Node) ⇒ B)(reduce: (B, B) ⇒ B): Map[K, B]
    Definition Classes
    IterableOps
  72. def grouped(size: Int): collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  73. def hashCode(): Int

    It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals.

    It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.

    Definition Classes
    Equality → AnyRef → Any
  74. def head: Node
    Definition Classes
    IterableOps
  75. def headOption: Option[Node]
    Definition Classes
    IterableOps
  76. def indexOf[B >: Node](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override indexOf(elem, from) instead - indexOf(elem) calls indexOf(elem, 0)", "2.13.0")
  77. def indexOf[B >: Node](elem: B, from: Int): Int
    Definition Classes
    SeqOps
  78. def indexOfSlice[B >: Node](that: collection.Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override indexOfSlice(that, from) instead - indexOfSlice(that) calls indexOfSlice(that, 0)", "2.13.0")
  79. def indexOfSlice[B >: Node](that: collection.Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  80. def indexWhere(p: (Node) ⇒ Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override indexWhere(p, from) instead - indexWhere(p) calls indexWhere(p, 0)", "2.13.0")
  81. def indexWhere(p: (Node) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqOps
  82. def indices: collection.immutable.Range
    Definition Classes
    SeqOps
  83. def init: NodeSeq
    Definition Classes
    IterableOps
  84. def inits: collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  85. def intersect(that: collection.Seq[_ >: Node]): NodeSeq
    Definition Classes
    SeqOps
  86. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  87. def isEmpty: Boolean
    Definition Classes
    SeqOps → IterableOnceOps
  88. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  89. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  90. def iterableFactory: SeqFactory[IterableCC]
    Definition Classes
    Seq → Seq → Iterable → Iterable → IterableOps
  91. def iterator: collection.Iterator[Node]
    Definition Classes
    NodeSeq → IterableOnce
  92. def knownSize: Int
    Definition Classes
    IterableOnceOps
  93. def last: Node
    Definition Classes
    IterableOps
  94. def lastIndexOf[B >: Node](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  95. def lastIndexOfSlice[B >: Node](that: collection.Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override lastIndexOfSlice(that, end) instead - lastIndexOfSlice(that) calls lastIndexOfSlice(that, Int.MaxValue)", "2.13.0")
  96. def lastIndexOfSlice[B >: Node](that: collection.Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  97. def lastIndexWhere(p: (Node) ⇒ Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding("Override lastIndexWhere(p, end) instead - lastIndexWhere(p) calls lastIndexWhere(p, Int.MaxValue)", "2.13.0")
  98. def lastIndexWhere(p: (Node) ⇒ Boolean, end: Int): Int
    Definition Classes
    SeqOps
  99. def lastOption: Option[Node]
    Definition Classes
    IterableOps
  100. def lazyZip[B](that: collection.Iterable[B]): LazyZip2[Node, B, Document.this.type]
    Definition Classes
    Iterable
  101. def length: Int
    Definition Classes
    NodeSeq → SeqOps
  102. def lengthCompare(len: Int): Int
    Definition Classes
    SeqOps
  103. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  104. def lift: (Int) ⇒ Option[Node]
    Definition Classes
    PartialFunction
  105. def map[B](f: (Node) ⇒ B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  106. def max[B >: Node](implicit ord: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  107. def maxBy[B](f: (Node) ⇒ B)(implicit cmp: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  108. def maxByOption[B](f: (Node) ⇒ B)(implicit cmp: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  109. def maxOption[B >: Node](implicit ord: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  110. def min[B >: Node](implicit ord: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  111. def minBy[B](f: (Node) ⇒ B)(implicit cmp: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  112. def minByOption[B](f: (Node) ⇒ B)(implicit cmp: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  113. def minOption[B >: Node](implicit ord: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  114. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  115. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  116. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  117. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  118. def newSpecificBuilder(): Builder[Node, NodeSeq]
    Definition Classes
    ScalaVersionSpecificNodeSeq → IterableOps
  119. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  120. def notations: collection.Seq[NotationDecl]

    An unordered set of notation information items, one for each notation declared in the DTD.

    An unordered set of notation information items, one for each notation declared in the DTD. If any notation is multiply declared, this property has no value.

  121. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  122. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  123. def orElse[A1 <: Int, B1 >: Node](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  124. def padTo[B >: Node](len: Int, elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  125. def partition(p: (Node) ⇒ Boolean): (NodeSeq, NodeSeq)
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  126. def partitionWith[A1, A2](f: (Node) ⇒ Either[A1, A2]): (collection.immutable.Seq[A1], collection.immutable.Seq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  127. def patch[B >: Node](from: Int, other: collection.IterableOnce[B], replaced: Int): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  128. def permutations: collection.Iterator[NodeSeq]
    Definition Classes
    SeqOps
  129. def prepended[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  130. def prependedAll[B >: Node](prefix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  131. def product[B >: Node](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  132. def reduce[B >: Node](op: (B, B) ⇒ B): B
    Definition Classes
    IterableOnceOps
  133. def reduceLeft[B >: Node](op: (B, Node) ⇒ B): B
    Definition Classes
    IterableOnceOps
  134. def reduceLeftOption[B >: Node](op: (B, Node) ⇒ B): Option[B]
    Definition Classes
    IterableOnceOps
  135. def reduceOption[B >: Node](op: (B, B) ⇒ B): Option[B]
    Definition Classes
    IterableOnceOps
  136. def reduceRight[B >: Node](op: (Node, B) ⇒ B): B
    Definition Classes
    IterableOnceOps
  137. def reduceRightOption[B >: Node](op: (Node, B) ⇒ B): Option[B]
    Definition Classes
    IterableOnceOps
  138. def reverse: NodeSeq
    Definition Classes
    SeqOps
  139. def reverseIterator: collection.Iterator[Node]
    Definition Classes
    SeqOps
  140. def reversed: collection.Iterable[Node]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  141. def runWith[U](action: (Node) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  142. def sameElements[B >: Node](that: collection.IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  143. def scanLeft[B](z: B)(op: (B, Node) ⇒ B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  144. def scanRight[B](z: B)(op: (Node, B) ⇒ B): collection.immutable.Seq[B]
    Definition Classes
    IterableOps
  145. def search[B >: Node](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  146. def search[B >: Node](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  147. def segmentLength(p: (Node) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqOps
  148. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  149. final def sizeCompare(_size: Int): Int
    Definition Classes
    SeqOps → IterableOps
  150. def sizeCompare(that: collection.Iterable[_]): Int
    Definition Classes
    IterableOps
  151. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  152. def slice(from: Int, until: Int): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  153. def sliding(size: Int, step: Int): collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  154. def sliding(size: Int): collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  155. def sortBy[B](f: (Node) ⇒ B)(implicit ord: Ordering[B]): NodeSeq
    Definition Classes
    SeqOps
  156. def sortWith(lt: (Node, Node) ⇒ Boolean): NodeSeq
    Definition Classes
    SeqOps
  157. def sorted[B >: Node](implicit ord: Ordering[B]): NodeSeq
    Definition Classes
    SeqOps
  158. def span(p: (Node) ⇒ Boolean): (NodeSeq, NodeSeq)
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  159. def splitAt(n: Int): (NodeSeq, NodeSeq)
    Definition Classes
    IterableOps
  160. var standAlone: Option[Boolean]

    An indication of the standalone status of the document, either true or false.

    An indication of the standalone status of the document, either true or false. This property is derived from the optional standalone document declaration in the XML declaration at the beginning of the document entity, and has no value (None) if there is no standalone document declaration.

  161. def startsWith[B >: Node](that: collection.IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  162. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[Node, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  163. final def strictOptimizedConcat[B >: Node, C2](that: collection.IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  164. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (Node) ⇒ collection.IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  165. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (Node) ⇒ collection.IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  166. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (Node) ⇒ B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  167. final def strictOptimizedZip[B, C2](that: collection.IterableOnce[B], b: Builder[(Node, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  168. def strict_!=(other: Equality): Boolean
    Definition Classes
    Equality
  169. def strict_==(other: Equality): Boolean
    Definition Classes
    NodeSeqEquality
  170. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Seq → Iterable
  171. def sum[B >: Node](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  172. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  173. def tail: NodeSeq
    Definition Classes
    IterableOps
  174. def tails: collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  175. def take(n: Int): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  176. def takeRight(n: Int): NodeSeq
    Definition Classes
    IterableOps
  177. def takeWhile(p: (Node) ⇒ Boolean): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  178. def text: String
    Definition Classes
    NodeSeq
  179. def theSeq: collection.Seq[Node]
    Definition Classes
    DocumentNodeSeq
  180. def to[C1](factory: Factory[Node, C1]): C1
    Definition Classes
    IterableOnceOps
  181. def toArray[B >: Node](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  182. final def toBuffer[B >: Node]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  183. def toIndexedSeq: collection.immutable.IndexedSeq[Node]
    Definition Classes
    IterableOnceOps
  184. final def toIterable: Document.this.type
    Definition Classes
    Iterable → IterableOps
  185. def toList: collection.immutable.List[Node]
    Definition Classes
    IterableOnceOps
  186. def toMap[K, V](implicit ev: <:<[Node, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  187. final def toSeq: Document.this.type
    Definition Classes
    Seq → IterableOnceOps
  188. def toSet[B >: Node]: Set[B]
    Definition Classes
    IterableOnceOps
  189. def toString(): String
    Definition Classes
    NodeSeq → Seq → Function1 → Iterable → AnyRef → Any
  190. def toVector: collection.immutable.Vector[Node]
    Definition Classes
    IterableOnceOps
  191. def transpose[B](implicit asIterable: (Node) ⇒ collection.Iterable[B]): collection.immutable.Seq[collection.immutable.Seq[B]]
    Definition Classes
    IterableOps
  192. def unparsedEntities: collection.Seq[EntityDecl]

    An unordered set of unparsed entity information items, one for each unparsed entity declared in the DTD.

  193. def unzip[A1, A2](implicit asPair: (Node) ⇒ (A1, A2)): (collection.immutable.Seq[A1], collection.immutable.Seq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  194. def unzip3[A1, A2, A3](implicit asTriple: (Node) ⇒ (A1, A2, A3)): (collection.immutable.Seq[A1], collection.immutable.Seq[A2], collection.immutable.Seq[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  195. def updated[B >: Node](index: Int, elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  196. var version: Option[String]

    A string representing the XML version of the document.

    A string representing the XML version of the document. This property is derived from the XML declaration optionally present at the beginning of the document entity, and has no value (None) if there is no XML declaration.

  197. def view: SeqView[Node]
    Definition Classes
    SeqOps → IterableOps
  198. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  199. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  200. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws(classOf[java.lang.InterruptedException])
  201. def withFilter(p: (Node) ⇒ Boolean): WithFilter[Node, [_]collection.immutable.Seq[_]]
    Definition Classes
    IterableOps
  202. def writeReplace(): AnyRef
    Attributes
    protected[this]
    Definition Classes
    NodeSeq → Iterable
  203. final def xml_!=(other: Any): Boolean
    Definition Classes
    Equality
  204. final def xml_==(other: Any): Boolean
    Definition Classes
    Equality
  205. def xml_sameElements[A](that: Iterable[A]): Boolean
    Definition Classes
    NodeSeq
  206. def zip[B](that: collection.IterableOnce[B]): collection.immutable.Seq[(Node, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  207. def zipAll[A1 >: Node, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): collection.immutable.Seq[(A1, B)]
    Definition Classes
    IterableOps
  208. def zipWithIndex: collection.immutable.Seq[(Node, Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

  1. final def /:[B](z: B)(op: (B, Node) ⇒ 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: (Node, 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, Node) ⇒ 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. def companion: IterableFactory[IterableCC]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

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

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

  6. def fold[A1 >: Node](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use foldLeft instead

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

    (Since version 2.13.0) Use .knownSize >=0 instead of .hasDefiniteSize

  8. final def prefixLength(p: (Node) ⇒ Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  9. final def repr: NodeSeq
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  10. def reverseMap[B](f: (Node) ⇒ B): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

  11. def scan[B >: Node](z: B)(op: (B, B) ⇒ B): collection.immutable.Seq[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use scanLeft instead

  12. def seq: Document.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  13. final def toIterator: collection.Iterator[Node]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

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

  14. final def toStream: collection.immutable.Stream[Node]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

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

  15. final def toTraversable: collection.Traversable[Node]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  16. final def union[B >: Node, That](that: collection.Seq[B]): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use concat instead

  17. final def view(from: Int, until: Int): View[Node]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from XMLEvent

Inherited from NodeSeq

Inherited from Equality

Inherited from AbstractSeq[Node]

Inherited from collection.Seq[Node]

Inherited from Equals

Inherited from PartialFunction[Int, Node]

Inherited from (Int) ⇒ Node

Inherited from AbstractIterable[Node]

Inherited from collection.Iterable[Node]

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped