summaryrefslogtreecommitdiff
path: root/src/library/scala/xml/TopScope.scala
blob: ff3b3b7cbabbf964e670b28f8af87a08cf47b3d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2005, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |                                         **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$

package scala.xml;

case object TopScope extends NamespaceBinding(null, null, null) {

  /*
  override def contains(pre:String) = false;
  */
  override def getURI(_prefix: String) = null;

  override def getPrefix(_uri: String) = null;

  override def toString() = "";

  override def toString(stop: NamespaceBinding) = "";

  override def toString(sb: StringBuffer, ignore: NamespaceBinding) = {};

}