case class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding) extends Equality with Product with Serializable
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.
- Annotations
- @SerialVersionUID()
- Version
1.0
- Alphabetic
- By Inheritance
- NamespaceBinding
- Serializable
- Serializable
- Product
- Equality
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding)
Value Members
-
def
basisForHashCode: Seq[Any]
- Definition Classes
- NamespaceBinding → Equality
- def buildString(sb: StringBuilder, stop: NamespaceBinding): Unit
- def buildString(stop: NamespaceBinding): String
-
def
canEqual(other: Any): Boolean
We insist we're only equal to other
xml.Equality
implementors, which heads off a lot of inconsistency up front.We insist we're only equal to other
xml.Equality
implementors, which heads off a lot of inconsistency up front.- Definition Classes
- NamespaceBinding → Equality → Equals
-
def
equals(other: Any): Boolean
- Definition Classes
- Equality → Equals → AnyRef → Any
-
def
getPrefix(_uri: String): String
Returns some prefix that is mapped to the URI.
Returns some prefix that is mapped to the URI.
- _uri
the input URI
- returns
the prefix that is mapped to the input URI, or null if no prefix is mapped to the URI.
- def getURI(_prefix: String): String
-
def
hashCode(): Int
It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals.
It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.
- Definition Classes
- Equality → AnyRef → Any
- val parent: NamespaceBinding
- val prefix: String
-
def
strict_!=(other: Equality): Boolean
- Definition Classes
- Equality
-
def
strict_==(other: Equality): Boolean
- Definition Classes
- NamespaceBinding → Equality
-
def
toString(): String
- Definition Classes
- NamespaceBinding → AnyRef → Any
- val uri: String
-
final
def
xml_!=(other: Any): Boolean
- Definition Classes
- Equality
-
final
def
xml_==(other: Any): Boolean
- Definition Classes
- Equality