Class/Object

scala.xml

Text

Related Docs: object Text | package xml

Permalink

class Text extends Atom[String]

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

Linear Supertypes
Atom[String], Serializable, java.io.Serializable, SpecialNode, XMLEvent, Node, NodeSeq, Equality, collection.immutable.Seq[Node], collection.immutable.Iterable[Node], collection.immutable.Traversable[Node], Immutable, AbstractSeq[Node], collection.Seq[Node], SeqLike[Node, NodeSeq], GenSeq[Node], GenSeqLike[Node, NodeSeq], PartialFunction[Int, Node], (Int) ⇒ Node, AbstractIterable[Node], collection.Iterable[Node], IterableLike[Node, NodeSeq], Equals, GenIterable[Node], GenIterableLike[Node, NodeSeq], AbstractTraversable[Node], collection.Traversable[Node], GenTraversable[Node], GenericTraversableTemplate[Node, collection.immutable.Seq], TraversableLike[Node, NodeSeq], GenTraversableLike[Node, NodeSeq], Parallelizable[Node, ParSeq[Node]], collection.TraversableOnce[Node], GenTraversableOnce[Node], FilterMonadic[Node, NodeSeq], HasNewBuilder[Node, NodeSeq], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Text
  2. Atom
  3. Serializable
  4. Serializable
  5. SpecialNode
  6. XMLEvent
  7. Node
  8. NodeSeq
  9. Equality
  10. Seq
  11. Iterable
  12. Traversable
  13. Immutable
  14. AbstractSeq
  15. Seq
  16. SeqLike
  17. GenSeq
  18. GenSeqLike
  19. PartialFunction
  20. Function1
  21. AbstractIterable
  22. Iterable
  23. IterableLike
  24. Equals
  25. GenIterable
  26. GenIterableLike
  27. AbstractTraversable
  28. Traversable
  29. GenTraversable
  30. GenericTraversableTemplate
  31. TraversableLike
  32. GenTraversableLike
  33. Parallelizable
  34. TraversableOnce
  35. GenTraversableOnce
  36. FilterMonadic
  37. HasNewBuilder
  38. AnyRef
  39. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Text(data: String)

    Permalink

    data

    the text contained in this node, may not be null.

Type Members

  1. type Self = NodeSeq

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Node, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: Node, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  5. def ++:[B >: Node, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def +:[B >: Node, That](elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  7. def /:[B](z: B)(op: (B, Node) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. def :+[B >: Node, That](elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  9. def :\[B](z: B)(op: (Node, B) ⇒ B): B

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def \(that: String): NodeSeq

    Permalink

    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
  12. def \@(attributeName: String): String

    Permalink

    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

    Permalink

    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
  14. def addString(b: StringBuilder): StringBuilder

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def andThen[C](k: (Node) ⇒ C): PartialFunction[Int, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  19. def apply(f: (Node) ⇒ Boolean): NodeSeq

    Permalink
    Definition Classes
    NodeSeq
  20. def apply(i: Int): Node

    Permalink
    Definition Classes
    NodeSeq → SeqLike → GenSeqLike → Function1
  21. def applyOrElse[A1 <: Int, B1 >: Node](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. final def attribute(uri: String, key: String): Option[Seq[Node]]

    Permalink

    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
  24. final def attribute(key: String): Option[Seq[Node]]

    Permalink

    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
  25. final def attributes: Null.type

    Permalink

    always empty

    always empty

    returns

    all attributes of this node

    Definition Classes
    SpecialNodeNode
  26. def basisForHashCode: Seq[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    AtomNodeNodeSeqEquality
  27. def buildString(sb: StringBuilder): StringBuilder

    Permalink

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

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

    Definition Classes
    TextAtomSpecialNode
  28. def buildString(stripComments: Boolean): String

    Permalink

    String representation of this node

    String representation of this node

    stripComments

    if true, strips comment nodes from result

    Definition Classes
    Node
  29. def canEqual(other: Any): Boolean

    Permalink

    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
    AtomNodeNodeSeqEquality → IterableLike → Equals
  30. final def child: collection.immutable.Nil.type

    Permalink

    always empty

    always empty

    returns

    all children of this node

    Definition Classes
    SpecialNodeNode
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def collect[B, That](pf: PartialFunction[Node, B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  33. def collectFirst[B](pf: PartialFunction[Node, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  34. def combinations(n: Int): collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    SeqLike
  35. def companion: GenericCompanion[collection.immutable.Seq]

    Permalink
    Definition Classes
    Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  36. def compose[A](g: (A) ⇒ Int): (A) ⇒ Node

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  37. def contains[A1 >: Node](elem: A1): Boolean

    Permalink
    Definition Classes
    SeqLike
  38. def containsSlice[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike
  39. def copyToArray[B >: Node](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  40. def copyToArray[B >: Node](xs: Array[B]): Unit

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

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

    Permalink
    Definition Classes
    TraversableOnce
  43. def corresponds[B](that: GenSeq[B])(p: (Node, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  44. def count(p: (Node) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. val data: String

    Permalink

    the text contained in this node, may not be null.

    the text contained in this node, may not be null.

    Definition Classes
    Atom
  46. def descendant: List[Node]

    Permalink

    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
  47. def descendant_or_self: List[Node]

    Permalink

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

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

    Definition Classes
    Node
  48. def diff[B >: Node](that: GenSeq[B]): NodeSeq

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  49. def distinct: NodeSeq

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  50. final def doCollectNamespaces: Boolean

    Permalink

    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
    AtomNode
  51. final def doTransform: Boolean

    Permalink
    Definition Classes
    AtomNode
  52. def drop(n: Int): NodeSeq

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  53. def dropRight(n: Int): NodeSeq

    Permalink
    Definition Classes
    IterableLike
  54. def dropWhile(p: (Node) ⇒ Boolean): NodeSeq

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  55. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  56. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Equality → Equals → AnyRef → Any
  58. def exists(p: (Node) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  59. def filter(p: (Node) ⇒ Boolean): NodeSeq

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  60. def filterNot(p: (Node) ⇒ Boolean): NodeSeq

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  61. def finalize(): Unit

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  63. def flatMap[B, That](f: (Node) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  64. def flatten[B](implicit asTraversable: (Node) ⇒ GenTraversableOnce[B]): collection.immutable.Seq[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  65. def fold[A1 >: Node](z: A1)(op: (A1, A1) ⇒ A1): A1

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

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

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  68. def forall(p: (Node) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  69. def foreach[U](f: (Node) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  70. def genericBuilder[B]: Builder[B, collection.immutable.Seq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  71. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  72. def getNamespace(pre: String): String

    Permalink

    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
  73. def groupBy[K](f: (Node) ⇒ K): Map[K, NodeSeq]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  74. def grouped(size: Int): collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    IterableLike
  75. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  76. def hashCode(): Int

    Permalink

    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
  77. def head: Node

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  78. def headOption: Option[Node]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  79. def indexOf[B >: Node](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  80. def indexOf[B >: Node](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  81. def indexOfSlice[B >: Node](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  82. def indexOfSlice[B >: Node](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  83. def indexWhere(p: (Node) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  84. def indexWhere(p: (Node) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  85. def indices: collection.immutable.Range

    Permalink
    Definition Classes
    SeqLike
  86. def init: NodeSeq

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  87. def inits: collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    TraversableLike
  88. def intersect[B >: Node](that: GenSeq[B]): NodeSeq

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  89. def isAtom: Boolean

    Permalink

    used internally.

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

    Definition Classes
    Node
  90. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  91. def isEmpty: Boolean

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  92. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  93. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  94. def iterator: collection.Iterator[Node]

    Permalink
    Definition Classes
    NodeSeq → IterableLike → GenIterableLike
  95. def label: String

    Permalink

    label of this node.

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

    Definition Classes
    AtomNode
  96. def last: Node

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  97. def lastIndexOf[B >: Node](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  98. def lastIndexOf[B >: Node](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  99. def lastIndexOfSlice[B >: Node](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  100. def lastIndexOfSlice[B >: Node](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  101. def lastIndexWhere(p: (Node) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  102. def lastIndexWhere(p: (Node) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  103. def lastOption: Option[Node]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  104. def length: Int

    Permalink
    Definition Classes
    NodeSeq → SeqLike → GenSeqLike
  105. def lengthCompare(len: Int): Int

    Permalink
    Definition Classes
    SeqLike
  106. def lift: (Int) ⇒ Option[Node]

    Permalink
    Definition Classes
    PartialFunction
  107. def map[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  108. def max[B >: Node](implicit cmp: Ordering[B]): Node

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def nameToString(sb: StringBuilder): StringBuilder

    Permalink

    Appends qualified name of this node to StringBuilder.

    Appends qualified name of this node to StringBuilder.

    Definition Classes
    Node
  116. final def namespace: Null

    Permalink

    always Node.EmptyNamespace

    always Node.EmptyNamespace

    Definition Classes
    SpecialNodeNode
  117. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  118. def newBuilder: Builder[Node, NodeSeq]

    Permalink

    Creates a list buffer as builder for this class

    Creates a list buffer as builder for this class

    Attributes
    protected[this]
    Definition Classes
    NodeSeq → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  119. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. def nonEmptyChildren: Seq[Node]

    Permalink

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

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

    Definition Classes
    Node
  121. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  123. def orElse[A1 <: Int, B1 >: Node](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  124. def padTo[B >: Node, That](len: Int, elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  125. def par: ParSeq[Node]

    Permalink
    Definition Classes
    Parallelizable
  126. def parCombiner: Combiner[Node, ParSeq[Node]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Seq → SeqLike → Iterable → TraversableLike → Parallelizable
  127. def partition(p: (Node) ⇒ Boolean): (NodeSeq, NodeSeq)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  128. def patch[B >: Node, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  129. def permutations: collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    SeqLike
  130. def prefix: String

    Permalink

    prefix of this node

    prefix of this node

    Definition Classes
    Node
  131. def prefixLength(p: (Node) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  132. def product[B >: Node](implicit num: Numeric[B]): B

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def repr: NodeSeq

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  140. def reverse: NodeSeq

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  141. def reverseIterator: collection.Iterator[Node]

    Permalink
    Definition Classes
    SeqLike
  142. def reverseMap[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  143. def reversed: List[Node]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  144. def runWith[U](action: (Node) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  145. def sameElements[B >: Node](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  146. def scan[B >: Node, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  147. def scanLeft[B, That](z: B)(op: (B, Node) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  148. def scanRight[B, That](z: B)(op: (Node, B) ⇒ B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  149. def scope: NamespaceBinding

    Permalink

    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
    Node
  150. def segmentLength(p: (Node) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  151. def seq: collection.immutable.Seq[Node]

    Permalink
    Definition Classes
    Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  152. def size: Int

    Permalink
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  153. def slice(from: Int, until: Int): NodeSeq

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  154. def sliding(size: Int, step: Int): collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    IterableLike
  155. def sliding(size: Int): collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    IterableLike
  156. def sortBy[B](f: (Node) ⇒ B)(implicit ord: math.Ordering[B]): NodeSeq

    Permalink
    Definition Classes
    SeqLike
  157. def sortWith(lt: (Node, Node) ⇒ Boolean): NodeSeq

    Permalink
    Definition Classes
    SeqLike
  158. def sorted[B >: Node](implicit ord: math.Ordering[B]): NodeSeq

    Permalink
    Definition Classes
    SeqLike
  159. def span(p: (Node) ⇒ Boolean): (NodeSeq, NodeSeq)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  160. def splitAt(n: Int): (NodeSeq, NodeSeq)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  161. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  162. def startsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  163. def strict_!=(other: Equality): Boolean

    Permalink
    Definition Classes
    Equality
  164. def strict_==(other: Equality): Boolean

    Permalink
    Definition Classes
    AtomNodeNodeSeqEquality
  165. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  166. def sum[B >: Node](implicit num: Numeric[B]): B

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

    Permalink
    Definition Classes
    AnyRef
  168. def tail: NodeSeq

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  169. def tails: collection.Iterator[NodeSeq]

    Permalink
    Definition Classes
    TraversableLike
  170. def take(n: Int): NodeSeq

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  171. def takeRight(n: Int): NodeSeq

    Permalink
    Definition Classes
    IterableLike
  172. def takeWhile(p: (Node) ⇒ Boolean): NodeSeq

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  173. def text: String

    Permalink

    Returns a text representation of this node.

    Returns a text representation of this node. Note that this is not equivalent to the XPath node-test called text(), it is rather an implementation of the XPath function string() Martin to Burak: to do: if you make this method abstract, the compiler will now complain if there's no implementation in a subclass. Is this what we want? Note that this would break doc/DocGenator and doc/ModelToXML, with an error message like:

    doc\DocGenerator.scala:1219: error: object creation impossible, since there is a deferred declaration of method text in class Node of type => String which is not implemented in a subclass
    new SpecialNode {
    ^
    Definition Classes
    AtomNodeNodeSeq
  174. def theSeq: Seq[Node]

    Permalink

    returns a sequence consisting of only this node

    returns a sequence consisting of only this node

    Definition Classes
    NodeNodeSeq
  175. def thisCollection: collection.Seq[Node]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  176. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Node, Col[Node]]): Col[Node]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  178. def toBuffer[B >: Node]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  179. def toCollection(repr: NodeSeq): collection.Seq[Node]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  180. def toIndexedSeq: collection.immutable.IndexedSeq[Node]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  181. def toIterable: collection.Iterable[Node]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  182. def toIterator: collection.Iterator[Node]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  183. def toList: List[Node]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  185. def toSeq: collection.immutable.Seq[Node]

    Permalink
    Definition Classes
    Seq → SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  186. def toSet[B >: Node]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  187. def toStream: collection.immutable.Stream[Node]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  188. def toString(): String

    Permalink

    Same as toString(false).

    Same as toString(false).

    Definition Classes
    NodeNodeSeq → SeqLike → Function1 → TraversableLike → AnyRef → Any
  189. def toTraversable: collection.Traversable[Node]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  190. def toVector: Vector[Node]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  191. def transpose[B](implicit asTraversable: (Node) ⇒ GenTraversableOnce[B]): collection.immutable.Seq[collection.immutable.Seq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

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

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  193. def unzip[A1, A2](implicit asPair: (Node) ⇒ (A1, A2)): (collection.immutable.Seq[A1], collection.immutable.Seq[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  194. def unzip3[A1, A2, A3](implicit asTriple: (Node) ⇒ (A1, A2, A3)): (collection.immutable.Seq[A1], collection.immutable.Seq[A2], collection.immutable.Seq[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  195. def updated[B >: Node, That](index: Int, elem: B)(implicit bf: CanBuildFrom[NodeSeq, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  196. def view(from: Int, until: Int): SeqView[Node, NodeSeq]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  197. def view: SeqView[Node, NodeSeq]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  198. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  201. def withFilter(p: (Node) ⇒ Boolean): FilterMonadic[Node, NodeSeq]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  202. def xmlType(): TypeSymbol

    Permalink

    Returns a type symbol (e.g.

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

    Definition Classes
    Node
  203. final def xml_!=(other: Any): Boolean

    Permalink
    Definition Classes
    Equality
  204. final def xml_==(other: Any): Boolean

    Permalink
    Definition Classes
    Equality
  205. def xml_sameElements[A](that: Iterable[A]): Boolean

    Permalink
    Definition Classes
    NodeSeq
  206. def zip[A1 >: Node, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[NodeSeq, (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  207. def zipAll[B, A1 >: Node, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[NodeSeq, (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  208. def zipWithIndex[A1 >: Node, That](implicit bf: CanBuildFrom[NodeSeq, (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from Atom[String]

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from SpecialNode

Inherited from XMLEvent

Inherited from Node

Inherited from NodeSeq

Inherited from Equality

Inherited from collection.immutable.Seq[Node]

Inherited from collection.immutable.Iterable[Node]

Inherited from collection.immutable.Traversable[Node]

Inherited from Immutable

Inherited from AbstractSeq[Node]

Inherited from collection.Seq[Node]

Inherited from SeqLike[Node, NodeSeq]

Inherited from GenSeq[Node]

Inherited from GenSeqLike[Node, NodeSeq]

Inherited from PartialFunction[Int, Node]

Inherited from (Int) ⇒ Node

Inherited from AbstractIterable[Node]

Inherited from collection.Iterable[Node]

Inherited from IterableLike[Node, NodeSeq]

Inherited from Equals

Inherited from GenIterable[Node]

Inherited from GenIterableLike[Node, NodeSeq]

Inherited from AbstractTraversable[Node]

Inherited from collection.Traversable[Node]

Inherited from GenTraversable[Node]

Inherited from GenericTraversableTemplate[Node, collection.immutable.Seq]

Inherited from TraversableLike[Node, NodeSeq]

Inherited from GenTraversableLike[Node, NodeSeq]

Inherited from Parallelizable[Node, ParSeq[Node]]

Inherited from collection.TraversableOnce[Node]

Inherited from GenTraversableOnce[Node]

Inherited from FilterMonadic[Node, NodeSeq]

Inherited from HasNewBuilder[Node, NodeSeq]

Inherited from AnyRef

Inherited from Any

Ungrouped