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, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait |
sortedSeq
abstract def sortedSeq: TreeSet[Attribute]
equals
override def equals(x: Any): Boolean
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 removed attributes
Only namespace and label are regarded
- Parameters:
attrs
-
the attributes to be removed
- Returns:
-
a new AttributeSeq without attributes from attrs
%
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
toMap
def toMap: Map[Tuple2[String,String],Attribute]