Scala Library Documentation
|
|
scala/xml/NodeSeq.scala
]
abstract
class
NodeSeq
extends
Seq[Node]Seq[Node]
that
adds XPath and comprehension methods.Method Summary | |
def
|
\
(that : String) : NodeSeq
Projection function. Similar to XPath, use
this \ "foo"
to get a list of all elements of this sequence that are labelled with
"foo" . Use \ "_" as a wildcard.
The document order is preserved. |
def
|
\\
(that : String) : NodeSeq
projection function. Similar to XPath, use
this \\ 'foo
to get a list of all elements of this sequence that are labelled with
"foo" . Use \\ "_" as a wildcard.
The document order is preserved. |
def
|
apply (f : (Node) => Boolean) : NodeSeq |
def
|
apply (i : Int) : Node |
def
|
elements
: Iterator[Node]
Creates a new iterator over all elements contained in this
object.
|
override def
|
equals
(x : Any) : Boolean
structural equality
|
def
|
length
: Int
Returns the length of the sequence.
|
def
|
text : String |
abstract def
|
theSeq : Seq[Node] |
override def
|
toString : String |
Methods inherited from Seq | |
size, isEmpty, concat, ++, isDefinedAt, lastIndexOf, map, flatMap, filter, take, drop, takeWhile, dropWhile, reverse, contains, slice, subseq, toArray |
Methods inherited from Collection | |
stringPrefix |
Methods inherited from Iterable | |
foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, addString, addString, copyToArray, projection, hasDefiniteSize |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from AnyRef | |
getClass, hashCode, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
length : Int
this \ "foo"
to get a list of all elements of this sequence that are labelled with
"foo"
. Use \ "_"
as a wildcard.
The document order is preserved.that -
...this \\ 'foo
to get a list of all elements of this sequence that are labelled with
"foo"
. Use \\ "_"
as a wildcard.
The document order is preserved.that -
...override
def
toString : String
def
text : String
Scala Library Documentation
|
|