in scala/xml
class NamespaceBinding
-
class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding)
- extends Object
- with ScalaObject
-
Implementing classes or objects:
-
object TopScope
-
represents namespace bindings and scopes. The binding for the
default namespace is treated as a null prefix. the absent namespace is
represented with the null uri. Neither prefix nor uri may be empty,
which is not checked.
Methods inherited from java/lang/Object-class
|
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, wait, wait, wait |
prefix
val prefix: String
uri
val uri: String
parent
val parent: NamespaceBinding
getURI
def getURI(_prefix: String): String
getPrefix
def getPrefix(_uri: String): String
-
returns some prefix that is mapped to the prefix,
toString
override def toString(): String
toString
def toString(stop: NamespaceBinding): String
toString
def toString(sb: StringBuffer, stop: NamespaceBinding): Unit