Packages

class Elem extends Node with Serializable

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

Instance Constructors

  1. new Elem(prefix: String, label: String, attributes1: MetaData, scope: NamespaceBinding, minimizeEmpty: Boolean, child: Node*)

    prefix

    namespace prefix (may be null, but not the empty string)

    label

    the element name

    attributes1

    the attribute map

    scope

    the scope containing the namespace bindings

    minimizeEmpty

    true if this element should be serialized as minimized (i.e. "<el/>") when empty; false if it should be written out in long form.

    child

    the children of this node

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def %(updates: MetaData): Elem

    Returns a new element with updated attributes, resolving namespace uris from this element's scope.

    Returns a new element with updated attributes, resolving namespace uris from this element's scope. See MetaData.update for details.

    updates

    MetaData with new and updated attributes

    returns

    a new symbol with updated attributes

  4. final def ++(suffix: Seq[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
    Annotations
    @inline()
  5. final def ++[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  6. final def ++:[B >: Node](prefix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  7. final def +:[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def :+[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  9. final def :++[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. 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 children that are labelled with "foo";
    • this \ "_" to get a list of all child elements (wildcard);
    • this \ "@foo" to get the unprefixed attribute "foo" of this;
    • this \ "@{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
  12. 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
  13. 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", including this;
    • this \\ "_" to get a list of all elements (wildcard), including this;
    • this \\ "@foo" to get all unprefixed attributes "foo";
    • this \\ "@{uri}foo" to get all 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
  14. final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  15. final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  16. def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
    Definition Classes
    IterableOnceOps
  17. def andThen[C](k: PartialFunction[Node, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  18. def andThen[C](k: (Node) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  19. def appended(base: Node): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  20. def appended[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  21. def appendedAll(suffix: collection.IterableOnce[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  22. def appendedAll[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  23. def apply(f: (Node) => Boolean): NodeSeq
    Definition Classes
    NodeSeq
  24. def apply(i: Int): Node
    Definition Classes
    NodeSeq → SeqOps → Function1
  25. def applyOrElse[A1 <: Int, B1 >: Node](x: A1, default: (A1) => B1): B1
    Definition Classes
    PartialFunction
  26. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  27. final def attribute(uri: String, key: String): Option[collection.Seq[Node]]

    Convenience method, looks up a prefixed attribute in attributes of this node.

    Convenience method, looks up a prefixed attribute in attributes of this node. Same as attributes.getValue(uri, this, key)-

    uri

    namespace of queried attribute (may not be null).

    key

    of queried attribute.

    returns

    value of PrefixedAttribute with given namespace and given key, otherwise null.

    Definition Classes
    Node
  28. final def attribute(key: String): Option[collection.Seq[Node]]

    Convenience method, looks up an unprefixed attribute in attributes of this node.

    Convenience method, looks up an unprefixed attribute in attributes of this node. Same as attributes.getValue(key)

    key

    of queried attribute.

    returns

    value of UnprefixedAttribute with given key in attributes, if it exists, otherwise null.

    Definition Classes
    Node
  29. val attributes: MetaData

    Returns attribute meaning all attributes of this node, prefixed and unprefixed, in no particular order.

    Returns attribute meaning all attributes of this node, prefixed and unprefixed, in no particular order. In class Node, this defaults to Null (the empty attribute list).

    returns

    all attributes of this node

    Definition Classes
    ElemNode
  30. def basisForHashCode: collection.Seq[Any]
    Attributes
    protected
    Definition Classes
    ElemNodeNodeSeqEquality
  31. def buildString(stripComments: Boolean): String

    String representation of this node

    String representation of this node

    stripComments

    if true, strips comment nodes from result

    Definition Classes
    Node
  32. 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
    NodeNodeSeqEquality → Seq → Equals
  33. val child: Node*

    Returns child axis i.e.

    Returns child axis i.e. all children of this node.

    returns

    all children of this node

    Definition Classes
    ElemNode
  34. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  35. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  36. final def coll: Elem.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  37. def collect[B](pf: PartialFunction[Node, B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  38. def collectFirst[B](pf: PartialFunction[Node, B]): Option[B]
    Definition Classes
    IterableOnceOps
  39. def combinations(n: Int): collection.Iterator[NodeSeq]
    Definition Classes
    SeqOps
  40. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Node]
    Definition Classes
    PartialFunction
  41. def compose[A](g: (A) => Int): (A) => Node
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  42. def concat(suffix: collection.IterableOnce[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  43. final def concat[B >: Node](suffix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  44. def contains[A1 >: Node](elem: A1): Boolean
    Definition Classes
    SeqOps
  45. def containsSlice[B >: Node](that: collection.Seq[B]): Boolean
    Definition Classes
    SeqOps
  46. def copy(prefix: String = this.prefix, label: String = this.label, attributes: MetaData = this.attributes, scope: NamespaceBinding = this.scope, minimizeEmpty: Boolean = this.minimizeEmpty, child: collection.Seq[Node] = this.child.toSeq): Elem

    Returns a copy of this element with any supplied arguments replacing this element's value for that field.

    Returns a copy of this element with any supplied arguments replacing this element's value for that field.

    returns

    a new symbol with updated attributes

  47. def copyToArray[B >: Node](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  48. def copyToArray[B >: Node](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  49. def copyToArray[B >: Node](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
  50. def corresponds[B](that: collection.Seq[B])(p: (Node, B) => Boolean): Boolean
    Definition Classes
    SeqOps
  51. def corresponds[B](that: collection.IterableOnce[B])(p: (Node, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  52. def count(p: (Node) => Boolean): Int
    Definition Classes
    IterableOnceOps
  53. def descendant: List[Node]

    Descendant axis (all descendants of this node, not including node itself) includes all text nodes, element nodes, comments and processing instructions.

    Descendant axis (all descendants of this node, not including node itself) includes all text nodes, element nodes, comments and processing instructions.

    Definition Classes
    Node
  54. def descendant_or_self: List[Node]

    Descendant axis (all descendants of this node, including this node) includes all text nodes, element nodes, comments and processing instructions.

    Descendant axis (all descendants of this node, including this node) includes all text nodes, element nodes, comments and processing instructions.

    Definition Classes
    Node
  55. def diff[B >: Node](that: collection.Seq[B]): NodeSeq
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  56. def distinct: NodeSeq
    Definition Classes
    SeqOps
  57. def distinctBy[B](f: (Node) => B): NodeSeq
    Definition Classes
    StrictOptimizedSeqOps → StrictOptimizedSeqOps → SeqOps
  58. final def doCollectNamespaces: Boolean

    The logic formerly found in typeTag$, as best I could infer it.

    The logic formerly found in typeTag$, as best I could infer it.

    Definition Classes
    ElemNode
  59. final def doTransform: Boolean
    Definition Classes
    ElemNode
  60. def drop(n: Int): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  61. def dropRight(n: Int): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  62. def dropWhile(p: (Node) => Boolean): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  63. def elementWise: ElementWiseExtractor[Int, Node]
    Definition Classes
    PartialFunction
  64. def empty: NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq → IterableOps
  65. def endsWith[B >: Node](that: collection.Iterable[B]): Boolean
    Definition Classes
    SeqOps
  66. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. def equals(other: Any): Boolean
    Definition Classes
    Equality → Equals → AnyRef → Any
  68. def exists(p: (Node) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  69. def filter(pred: (Node) => Boolean): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  70. def filterImpl(pred: (Node) => Boolean, isFlipped: Boolean): NodeSeq
    Attributes
    protected[collection]
    Definition Classes
    StrictOptimizedIterableOps
  71. def filterNot(pred: (Node) => Boolean): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  72. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  73. def find(p: (Node) => Boolean): Option[Node]
    Definition Classes
    IterableOnceOps
  74. def findLast(p: (Node) => Boolean): Option[Node]
    Definition Classes
    SeqOps
  75. def flatMap(f: (Node) => collection.IterableOnce[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  76. def flatMap[B](f: (Node) => collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  77. def flatten[B](implicit toIterableOnce: (Node) => collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  78. def fold[A1 >: Node](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  79. def foldLeft[B](z: B)(op: (B, Node) => B): B
    Definition Classes
    IterableOnceOps
  80. def foldRight[B](z: B)(op: (Node, B) => B): B
    Definition Classes
    IterableOnceOps
  81. def forall(p: (Node) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  82. def foreach[U](f: (Node) => U): Unit
    Definition Classes
    IterableOnceOps
  83. def fromSpecific(coll: collection.IterableOnce[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq → IterableOps
  84. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  85. def getNamespace(pre: String): String

    Convenience method, same as scope.getURI(pre) but additionally checks if scope is null.

    Convenience method, same as scope.getURI(pre) but additionally checks if scope is null.

    pre

    the prefix whose namespace name we would like to obtain

    returns

    the namespace if scope != null and prefix was found, else null

    Definition Classes
    Node
  86. def groupBy[K](f: (Node) => K): Map[K, NodeSeq]
    Definition Classes
    IterableOps
  87. def groupMap[K, B](key: (Node) => K)(f: (Node) => B): Map[K, collection.immutable.Seq[B]]
    Definition Classes
    IterableOps
  88. def groupMapReduce[K, B](key: (Node) => K)(f: (Node) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  89. def grouped(size: Int): collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  90. 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
  91. def head: Node
    Definition Classes
    IterableOps
  92. def headOption: Option[Node]
    Definition Classes
    IterableOps
  93. 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")
  94. def indexOf[B >: Node](elem: B, from: Int): Int
    Definition Classes
    SeqOps
  95. 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")
  96. def indexOfSlice[B >: Node](that: collection.Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  97. 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")
  98. def indexWhere(p: (Node) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  99. def indices: collection.immutable.Range
    Definition Classes
    SeqOps
  100. def init: NodeSeq
    Definition Classes
    IterableOps
  101. def inits: collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  102. def intersect[B >: Node](that: collection.Seq[B]): NodeSeq
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  103. def isAtom: Boolean

    used internally.

    used internally. Atom/Molecule = -1 PI = -2 Comment = -3 EntityRef = -5

    Definition Classes
    Node
  104. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  105. def isEmpty: Boolean
    Definition Classes
    SeqOps → IterableOnceOps
  106. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  107. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  108. def iterableFactory: SeqFactory[collection.immutable.Seq]
    Definition Classes
    Seq → Seq → Iterable → Iterable → IterableOps
  109. def iterator: collection.Iterator[Node]
    Definition Classes
    NodeSeq → IterableOnce
  110. def knownSize: Int
    Definition Classes
    IterableOnce
  111. val label: String

    label of this node.

    label of this node. I.e. "foo" for <foo/>)

    Definition Classes
    ElemNode
  112. def last: Node
    Definition Classes
    IterableOps
  113. def lastIndexOf[B >: Node](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  114. 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")
  115. def lastIndexOfSlice[B >: Node](that: collection.Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  116. 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")
  117. def lastIndexWhere(p: (Node) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  118. def lastOption: Option[Node]
    Definition Classes
    IterableOps
  119. def lazyZip[B](that: collection.Iterable[B]): LazyZip2[Node, B, Elem.this.type]
    Definition Classes
    Iterable
  120. def length: Int
    Definition Classes
    NodeSeq → SeqOps
  121. def lengthCompare(that: collection.Iterable[_]): Int
    Definition Classes
    SeqOps
  122. def lengthCompare(len: Int): Int
    Definition Classes
    SeqOps
  123. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  124. def lift: (Int) => Option[Node]
    Definition Classes
    PartialFunction
  125. def map(f: (Node) => Node): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  126. def map[B](f: (Node) => B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  127. def max[B >: Node](implicit ord: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  128. def maxBy[B](f: (Node) => B)(implicit cmp: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  129. def maxByOption[B](f: (Node) => B)(implicit cmp: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  130. def maxOption[B >: Node](implicit ord: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  131. def min[B >: Node](implicit ord: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  132. def minBy[B](f: (Node) => B)(implicit cmp: math.Ordering[B]): Node
    Definition Classes
    IterableOnceOps
  133. def minByOption[B](f: (Node) => B)(implicit cmp: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  134. def minOption[B >: Node](implicit ord: math.Ordering[B]): Option[Node]
    Definition Classes
    IterableOnceOps
  135. val minimizeEmpty: Boolean
  136. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  137. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  138. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  139. def nameToString(sb: StringBuilder): StringBuilder

    Appends qualified name of this node to StringBuilder.

    Appends qualified name of this node to StringBuilder.

    Definition Classes
    Node
  140. def namespace: String

    convenience, same as getNamespace(this.prefix)

    convenience, same as getNamespace(this.prefix)

    Definition Classes
    Node
  141. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  142. def newSpecificBuilder: Builder[Node, NodeSeq]
    Definition Classes
    ScalaVersionSpecificNodeSeq → IterableOps
  143. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  144. def nonEmptyChildren: collection.Seq[Node]

    Children which do not stringify to "" (needed for equality)

    Children which do not stringify to "" (needed for equality)

    Definition Classes
    Node
  145. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  146. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  147. def occCounts[B](sq: collection.Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  148. def orElse[A1 <: Int, B1 >: Node](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  149. def padTo[B >: Node](len: Int, elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  150. def partition(p: (Node) => Boolean): (NodeSeq, NodeSeq)
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  151. def partitionMap[A1, A2](f: (Node) => Either[A1, A2]): (collection.immutable.Seq[A1], collection.immutable.Seq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  152. def patch[B >: Node](from: Int, other: collection.IterableOnce[B], replaced: Int): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  153. def permutations: collection.Iterator[NodeSeq]
    Definition Classes
    SeqOps
  154. val prefix: String

    prefix of this node

    prefix of this node

    Definition Classes
    ElemNode
  155. def prepended(base: Node): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  156. def prepended[B >: Node](elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  157. def prependedAll(prefix: collection.IterableOnce[Node]): NodeSeq
    Definition Classes
    ScalaVersionSpecificNodeSeq
  158. def prependedAll[B >: Node](prefix: collection.IterableOnce[B]): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  159. def product[B >: Node](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  160. def reduce[B >: Node](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  161. def reduceLeft[B >: Node](op: (B, Node) => B): B
    Definition Classes
    IterableOnceOps
  162. def reduceLeftOption[B >: Node](op: (B, Node) => B): Option[B]
    Definition Classes
    IterableOnceOps
  163. def reduceOption[B >: Node](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  164. def reduceRight[B >: Node](op: (Node, B) => B): B
    Definition Classes
    IterableOnceOps
  165. def reduceRightOption[B >: Node](op: (Node, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  166. def reverse: NodeSeq
    Definition Classes
    SeqOps
  167. def reverseIterator: collection.Iterator[Node]
    Definition Classes
    SeqOps
  168. def reversed: collection.Iterable[Node]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  169. def runWith[U](action: (Node) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  170. def sameElements[B >: Node](that: collection.IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  171. def scan[B >: Node](z: B)(op: (B, B) => B): collection.immutable.Seq[B]
    Definition Classes
    IterableOps
  172. def scanLeft[B](z: B)(op: (B, Node) => B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  173. def scanRight[B](z: B)(op: (Node, B) => B): collection.immutable.Seq[B]
    Definition Classes
    IterableOps
  174. val scope: NamespaceBinding

    method returning the namespace bindings of this node.

    method returning the namespace bindings of this node. by default, this is TopScope, which means there are no namespace bindings except the predefined one for "xml".

    Definition Classes
    ElemNode
  175. def search[B >: Node](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  176. def search[B >: Node](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    SeqOps
  177. def segmentLength(p: (Node) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  178. final def segmentLength(p: (Node) => Boolean): Int
    Definition Classes
    SeqOps
  179. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  180. final def sizeCompare(that: collection.Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  181. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  182. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  183. def slice(from: Int, until: Int): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  184. def sliding(size: Int, step: Int): collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  185. def sliding(size: Int): collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  186. def sortBy[B](f: (Node) => B)(implicit ord: Ordering[B]): NodeSeq
    Definition Classes
    SeqOps
  187. def sortWith(lt: (Node, Node) => Boolean): NodeSeq
    Definition Classes
    SeqOps
  188. def sorted[B >: Node](implicit ord: Ordering[B]): NodeSeq
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  189. def span(p: (Node) => Boolean): (NodeSeq, NodeSeq)
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  190. def splitAt(n: Int): (NodeSeq, NodeSeq)
    Definition Classes
    IterableOps → IterableOnceOps
  191. def startsWith[B >: Node](that: collection.IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  192. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Node, S]): S
    Definition Classes
    IterableOnce
  193. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[Node, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  194. final def strictOptimizedConcat[B >: Node, C2](that: collection.IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  195. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (Node) => collection.IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  196. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (Node) => collection.IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  197. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (Node) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  198. final def strictOptimizedZip[B, C2](that: collection.IterableOnce[B], b: Builder[(Node, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  199. def strict_!=(other: Equality): Boolean
    Definition Classes
    Equality
  200. def strict_==(other: Equality): Boolean
    Definition Classes
    NodeNodeSeqEquality
  201. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Seq → Iterable
  202. def sum[B >: Node](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  203. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  204. def tail: NodeSeq
    Definition Classes
    IterableOps
  205. def tails: collection.Iterator[NodeSeq]
    Definition Classes
    IterableOps
  206. def take(n: Int): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  207. def takeRight(n: Int): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  208. def takeWhile(p: (Node) => Boolean): NodeSeq
    Definition Classes
    IterableOps → IterableOnceOps
  209. def tapEach[U](f: (Node) => U): NodeSeq
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  210. def text: String

    Returns concatenation of text(n) for each child n.

    Returns concatenation of text(n) for each child n.

    Definition Classes
    ElemNodeNodeSeq
  211. def theSeq: collection.Seq[Node]

    returns a sequence consisting of only this node

    returns a sequence consisting of only this node

    Definition Classes
    NodeNodeSeq
  212. def to[C1](factory: Factory[Node, C1]): C1
    Definition Classes
    IterableOnceOps
  213. def toArray[B >: Node](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  214. final def toBuffer[B >: Node]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  215. def toIndexedSeq: collection.immutable.IndexedSeq[Node]
    Definition Classes
    IterableOnceOps
  216. final def toIterable: Elem.this.type
    Definition Classes
    Iterable → IterableOps
  217. def toList: collection.immutable.List[Node]
    Definition Classes
    IterableOnceOps
  218. def toMap[K, V](implicit ev: <:<[Node, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  219. final def toSeq: Elem.this.type
    Definition Classes
    Seq → IterableOnceOps
  220. def toSet[B >: Node]: Set[B]
    Definition Classes
    IterableOnceOps
  221. def toString(): String

    Same as toString(false).

    Same as toString(false).

    Definition Classes
    NodeNodeSeq → Seq → Function1 → Iterable → AnyRef → Any
  222. def toVector: collection.immutable.Vector[Node]
    Definition Classes
    IterableOnceOps
  223. def transpose[B](implicit asIterable: (Node) => collection.Iterable[B]): collection.immutable.Seq[collection.immutable.Seq[B]]
    Definition Classes
    IterableOps
  224. def unapply(a: Int): Option[Node]
    Definition Classes
    PartialFunction
  225. def unzip[A1, A2](implicit asPair: (Node) => (A1, A2)): (collection.immutable.Seq[A1], collection.immutable.Seq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  226. 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
  227. def updated[B >: Node](index: Int, elem: B): collection.immutable.Seq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  228. def view: SeqView[Node]
    Definition Classes
    SeqOps → IterableOps
  229. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  230. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  231. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  232. def withFilter(p: (Node) => Boolean): WithFilter[Node, [_]collection.immutable.Seq[_]]
    Definition Classes
    IterableOps
  233. def xmlType(): TypeSymbol

    Returns a type symbol (e.g.

    Returns a type symbol (e.g. DTD, XSD), default null.

    Definition Classes
    Node
  234. final def xml_!=(other: Any): Boolean
    Definition Classes
    Equality
  235. final def xml_==(other: Any): Boolean
    Definition Classes
    Equality
  236. def xml_sameElements[A](that: Iterable[A]): Boolean
    Definition Classes
    NodeSeq
  237. def zip[B](that: collection.IterableOnce[B]): collection.immutable.Seq[(Node, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  238. def zipAll[A1 >: Node, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): collection.immutable.Seq[(A1, B)]
    Definition Classes
    IterableOps
  239. 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[[_]collection.immutable.Seq[_]]
    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 hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  7. final def prefixLength(p: (Node) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  8. 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

  9. 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)

  10. def seq: Elem.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

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

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

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

  12. 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

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

    (Since version 2.13.0) Use toIterable instead

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

    (Since version 2.13.0) Use concat instead

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

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

Inherited from Node

Inherited from NodeSeq

Inherited from java.io.Serializable

Inherited from Equality

Inherited from ScalaVersionSpecificNodeSeq

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 AnyRef

Inherited from Any

Ungrouped