|
Scala Library Documentation
|
|
scala/xml/Elem.scala]
class
Elem(val override prefix : String, val label : String, val override attributes : MetaData, val override scope : NamespaceBinding, val child : Node*)
extends NodeElem extends the Node class,
providing an immutable data object representing an XML element.prefix - (may be null)label - the element nameattribute - the attribute mapchild - the children of this node| Method Summary | |
final def
|
%
(attrs : MetaData) : Elem
Returns a new element with updated attributes.
|
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
|
override def
|
text
: 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 | |
| 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, 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).
attrs - ...override
def
text : String
text(n) for each child
n.|
Scala Library Documentation
|
|