summaryrefslogtreecommitdiff
path: root/src/xml/scala/xml/TopScope.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/scala/xml/TopScope.scala')
-rw-r--r--src/xml/scala/xml/TopScope.scala31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/xml/scala/xml/TopScope.scala b/src/xml/scala/xml/TopScope.scala
deleted file mode 100644
index 474fbbbdb5..0000000000
--- a/src/xml/scala/xml/TopScope.scala
+++ /dev/null
@@ -1,31 +0,0 @@
-/* __ *\
-** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
-** /____/\___/_/ |_/____/_/ | | **
-** |/ **
-\* */
-
-
-package scala
-package xml
-
-/** top level namespace scope. only contains the predefined binding
- * for the "xml" prefix which is bound to
- * "http://www.w3.org/XML/1998/namespace"
- */
-object TopScope extends NamespaceBinding(null, null, null) {
-
- import XML.{ xml, namespace }
-
- override def getURI(prefix1: String): String =
- if (prefix1 == xml) namespace else null
-
- override def getPrefix(uri1: String): String =
- if (uri1 == namespace) xml else null
-
- override def toString() = ""
-
- override def buildString(stop: NamespaceBinding) = ""
- override def buildString(sb: StringBuilder, ignore: NamespaceBinding) = {}
-}