in scala/xml
class Attribute

case class Attribute(namespace: String, key: String, value: String)
extends Object
with ScalaObject
with CaseClass
with Ordered[Attribute]

An XML attribute
Author:
Burak Emir
Parameters:
namespace$$ - the namespace URI
key$$ - the local attribute name
Todo:
allow for attributes that are not strings

Field Summary
  val key: String
  val namespace: String
  val value: String

Method Summary
  def compareTo[b >: Attribute](view: (b) => Ordered[b])(that: b): Int
     Result of comparing `this' with operand `that'.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/CaseClass-class
caseArity, caseElement

Methods inherited from scala/Ordered-class
<, <=, >, >=

Field Detail

namespace

  val namespace: String

key

  val key: String

value

  val value: String
Method Detail

compareTo

  def compareTo[b >: Attribute](view: (b) => Ordered[b])(that: b): Int
Result of comparing `this' with operand `that'. returns `x' where x < 0 iff this < that x == 0 iff this == that x > 0 iff this > that