Scala Library
|
|
scala/xml/Elem.scala
]
class
Elem(val override
prefix : java.lang.String, val
label : java.lang.String, val override
attributes : MetaData, val override
scope : NamespaceBinding, val
child : Node*)
extends
NodeMethod Summary | |
final def
|
%
(updates : MetaData) : Elem
Returns a new element with updated attributes, resolving namespace uris from this element's scope.
See MetaData.update for details.
|
override def
|
hashCode : Int |
override def
|
text
: java.lang.String
Returns concatenation of
text(n) for each child
n . |
Methods inherited from Node | |
namespace, getNamespace, attribute, attribute, descendant, descendant_or_self, equals, theSeq, toString, toString, nameToString, xmlType |
Methods inherited from NodeSeq | |
length, elements, apply, apply, \, \\ |
Methods inherited from Seq | |
lengthCompare, size, isEmpty, concat, last, lastOption, first, firstOption, headOption, ++, isDefinedAt, lastIndexOf, findIndexOf, indexOf, map, flatMap, filter, take, drop, slice, slice, takeWhile, dropWhile, reverse, contains, subseq, toArray, toSeq, projection, equalsWith, startsWith, startsWith, endsWith, indexOf, containsSlice |
Methods inherited from Collection | |
stringPrefix |
Methods inherited from Iterable | |
partition, foreach, forall, exists, find, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, addString, copyToArray, hasDefiniteSize |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from AnyRef | |
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
override
def
hashCode : Int
Returns a hashcode. The default implementation here calls only
super.hashcode (which is the same as for objects). A more useful
implementation can be invoked by calling
Utility.hashCode(pre, label, attributes.hashCode(), child)
.
updates -
MetaData with new and updated attributesoverride
def
text : java.lang.String
text(n)
for each child
n
.
Scala Library
|
|