public class URIID extends BaseID implements IResourceID
| Modifier and Type | Class and Description |
|---|---|
static class |
URIID.URIIDNamespace |
| Constructor and Description |
|---|
URIID() |
URIID(Namespace namespace,
java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
namespaceCompareTo(BaseID o)
|
protected boolean |
namespaceEquals(BaseID o)
Called by
Namespace.testIDEquals(BaseID, BaseID). |
protected java.lang.String |
namespaceGetName()
Called by
Namespace.getNameForID(BaseID). |
protected int |
namespaceHashCode()
Called by
Namespace.getHashCodeForID(BaseID). |
java.lang.String |
toString() |
java.net.URI |
toURI()
Convert this resource ID to a
URI. |
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm, toExternalFormclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, getName, getNamespace, hashCode, toExternalFormpublic URIID()
public URIID(Namespace namespace, java.net.URI uri)
protected int namespaceCompareTo(BaseID o)
BaseIDnamespaceCompareTo in class BaseIDo - the other ID to compare to. Will not be null.Comparable contract.protected boolean namespaceEquals(BaseID o)
BaseIDNamespace.testIDEquals(BaseID, BaseID).namespaceEquals in class BaseIDo - the other ID to test against. May be null.true if this ID is equal to the given ID.
false otherwise.protected java.lang.String namespaceGetName()
BaseIDNamespace.getNameForID(BaseID).namespaceGetName in class BaseIDnull. Value
returned should be unique within this Namespace.protected int namespaceHashCode()
BaseIDNamespace.getHashCodeForID(BaseID).namespaceHashCode in class BaseIDpublic java.net.URI toURI()
IResourceIDURI.toURI in interface IResourceIDpublic java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.Object