summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2004-03-23 13:09:27 +0000
committerburaq <buraq@epfl.ch>2004-03-23 13:09:27 +0000
commit4fdc1318ccdaa00ad2d677f91d93af479955ca2b (patch)
tree7bc59ff3041d1adaa4b2c4a7d800a98ebdb2b0dd
parentc6526ff17d132cafa3d72211eada37024c0292ef (diff)
downloadscala-4fdc1318ccdaa00ad2d677f91d93af479955ca2b.tar.gz
scala-4fdc1318ccdaa00ad2d677f91d93af479955ca2b.tar.bz2
scala-4fdc1318ccdaa00ad2d677f91d93af479955ca2b.zip
obsolete
-rw-r--r--sources/scala/xml/AttributedNode.scala41
1 files changed, 0 insertions, 41 deletions
diff --git a/sources/scala/xml/AttributedNode.scala b/sources/scala/xml/AttributedNode.scala
deleted file mode 100644
index 62674586a3..0000000000
--- a/sources/scala/xml/AttributedNode.scala
+++ /dev/null
@@ -1,41 +0,0 @@
-/* __ *\
-** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2003-2004, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
-** /____/\___/_/ |_/____/_/ | | **
-** |/ **
-** $Id$
-\* */
-package scala.xml ;
-
-import scala.collection.Map;
-
-
-/** an XML node that may have attributes
- */
-trait AttributedNode extends Node {
-
- /** Returns the value for the given attribute.
- */
- final def apply(key: String): Option[String] = attributes.get(key);
-
- /** Returns a mapping from all present attributes to values.
- */
- def attributes: Map[String, String];
-
- /** Returns a new AttributedNode with updated attributes.
- */
- def %(attrs: List[Pair[String, String]]): AttributedNode;
-
- /** Returns a new AttributedNode with updated attribute.
- */
- def %(attr: Pair[String, String]): AttributedNode;
-
- /** Returns the hashcode for this node.
- */
- override def hashCode() = Utility.hashCode(label, attributes.toList.hashCode(), children);
-
- override def toXML:String = Utility.toXML(this);
-
- override def toString() = Utility.toXML(this);
-}