scala.xml

Text

class Text(_data: String) extends Atom[String] with Product

The class Text implements an XML node for text (PCDATA). It is used in both non-bound and bound XML representations.

go to: companion
source: Text.scala
    authors:
  1. Burak Emir

Inherited
  1. Hide All
  2. Show all
  1. Product
  2. Atom
  3. SpecialNode
  4. XMLEvent
  5. Node
  6. NodeSeq
  7. Equality
  8. Seq
  9. Seq
  10. SeqLike
  11. PartialFunction
  12. Function1
  13. Iterable
  14. Iterable
  15. IterableLike
  16. Equals
  17. Traversable
  18. Immutable
  19. Traversable
  20. GenericTraversableTemplate
  21. TraversableLike
  22. TraversableOnce
  23. FilterMonadic
  24. HasNewBuilder
  25. AnyRef
  26. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new Text(_data: String)

Type Members

  1. type Self = NodeSeq

    The type implementing this traversable

  2. class WithFilter extends FilterMonadic[A, Repr]

    A class supporting filtered operations.

Value Members

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

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ++(that: TraversableOnce[Node]): Traversable[Node]

    [use case] Concatenates this immutable sequence with the elements of a traversable collection.

  7. def ++[B >: Node, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Concatenates this immutable sequence with the elements of a traversable collection.

  8. def +:(elem: Node): Seq[Node]

    [use case] Prepends an element to this immutable sequence

  9. def +:[B >: Node, That](elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Prepends an element to this immutable sequence

  10. def /:[B](z: B)(op: (B, Node) ⇒ B): B

    Applies a binary operator to a start value and all elements of this immutable sequence, going left to right.

  11. def :+(elem: Node): Seq[Node]

    [use case] Appends an element to this immutable sequence

  12. def :+[B >: Node, That](elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Appends an element to this immutable sequence

  13. def :\[B](z: B)(op: (Node, B) ⇒ B): B

    Applies a binary operator to all elements of this immutable sequence and a start value, going right to left.

  14. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  15. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  16. def \(that: String): NodeSeq

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

  17. def \\(that: String): NodeSeq

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

  18. val _data: String

  19. def addString(b: StringBuilder): StringBuilder

    Appends all elements of this immutable sequence to a string builder.

  20. def addString(b: StringBuilder, sep: String): StringBuilder

    Appends all elements of this immutable sequence to a string builder using a separator string.

  21. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Appends all elements of this immutable sequence to a string builder using start, end, and separator strings.

  22. def andThen[C](k: (Node) ⇒ C): PartialFunction[Int, C]

    Composes this partial function with a transformation function that gets applied to results of this partial function.

  23. def apply(f: (Node) ⇒ Boolean): NodeSeq

  24. def apply(i: Int): Node

    Selects an element by its index in the immutable sequence.

  25. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  26. def attribute(uri: String, key: String): Option[Seq[Node]]

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

  27. def attribute(key: String): Option[Seq[Node]]

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

  28. def attributes: Null

    always empty@return all attributes of this node

  29. def basisForHashCode: Seq[Any]

  30. def buildString(sb: StringBuilder): StringBuilder

    Returns text, with some characters escaped according to the XML specification.

  31. def buildString(stripComments: Boolean): String

    String representation of this node

  32. def canEqual(other: Any): Boolean

    We insist we're only equal to other xml.

  33. def child: Nil

    always empty@return all children of this node

  34. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  35. def collect[B](pf: PartialFunction[Node, B]): Traversable[B]

    [use case] Builds a new collection by applying a partial function to all elements of this immutable sequence on which the function is defined.

  36. def collect[B, That](pf: PartialFunction[Node, B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Builds a new collection by applying a partial function to all elements of this immutable sequence on which the function is defined.

  37. def companion: GenericCompanion[Seq[A][A]]

    The factory companion object that builds instances of class immutable.

  38. def compose[A](g: (A) ⇒ Int): (A) ⇒ Node

    (f compose g)(x) == f(g(x))

  39. def contains(elem: Any): Boolean

    Tests whether this immutable sequence contains a given value as an element.

  40. def containsSlice[B](that: Seq[B]): Boolean

    Tests whether this immutable sequence contains a given sequence as a slice.

  41. def copyToArray(xs: Array[Node], start: Int, len: Int): Unit

    [use case] Copies elements of this immutable sequence to an array.

  42. def copyToArray[B >: Node](xs: Array[B], start: Int, len: Int): Unit

    Copies elements of this immutable sequence to an array.

  43. def copyToArray(xs: Array[Node]): Unit

    [use case] Copies values of this immutable sequence to an array.

  44. def copyToArray[B >: Node](xs: Array[B]): Unit

    Copies values of this immutable sequence to an array.

  45. def copyToArray(xs: Array[Node], start: Int): Unit

    [use case] Copies values of this immutable sequence to an array.

  46. def copyToArray[B >: Node](xs: Array[B], start: Int): Unit

    Copies values of this immutable sequence to an array.

  47. def copyToBuffer[B >: Node](dest: Buffer[B]): Unit

    Copies all elements of this immutable sequence to a buffer.

  48. def corresponds[B](that: Seq[B])(p: (Node, B) ⇒ Boolean): Boolean

    Tests whether every element of this immutable sequence relates to the corresponding element of another sequence by satisfying a test predicate.

  49. def count(p: (Node) ⇒ Boolean): Int

    Counts the number of elements in the immutable sequence which satisfy a predicate.

  50. val data: String

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

  52. def descendant_or_self: List[Node]

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

  53. def diff(that: Seq[Node]): Seq[Node]

    [use case] Computes the multiset difference between this immutable sequence and another sequence.

  54. def diff[B >: Node](that: Seq[B]): NodeSeq

    Computes the multiset difference between this immutable sequence and another sequence.

  55. def distinct: NodeSeq

    Builds a new immutable sequence from this immutable sequence without any duplicate elements.

  56. def doCollectNamespaces: Boolean

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

  57. def doTransform: Boolean

  58. def drop(n: Int): NodeSeq

    Selects all elements except first n ones.

  59. def dropRight(n: Int): NodeSeq

    Selects all elements except last n ones.

  60. def dropWhile(p: (Node) ⇒ Boolean): NodeSeq

    Drops longest prefix of elements that satisfy a predicate.

  61. def elements: Iterator[Node]

  62. def endsWith[B](that: Seq[B]): Boolean

    Tests whether this immutable sequence ends with the given sequence.

  63. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  64. def equals(other: Any): Boolean

    The equality method defined in AnyRef.

  65. def equalsWith[B](that: Seq[B])(f: (Node, B) ⇒ Boolean): Boolean

    Tests whether every element of this immutable sequence relates to the corresponding element of another sequence by satisfying a test predicate.

  66. def exists(p: (Node) ⇒ Boolean): Boolean

    Tests whether a predicate holds for some of the elements of this immutable sequence.

  67. def filter(p: (Node) ⇒ Boolean): NodeSeq

    Selects all elements of this immutable sequence which satisfy a predicate.

  68. def filterNot(p: (Node) ⇒ Boolean): NodeSeq

    Selects all elements of this immutable sequence which do not satisfy a predicate.

  69. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  70. def find(p: (Node) ⇒ Boolean): Option[Node]

    Finds the first element of the immutable sequence satisfying a predicate, if any.

  71. def findIndexOf(p: (Node) ⇒ Boolean): Int

    Returns index of the first element satisfying a predicate, or -1.

  72. def findLastIndexOf(p: (Node) ⇒ Boolean): Int

    Returns index of the last element satisfying a predicate, or -1.

  73. def first: Node

  74. def firstOption: Option[Node]

    None if iterable is empty.

  75. def flatMap[B](f: (Node) ⇒ Traversable[B]): Traversable[B]

    [use case] Builds a new collection by applying a function to all elements of this immutable sequence and concatenating the results.

  76. def flatMap[B, That](f: (Node) ⇒ Traversable[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Builds a new collection by applying a function to all elements of this immutable sequence and concatenating the results.

  77. def flatten[B]: CC[B]

    [use case] Converts this immutable sequence of traversable collections into a immutable sequence in which all element collections are concatenated.

  78. def flatten[B](implicit asTraversable: (Node) ⇒ Traversable[B]): Seq[B]

    Converts this immutable sequence of traversable collections into a immutable sequence in which all element collections are concatenated.

  79. def foldLeft[B](z: B)(op: (B, Node) ⇒ B): B

    Applies a binary operator to a start value and all elements of this immutable sequence, going left to right.

  80. def foldRight[B](z: B)(op: (Node, B) ⇒ B): B

    Applies a binary operator to all elements of this immutable sequence and a start value, going right to left.

  81. def forall(p: (Node) ⇒ Boolean): Boolean

    Tests whether a predicate holds for all elements of this immutable sequence.

  82. def foreach(f: (Node) ⇒ Unit): Unit

    [use case] Applies a function f to all elements of this immutable sequence.

  83. def foreach[U](f: (Node) ⇒ U): Unit

    Applies a function f to all elements of this immutable sequence.

  84. def genericBuilder[B]: Builder[B, Seq[B]]

    The generic builder that builds instances of immutable.

  85. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  86. def getNamespace(pre: String): String

    Convenience method, same as scope.

  87. def groupBy[K](f: (Node) ⇒ K): Map[K, NodeSeq]

    Partitions this immutable sequence into a map of immutable sequences according to some discriminator function.

  88. def grouped(size: Int): Iterator[NodeSeq]

    Partitions elements in fixed size immutable sequences.

  89. def hasDefiniteSize: Boolean

    Tests whether this immutable sequence is known to have a finite size.

  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.

  91. def head: Node

    Selects the first element of this immutable sequence.

  92. def headOption: Option[Node]

    Optionally selects the first element.

  93. def indexOf(elem: Node, from: Int): Int

    [use case] Finds index of first occurrence of some value in this immutable sequence after or at some start index.

  94. def indexOf[B >: Node](elem: B, from: Int): Int

    Finds index of first occurrence of some value in this immutable sequence after or at some start index.

  95. def indexOf(elem: Node): Int

    [use case] Finds index of first occurrence of some value in this immutable sequence.

  96. def indexOf[B >: Node](elem: B): Int

    Finds index of first occurrence of some value in this immutable sequence.

  97. def indexOfSlice[B >: Node](that: Seq[B], from: Int): Int

    Finds first index after or at a start index where this immutable sequence contains a given sequence as a slice.

  98. def indexOfSlice[B >: Node](that: Seq[B]): Int

    Finds first index where this immutable sequence contains a given sequence as a slice.

  99. def indexWhere(p: (Node) ⇒ Boolean, from: Int): Int

    Finds index of the first element satisfying some predicate after or at some start index.

  100. def indexWhere(p: (Node) ⇒ Boolean): Int

    Finds index of first element satisfying some predicate.

  101. def indices: Range

    Produces the range of all indices of this sequence.

  102. def init: NodeSeq

    Selects all elements except the last.

  103. def intersect(that: Seq[Node]): Seq[Node]

    [use case] Computes the multiset intersection between this immutable sequence and another sequence.

  104. def intersect[B >: Node](that: Seq[B]): NodeSeq

    Computes the multiset intersection between this immutable sequence and another sequence.

  105. def isAtom: Boolean

    used internally.

  106. def isDefinedAt(idx: Int): Boolean

    Tests whether this immutable sequence contains given index.

  107. def isEmpty: Boolean

    Tests whether this immutable sequence is empty.

  108. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  109. def isTraversableAgain: Boolean

    Tests whether this immutable sequence can be repeatedly traversed.

  110. def iterator: Iterator[Node]

    Creates a new iterator over all elements contained in this iterable object.

  111. def label: String

    label of this node.

  112. def last: Node

    Selects the last element.

  113. def lastIndexOf(elem: Node, end: Int): Int

    [use case] Finds index of last occurrence of some value in this immutable sequence before or at a given end index.

  114. def lastIndexOf[B >: Node](elem: B, end: Int): Int

    Finds index of last occurrence of some value in this immutable sequence before or at a given end index.

  115. def lastIndexOf(elem: Node): Int

    [use case] Finds index of last occurrence of some value in this immutable sequence.

  116. def lastIndexOf[B >: Node](elem: B): Int

    Finds index of last occurrence of some value in this immutable sequence.

  117. def lastIndexOfSlice[B >: Node](that: Seq[B], end: Int): Int

    Finds last index before or at a given end index where this immutable sequence contains a given sequence as a slice.

  118. def lastIndexOfSlice[B >: Node](that: Seq[B]): Int

    Finds last index where this immutable sequence contains a given sequence as a slice.

  119. def lastIndexWhere(p: (Node) ⇒ Boolean, end: Int): Int

    Finds index of last element satisfying some predicate before or at given end index.

  120. def lastIndexWhere(p: (Node) ⇒ Boolean): Int

    Finds index of last element satisfying some predicate.

  121. def lastOption: Option[Node]

    Optionally selects the last element.

  122. def length: Int

    The length of the immutable sequence.

  123. def lengthCompare(len: Int): Int

    Compares the length of this immutable sequence to a test value.

  124. def lift: (Int) ⇒ Option[Node]

    Turns this partial function into an plain function returning an Option result.

  125. def map[B](f: (Node) ⇒ B): Traversable[B]

    [use case] Builds a new collection by applying a function to all elements of this immutable sequence.

  126. def map[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Builds a new collection by applying a function to all elements of this immutable sequence.

  127. def max: Node

    [use case] Finds the largest element.

  128. def max[B >: Node](implicit cmp: Ordering[B]): Node

    Finds the largest element.

  129. def min: Node

    [use case] Finds the smallest element.

  130. def min[B >: Node](implicit cmp: Ordering[B]): Node

    Finds the smallest element.

  131. def mkString: String

    Displays all elements of this immutable sequence in a string.

  132. def mkString(sep: String): String

    Displays all elements of this immutable sequence in a string using a separator string.

  133. def mkString(start: String, sep: String, end: String): String

    Displays all elements of this immutable sequence in a string using start, end, and separator strings.

  134. def nameToString(sb: StringBuilder): StringBuilder

    Appends qualified name of this node to StringBuilder.

  135. def namespace: Null

    always Node.

  136. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  137. def newBuilder: Builder[Node, NodeSeq]

    Creates a list buffer as builder for this class

  138. def nonEmpty: Boolean

    Tests whether the immutable sequence is not empty.

  139. def nonEmptyChildren: Seq[Node]

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

  140. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  141. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  142. def orElse[A1 <: Int, B1 >: Node](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Composes this partial function with a fallback partial function which gets applied where this partial function is not defined.

  143. def padTo(len: Int, elem: Node): Seq[Node]

    [use case] Appends an element value to this immutable sequence until a given target length is reached.

  144. def padTo[B >: Node, That](len: Int, elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Appends an element value to this immutable sequence until a given target length is reached.

  145. def partition(p: (Node) ⇒ Boolean): (NodeSeq, NodeSeq)

    Partitions this immutable sequence in two immutable sequences according to a predicate.

  146. def patch(from: Int, that: Seq[Node], replaced: Int): Seq[Node]

    [use case] Produces a new immutable sequence where a slice of elements in this immutable sequence is replaced by another sequence.

  147. def patch[B >: Node, That](from: Int, patch: Seq[B], replaced: Int)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Produces a new immutable sequence where a slice of elements in this immutable sequence is replaced by another sequence.

  148. def prefix: String

    prefix of this node

  149. def prefixLength(p: (Node) ⇒ Boolean): Int

    Returns the length of the longest prefix whose elements all satisfy some predicate.

  150. def product: Int

    [use case] Multiplies up the elements of this collection.

  151. def product[B >: Node](implicit num: Numeric[B]): B

    Multiplies up the elements of this collection.

  152. def productArity: Int

    return k for a product A(x_1,.

  153. def productElement(arg0: Int): Any

    For a product A(x_1,.

  154. def productElements: Iterator[Any]

  155. def productIterator: Iterator[Any]

    An iterator that returns all fields of this product

  156. def productPrefix: String

    By default the empty string.

  157. def projection: SeqView[Node, NodeSeq]

    returns a projection that can be used to call non-strict filter,map, and flatMap methods that build projections of the collection.

  158. def reduceLeft[B >: Node](op: (B, Node) ⇒ B): B

    Applies a binary operator to all elements of this immutable sequence, going left to right.

  159. def reduceLeftOption[B >: Node](op: (B, Node) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this immutable sequence, going left to right.

  160. def reduceRight[B >: Node](op: (Node, B) ⇒ B): B

    Applies a binary operator to all elements of this immutable sequence, going right to left.

  161. def reduceRightOption[B >: Node](op: (Node, B) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this immutable sequence, going right to left.

  162. def repr: NodeSeq

    The collection of type immutable sequence underlying this TraversableLike object.

  163. def reverse: NodeSeq

    Returns new immutable sequence wih elements in reversed order.

  164. def reverseIterator: Iterator[Node]

    An iterator yielding elements in reversed order.

  165. def reverseMap[B](f: (Node) ⇒ B): Seq[B]

    [use case] Builds a new collection by applying a function to all elements of this immutable sequence and collecting the results in reversed order.

  166. def reverseMap[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Builds a new collection by applying a function to all elements of this immutable sequence and collecting the results in reversed order.

  167. def reversed: List[Node]

  168. def reversedElements: Iterator[Node]

  169. def sameElements(that: Iterable[Node]): Boolean

    [use case] Checks if the other iterable collection contains the same elements in the same order as this immutable sequence.

  170. def sameElements[B >: Node](that: Iterable[B]): Boolean

    Checks if the other iterable collection contains the same elements in the same order as this immutable sequence.

  171. def scanLeft[B, That](z: B)(op: (B, Node) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Produces a collection containing cummulative results of applying the operator going left to right.

  172. def scanRight[B, That](z: B)(op: (Node, B) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Produces a collection containing cummulative results of applying the operator going right to left.

  173. def scope: NamespaceBinding

    method returning the namespace bindings of this node.

  174. def segmentLength(p: (Node) ⇒ Boolean, from: Int): Int

    Computes length of longest segment whose elements all satisfy some predicate.

  175. def size: Int

    The size of this immutable sequence, equivalent to length.

  176. def slice(from: Int, until: Int): NodeSeq

    Selects an interval of elements.

  177. def sliding[B >: Node](size: Int, step: Int): Iterator[NodeSeq]

  178. def sliding[B >: Node](size: Int): Iterator[NodeSeq]

    Groups elements in fixed size blocks by passing a "sliding window" over them (as opposed to partitioning them, as is done in grouped.

  179. def sortBy[B](f: (Node) ⇒ B)(implicit ord: Ordering[B]): NodeSeq

    Sorts this immutable.

  180. def sortWith(lt: (Node, Node) ⇒ Boolean): NodeSeq

    Sorts this immutable sequence according to a comparison function.

  181. def sorted[B >: Node](implicit ord: Ordering[B]): NodeSeq

    Sorts this immutable sequence according to an Ordering.

  182. def span(p: (Node) ⇒ Boolean): (NodeSeq, NodeSeq)

    Splits this immutable sequence into a prefix/suffix pair according to a predicate.

  183. def splitAt(n: Int): (NodeSeq, NodeSeq)

    Splits this immutable sequence into two at a given position.

  184. def startsWith[B](that: Seq[B]): Boolean

    Tests whether this immutable sequence starts with the given sequence.

  185. def startsWith[B](that: Seq[B], offset: Int): Boolean

    Tests whether this immutable sequence contains the given sequence at a given index.

  186. def strict_!=(other: Equality): Boolean

  187. def strict_==(other: Equality): Boolean

  188. def stringPrefix: String

    Defines the prefix of this object's toString representation.

  189. def sum: Int

    [use case] Sums up the elements of this collection.

  190. def sum[B >: Node](implicit num: Numeric[B]): B

    Sums up the elements of this collection.

  191. def synchronized[T0](arg0: T0): T0

  192. def tail: NodeSeq

    Selects all elements except the first.

  193. def take(n: Int): NodeSeq

    Selects first n elements.

  194. def takeRight(n: Int): NodeSeq

    Selects last n elements.

  195. def takeWhile(p: (Node) ⇒ Boolean): NodeSeq

    Takes longest prefix of elements that satisfy a predicate.

  196. def text: String

    Returns a text representation of this node.

  197. def theSeq: Seq[Node]

    returns a sequence consisting of only this node

  198. def thisCollection: Seq[Node]

    The underlying collection seen as an instance of immutable.Seq.

  199. def toArray: Array[Node]

    [use case] Converts this immutable sequence to an array.

  200. def toArray[B >: Node](implicit arg0: ClassManifest[B]): Array[B]

    Converts this immutable sequence to an array.

  201. def toBuffer[B >: Node]: Buffer[B]

    Converts this immutable sequence to a mutable buffer.

  202. def toCollection(repr: NodeSeq): Seq[Node]

    A conversion from collections of type Repr to immutable.Seq objects.

  203. def toIndexedSeq[B >: Node]: IndexedSeq[B]

    Converts this immutable sequence to an indexed sequence.

  204. def toIterable: Iterable[Node]

    Converts this immutable sequence to an iterable collection.

  205. def toIterator: Iterator[Node]

    Returns an Iterator over the elements in this immutable sequence.

  206. def toList: List[Node]

    Converts this immutable sequence to a list.

  207. def toMap[T, U](implicit ev: <:<[Node, (T, U)]): Map[T, U]

    Converts this immutable sequence to a map.

  208. def toSeq: Seq[Node]

    Converts this immutable sequence to a sequence.

  209. def toSet[B >: Node]: Set[B]

    Converts this immutable sequence to a set.

  210. def toStream: Stream[Node]

    Converts this immutable sequence to a stream.

  211. def toString(): String

    Same as toString(false).

  212. def toTraversable: Traversable[Node]

    Converts this immutable sequence to an unspecified Traversable.

  213. def transpose[B](implicit asTraversable: (Node) ⇒ Traversable[B]): Seq[Seq[B]]

    Transposes this immutable sequence of traversable collections into a immutable sequence of immutable sequences.

  214. def union(that: Seq[Node]): Seq[Node]

    [use case] Produces a new sequence which contains all elements of this immutable sequence and also all elements of a given sequence.

  215. def union[B >: Node, That](that: Seq[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Produces a new sequence which contains all elements of this immutable sequence and also all elements of a given sequence.

  216. def unzip[A1, A2](implicit asPair: (Node) ⇒ (A1, A2)): (Seq[A1], Seq[A2])

    Converts this immutable sequence of pairs into two collections of the first and second halfs of each pair.

  217. def updated(index: Int, elem: Node): Seq[Node]

    [use case] A copy of this immutable sequence with one single replaced element.

  218. def updated[B >: Node, That](index: Int, elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    A copy of this immutable sequence with one single replaced element.

  219. def view(from: Int, until: Int): SeqView[Node, NodeSeq]

    Creates a non-strict view of a slice of this immutable sequence.

  220. def view: SeqView[Node, NodeSeq]

    Creates a non-strict view of this immutable sequence.

  221. def wait(): Unit

  222. def wait(arg0: Long, arg1: Int): Unit

  223. def wait(arg0: Long): Unit

  224. def withFilter(p: (Node) ⇒ Boolean): FilterMonadic[Node, NodeSeq]

    Creates a non-strict filter of this immutable sequence.

  225. def xmlType(): TypeSymbol

    Returns a type symbol (e.

  226. def xml_!=(other: Any): Boolean

  227. def xml_==(other: Any): Boolean

  228. def xml_sameElements[A](that: Iterable[A]): Boolean

  229. def zip[B](that: Iterable[B]): Iterable[(Node, B)]

    [use case] Returns a immutable sequence formed from this immutable sequence and another iterable collection by combining corresponding elements in pairs.

  230. def zip[A1 >: Node, B, That](that: Iterable[B])(implicit bf: CanBuildFrom[NodeSeq, (A1, B), That]): That

    Returns a immutable sequence formed from this immutable sequence and another iterable collection by combining corresponding elements in pairs.

  231. def zipAll[B](that: Iterable[B], thisElem: Node, thatElem: B): Iterable[(Node, B)]

    [use case] Returns a immutable sequence formed from this immutable sequence and another iterable collection by combining corresponding elements in pairs.

  232. def zipAll[B, A1 >: Node, That](that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[NodeSeq, (A1, B), That]): That

    Returns a immutable sequence formed from this immutable sequence and another iterable collection by combining corresponding elements in pairs.

  233. def zipWithIndex: Iterable[(Node, Int)]

    [use case] Zips this immutable sequence with its indices.

  234. def zipWithIndex[A1 >: Node, That](implicit bf: CanBuildFrom[NodeSeq, (A1, Int), That]): That

    Zips this immutable sequence with its indices.