Methods Summary |
---|
public boolean | equals(java.lang.Object object)Returns whether this URI attribute is equivalent to the passed in
object.
To be equivalent, all of the following conditions must be true:
-
object is not null.
-
object is an instance of class URISyntax.
-
This URI attribute's underlying URI and
object 's
underlying URI are equal.
return(object != null &&
object instanceof URISyntax &&
this.uri.equals (((URISyntax) object).uri));
|
public java.net.URI | getURI()Returns this URI attribute's URI value.
return uri;
|
public int | hashCode()Returns a hashcode for this URI attribute.
return uri.hashCode();
|
public java.lang.String | toString()Returns a String identifying this URI attribute. The String is the
string representation of the attribute's underlying URI.
return uri.toString();
|
private static java.net.URI | verify(java.net.URI uri)
if (uri == null) {
throw new NullPointerException(" uri is null");
}
return uri;
|