in scala/xml
class AttributeSeq
-
abstract class AttributeSeq()
- extends Object
- with ScalaObject
- with Seq[Attribute]
-
Sorted linear list of XML attributes.
An attribute seq does *not* contain namespace defining attributes
like xmlns or xmlns:pref
- Author:
-
Burak Emir
Methods inherited from java/lang/Object-class
|
clone, eq, equals, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait |
sortedSeq
abstract def sortedSeq: TreeSet[Attribute]
length
final def length: Int
-
Returns the length of the sequence.
- Returns:
-
the sequence length.
elements
final def elements: Iterator[Attribute]
-
Creates a new iterator over all elements contained in this
object.
- Returns:
-
the new iterator
apply
final def apply(i: Int): Attribute
lookup
def lookup(ns: String, key: String): Option[Attribute]
%
final def %(attrs: Attribute*): AttributeSeq
-
Return a new AttributeSeq with updated or added attributes
- Parameters:
attrs
-
- Returns:
-
a new symbol with updated attributes
map
final def map(f: (Attribute) => Attribute): AttributeSeq
hashCode
override def hashCode(): Int