TopScope
top level namespace scope. only contains the predefined binding for the "xml" prefix which is bound to "http://www.w3.org/XML/1998/namespace"
Attributes
- Graph
-
- Supertypes
-
class NamespaceBindingtrait Serializabletrait Producttrait Equalitytrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
TopScope.type
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Returns some prefix that is mapped to the URI.
Returns some prefix that is mapped to the URI.
Value parameters
- _uri
-
the input URI
Attributes
- Returns
-
the prefix that is mapped to the input URI, or null if no prefix is mapped to the URI.
- Definition Classes
Attributes
- Definition Classes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
NamespaceBinding -> Any
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- NamespaceBinding
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.
Attributes
- Definition Classes
- Inherited from:
- NamespaceBinding
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
- Inherited from:
- Equality
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.
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.
Attributes
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Definition Classes
- Inherited from:
- NamespaceBinding