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.
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"
;
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.
We insist we're only equal to other xml.Equality
implementors,
which heads off a lot of inconsistency up front.
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.
Creates a list buffer as builder for this class
Creates a list buffer as builder for this class
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(nodeSeq: NodeSeq).++(that)(bf)
(nodeSeq: NodeSeq).++:(that)(bf)
(nodeSeq: NodeSeq).++:(that)(bf)
(nodeSeq: NodeSeq).+:(elem)(bf)
(nodeSeq: NodeSeq)./:(z)(op)
(nodeSeq: NodeSeq).:+(elem)(bf)
(nodeSeq: NodeSeq).:\(z)(op)
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.
(nodeSeq: NodeSeq).\(that)
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"
;
(nodeSeq: NodeSeq).\@(attributeName)
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.
(nodeSeq: NodeSeq).\\(that)
(nodeSeq: NodeSeq).addString(b)
(nodeSeq: NodeSeq).addString(b, sep)
(nodeSeq: NodeSeq).addString(b, start, sep, end)
(nodeSeq: NodeSeq).aggregate(z)(seqop, combop)
(nodeSeq: NodeSeq).andThen(k)
(nodeSeq: NodeSeq).apply(f)
(nodeSeq: NodeSeq).apply(i)
(nodeSeq: NodeSeq).applyOrElse(x, default)
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.
(nodeSeq: NodeSeq).canEqual(other)
(nodeSeq: NodeSeq).collect(pf)(bf)
(nodeSeq: NodeSeq).collectFirst(pf)
(nodeSeq: NodeSeq).combinations(n)
(nodeSeq: NodeSeq).companion
(nodeSeq: NodeSeq).compose(g)
(nodeSeq: NodeSeq).contains(elem)
(nodeSeq: NodeSeq).containsSlice(that)
(nodeSeq: NodeSeq).copyToArray(xs, start, len)
(nodeSeq: NodeSeq).copyToArray(xs)
(nodeSeq: NodeSeq).copyToArray(xs, start)
(nodeSeq: NodeSeq).copyToBuffer(dest)
(nodeSeq: NodeSeq).corresponds(that)(p)
(nodeSeq: NodeSeq).count(p)
(nodeSeq: NodeSeq).diff(that)
(nodeSeq: NodeSeq).distinct
(nodeSeq: NodeSeq).drop(n)
(nodeSeq: NodeSeq).dropRight(n)
(nodeSeq: NodeSeq).dropWhile(p)
(nodeSeq: NodeSeq).endsWith(that)
(nodeSeq: NodeSeq).equals(other)
(nodeSeq: NodeSeq).exists(p)
(nodeSeq: NodeSeq).filter(p)
(nodeSeq: MonadOps[Node]).filter(p)
(nodeSeq: NodeSeq).filterNot(p)
(nodeSeq: NodeSeq).find(p)
(nodeSeq: NodeSeq).flatMap(f)(bf)
(nodeSeq: MonadOps[Node]).flatMap(f)
(nodeSeq: NodeSeq).flatten(asTraversable)
(nodeSeq: FlattenOps[Node]).flatten
(nodeSeq: NodeSeq).fold(z)(op)
(nodeSeq: NodeSeq).foldLeft(z)(op)
(nodeSeq: NodeSeq).foldRight(z)(op)
(nodeSeq: NodeSeq).forall(p)
(nodeSeq: NodeSeq).foreach(f)
(nodeSeq: NodeSeq).genericBuilder
(nodeSeq: NodeSeq).groupBy(f)
(nodeSeq: NodeSeq).grouped(size)
(nodeSeq: NodeSeq).hasDefiniteSize
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.
(nodeSeq: NodeSeq).hashCode()
(nodeSeq: NodeSeq).head
(nodeSeq: NodeSeq).headOption
(nodeSeq: NodeSeq).indexOf(elem, from)
(nodeSeq: NodeSeq).indexOf(elem)
(nodeSeq: NodeSeq).indexOfSlice(that, from)
(nodeSeq: NodeSeq).indexOfSlice(that)
(nodeSeq: NodeSeq).indexWhere(p, from)
(nodeSeq: NodeSeq).indexWhere(p)
(nodeSeq: NodeSeq).indices
(nodeSeq: NodeSeq).init
(nodeSeq: NodeSeq).inits
(nodeSeq: NodeSeq).intersect(that)
(nodeSeq: NodeSeq).isDefinedAt(idx)
(nodeSeq: NodeSeq).isEmpty
(nodeSeq: NodeSeq).isTraversableAgain
(nodeSeq: NodeSeq).iterator
(nodeSeq: NodeSeq).last
(nodeSeq: NodeSeq).lastIndexOf(elem, end)
(nodeSeq: NodeSeq).lastIndexOf(elem)
(nodeSeq: NodeSeq).lastIndexOfSlice(that, end)
(nodeSeq: NodeSeq).lastIndexOfSlice(that)
(nodeSeq: NodeSeq).lastIndexWhere(p, end)
(nodeSeq: NodeSeq).lastIndexWhere(p)
(nodeSeq: NodeSeq).lastOption
(nodeSeq: NodeSeq).length
(nodeSeq: NodeSeq).lengthCompare(len)
(nodeSeq: NodeSeq).lift
(nodeSeq: NodeSeq).map(f)(bf)
(nodeSeq: MonadOps[Node]).map(f)
(nodeSeq: NodeSeq).max(cmp)
(nodeSeq: NodeSeq).maxBy(f)(cmp)
(nodeSeq: NodeSeq).min(cmp)
(nodeSeq: NodeSeq).minBy(f)(cmp)
(nodeSeq: NodeSeq).mkString
(nodeSeq: NodeSeq).mkString(sep)
(nodeSeq: NodeSeq).mkString(start, sep, end)
(nodeSeq: NodeSeq).nonEmpty
(nodeSeq: NodeSeq).orElse(that)
(nodeSeq: NodeSeq).padTo(len, elem)(bf)
(nodeSeq: NodeSeq).par
(nodeSeq: NodeSeq).partition(p)
(nodeSeq: NodeSeq).patch(from, patch, replaced)(bf)
(nodeSeq: NodeSeq).permutations
(nodeSeq: NodeSeq).prefixLength(p)
(nodeSeq: NodeSeq).product(num)
(nodeSeq: NodeSeq).reduce(op)
(nodeSeq: NodeSeq).reduceLeft(op)
(nodeSeq: NodeSeq).reduceLeftOption(op)
(nodeSeq: NodeSeq).reduceOption(op)
(nodeSeq: NodeSeq).reduceRight(op)
(nodeSeq: NodeSeq).reduceRightOption(op)
(nodeSeq: NodeSeq).repr
(nodeSeq: NodeSeq).reverse
(nodeSeq: NodeSeq).reverseIterator
(nodeSeq: NodeSeq).reverseMap(f)(bf)
(nodeSeq: NodeSeq).runWith(action)
(nodeSeq: NodeSeq).sameElements(that)
(nodeSeq: NodeSeq).scan(z)(op)(cbf)
(nodeSeq: NodeSeq).scanLeft(z)(op)(bf)
(nodeSeq: NodeSeq).scanRight(z)(op)(bf)
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(nodeSeq: NodeSeq).segmentLength(p, from)
(nodeSeq: NodeSeq).seq
(nodeSeq: NodeSeq).size
(nodeSeq: NodeSeq).slice(from, until)
(nodeSeq: NodeSeq).sliding(size, step)
(nodeSeq: NodeSeq).sliding(size)
(nodeSeq: NodeSeq).sortBy(f)(ord)
(nodeSeq: NodeSeq).sortWith(lt)
(nodeSeq: NodeSeq).sorted(ord)
(nodeSeq: NodeSeq).span(p)
(nodeSeq: NodeSeq).splitAt(n)
(nodeSeq: NodeSeq).startsWith(that, offset)
(nodeSeq: NodeSeq).startsWith(that)
(nodeSeq: NodeSeq).strict_!=(other)
(nodeSeq: NodeSeq).strict_==(other)
(nodeSeq: NodeSeq).stringPrefix
(nodeSeq: NodeSeq).sum(num)
(nodeSeq: NodeSeq).tail
(nodeSeq: NodeSeq).tails
(nodeSeq: NodeSeq).take(n)
(nodeSeq: NodeSeq).takeRight(n)
(nodeSeq: NodeSeq).takeWhile(p)
(nodeSeq: NodeSeq).text
(nodeSeq: NodeSeq).theSeq
(nodeSeq: NodeSeq).to(cbf)
(nodeSeq: NodeSeq).toArray(arg0)
(nodeSeq: NodeSeq).toBuffer
(nodeSeq: NodeSeq).toIndexedSeq
(nodeSeq: NodeSeq).toIterable
(nodeSeq: NodeSeq).toIterator
(nodeSeq: NodeSeq).toList
(nodeSeq: NodeSeq).toMap(ev)
(nodeSeq: NodeSeq).toSeq
(nodeSeq: NodeSeq).toSet
(nodeSeq: NodeSeq).toStream
(nodeSeq: NodeSeq).toString()
(nodeSeq: NodeSeq).toTraversable
(nodeSeq: NodeSeq).toVector
(nodeSeq: NodeSeq).transpose(asTraversable)
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(nodeSeq: NodeSeq).union(that)(bf)
(nodeSeq: NodeSeq).unzip(asPair)
(nodeSeq: NodeSeq).unzip3(asTriple)
(nodeSeq: NodeSeq).updated(index, elem)(bf)
(nodeSeq: NodeSeq).view(from, until)
(nodeSeq: NodeSeq).view
(nodeSeq: NodeSeq).withFilter(p)
(nodeSeq: MonadOps[Node]).withFilter(p)
(nodeSeq: NodeSeq).xml_!=(other)
(nodeSeq: NodeSeq).xml_==(other)
(nodeSeq: NodeSeq).xml_sameElements(that)
(nodeSeq: NodeSeq).zip(that)(bf)
(nodeSeq: NodeSeq).zipAll(that, thisElem, thatElem)(bf)
(nodeSeq: NodeSeq).zipWithIndex(bf)
This class implements a wrapper around
Seq[Node]
that adds XPath and comprehension methods.1.0