in scala/xml
class NamespaceBinding
-
class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding)
- extends Object
- with ScalaObject
-
Implementing classes or objects:
-
object TopScope
-
The class
NamespaceBinding
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.
- Author:
-
Burak Emir
- Version:
-
1.0
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.
- Parameters:
_uri
-
- Returns:
-
toString
override def toString(): String
toString
def toString(stop: NamespaceBinding): String
toString
def toString(sb: StringBuffer, stop: NamespaceBinding): Unit