|
Scala 2.4.0-RC1
|
class
HasKeyValue
extends
java.lang.Object
with
scala.ScalaObject
val hasName = new HasKeyValue("name") node match { case Node("foo", hasName(x), _) => x // foo had attribute with key "name" and with value x }
Constructor Summary | |
def
this
(key: java.lang.String)
|
Def Summary | |
def
unapplySeq
(x: scala.xml.MetaData)
: scala.Option[scala.Seq[scala.xml.Node]]
|
Constructor Detail |
Def Detail |