public class NamespaceURIPair extends java.lang.Object implements java.lang.Comparable<NamespaceURIPair>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
namespace
The namespace.
|
java.net.URI |
uri
The uri.
|
Constructor and Description |
---|
NamespaceURIPair(java.net.URI uri,
java.lang.String namespace)
Instantiates a new namespace uri pair.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NamespaceURIPair o)
Compare to.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
int |
hashCode()
Hash code.
|
public java.net.URI uri
public java.lang.String namespace
public NamespaceURIPair(java.net.URI uri, java.lang.String namespace)
uri
- the urinamespace
- the namespacepublic int compareTo(NamespaceURIPair o)
compareTo
in interface java.lang.Comparable<NamespaceURIPair>
o
- the opublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa